/**
 * Authentication Forms Styles
 * Styles for login and registration forms
 *
 * @package    Magazines_Collection
 * @since      0.0.54
 */

/* Header Button Styles */
.user-info .btn-login,
.user-info .btn-signup {
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.user-info .btn-login {
    color: #667eea;
    background: transparent;
    border: 1px solid #667eea;
}

.user-info .btn-login:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.user-info .btn-signup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.user-info .btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Auth Container */
.auth-container {
    max-width: 480px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.auth-form-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Auth Form */
.auth-form .form-field {
    margin-bottom: 1.5rem;
}

.auth-form .form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.95rem;
}

.auth-form .form-field input[type="text"],
.auth-form .form-field input[type="email"],
.auth-form .form-field input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form .form-field input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.auth-form .form-field .description {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

.auth-form .form-field.form-checkbox {
    margin-bottom: 1rem;
}

.auth-form .form-field.form-checkbox label {
    display: flex;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
}

.auth-form .form-field.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    cursor: pointer;
}

/* Form Actions */
.auth-form .form-actions {
    margin-top: 2rem;
}

.auth-form .button-large {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.auth-form .button-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.auth-form .button-large:active {
    transform: translateY(0);
}

/* Auth Footer */
.auth-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.auth-link {
    margin: 0.75rem 0;
    font-size: 0.95rem;
    color: #666;
}

.auth-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-link a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Form Errors */
.auth-form-wrapper .form-errors {
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.auth-form-wrapper .form-errors p {
    color: #c00;
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

/* Form Success */
.auth-form-wrapper .form-success {
    background: #efe;
    border: 1px solid #cfc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.auth-form-wrapper .form-success p {
    color: #060;
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

/* Verification Page Styles */
.verification-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.email-highlight {
    font-weight: 600;
    color: #667eea;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.verification-instructions {
    background: #f8f9ff;
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.verification-instructions h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

.verification-instructions ol {
    margin: 0;
    padding-left: 1.5rem;
}

.verification-instructions li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.verification-help {
    background: #fffef8;
    border-left: 4px solid #f9a825;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.verification-help strong {
    display: block;
    margin-bottom: 0.75rem;
    color: #333;
}

.verification-help ul {
    margin: 0;
    padding-left: 1.5rem;
}

.verification-help li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.resend-section {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid #e0e0e0;
    margin-top: 1.5rem;
}

.resend-section p {
    margin-bottom: 1rem;
    font-weight: 500;
}

.resend-section .button-secondary {
    background: #fff;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resend-section .button-secondary:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Required Field Indicator */
.required {
    color: #c00;
}

/* Responsive Design */
@media (max-width: 640px) {
    .auth-container {
        margin: 1.5rem auto;
    }
    
    .auth-form-wrapper {
        padding: 1.5rem;
    }
    
    .auth-header h1 {
        font-size: 1.5rem;
    }
    
    .user-info .btn-login,
    .user-info .btn-signup {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}
