/* ===================================
   AUTH MODALS STYLES
   =================================== */

.auth-modal-content {
    max-width: 480px;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.auth-header {
    padding: 2.5rem 2.5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.auth-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #a5100d 0%, #c41210 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.auth-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #171717;
    margin: 0 0 0.5rem 0;
}

.auth-subtitle {
    color: #737373;
    font-size: 1rem;
    margin: 0;
}

.auth-body {
    padding: 2.5rem;
}

.auth-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.auth-form .form-group {
    margin-bottom: 0;
}

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

.auth-form .form-input,
.auth-form .form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #171717;
    background: white;
    transition: all 0.3s ease;
}

.auth-form .form-input:focus,
.auth-form .form-select:focus {
    outline: none;
    border-color: #a5100d;
    box-shadow: 0 0 0 3px rgba(165, 16, 13, 0.1);
}

.auth-form .form-input::placeholder {
    color: #a3a3a3;
}

.password-input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #737373;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: #171717;
}

.btn-auth {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #a5100d;
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-auth:hover {
    transform: translateY(-2px);
    background: #8e0d0b;
    box-shadow: 0 12px 30px rgba(165, 16, 13, 0.35);
}

.btn-auth:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: #737373;
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}

.auth-footer {
    padding: 1.5rem 2.5rem 2.5rem;
    text-align: center;
    color: #737373;
    font-size: 0.95rem;
}

.auth-footer a {
    color: #a5100d;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-error {
    padding: 1rem;
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 0.75rem;
    color: #dc2626;
    font-size: 0.95rem;
    display: none;
}

.auth-error.show {
    display: block;
}

.auth-success {
    padding: 1rem;
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    border-radius: 0.75rem;
    color: #065f46;
    font-size: 0.95rem;
    display: none;
}

.auth-success.show {
    display: block;
}

.form-checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-checkbox-label {
    font-size: 0.95rem;
    color: #525252;
    cursor: pointer;
}

@media (max-width: 640px) {
    .auth-modal-content {
        max-width: 95%;
        margin: 1rem;
    }

    .auth-header {
        padding: 2rem 1.5rem 1rem;
    }

    .auth-title {
        font-size: 1.75rem;
    }

    .auth-body {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}