/* Protected Wikipedia Plugin Styles */

.pw-login-form {
    max-width: 400px;
    margin: 20px auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pw-login-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
    font-size: 24px;
}

.pw-form-group {
    margin-bottom: 20px;
}

.pw-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.pw-form-group input[type="text"],
.pw-form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.pw-form-group input[type="text"]:focus,
.pw-form-group input[type="password"]:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0,115,170,0.3);
}

.pw-form-group input[type="checkbox"] {
    margin-right: 8px;
}

.pw-form-group button {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pw-form-group button:hover {
    background: #005a87;
}

.pw-form-group button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#pw-login-message {
    margin-top: 15px;
    padding: 0;
}

#pw-login-message.success p {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin: 0;
}

#pw-login-message.error p {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin: 0;
}

.pw-login-success {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    text-align: center;
}

.pw-login-success .button {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.pw-login-success .button:hover {
    background: #005a87;
}

/* Responsive design */
@media (max-width: 480px) {
    .pw-login-form {
        margin: 20px 10px;
        padding: 20px;
    }
    
    .pw-login-form h3 {
        font-size: 20px;
    }
}
