/* ===== AUTH SECTION ===== */
.auth-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
}

.auth-card {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.auth-card__header {
    text-align: center;
    padding: 2.5rem 2rem 1.5rem;
    background: linear-gradient(135deg, #1a2a44 0%, #2c3e6b 100%);
    color: #fff;
}

.auth-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(232, 160, 32, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.auth-card__icon i {
    font-size: 24px;
    color: var(--color-gold, #e8a020);
}

.auth-card__icon--otp {
    background: rgba(232, 160, 32, 0.25);
}

.auth-card__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: #fff;
}

.auth-card__subtitle {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin: 0;
}

.auth-card__email {
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-gold, #e8a020);
    direction: ltr;
}

/* ===== ALERTS ===== */
.auth-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.85rem 1.5rem;
    margin: 0 1.5rem;
    margin-top: 1.25rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

.auth-alert--success {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.auth-alert--error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.auth-alert i {
    font-size: 16px;
    flex-shrink: 0;
}

/* ===== FORM ===== */
.auth-form {
    padding: 1.5rem 2rem 2rem;
}

.auth-form__group {
    margin-bottom: 1.25rem;
}

.auth-form__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.5rem;
}

.auth-form__label i {
    color: var(--color-gold, #e8a020);
    font-size: 14px;
}

.auth-form__input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1e293b;
    transition: all 0.3s ease;
    background: #f8fafc;
    box-sizing: border-box;
}

.auth-form__input:focus {
    outline: none;
    border-color: var(--color-gold, #e8a020);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(232, 160, 32, 0.1);
}

.auth-form__input--otp {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 10px;
    padding: 1rem;
}

.auth-form__btn {
    width: 100%;
    padding: 0.9rem;
    background: var(--color-gold, #e8a020);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 160, 32, 0.3);
}

.auth-form__btn:hover {
    background: #d4911c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 160, 32, 0.4);
}

/* ===== FOOTER ===== */
.auth-card__footer {
    text-align: center;
    padding: 1.25rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.auth-card__footer p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.auth-card__footer a,
.auth-link-btn {
    color: var(--color-gold, #e8a020);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    padding: 0;
}

.auth-card__footer a:hover,
.auth-link-btn:hover {
    color: #d4911c;
    text-decoration: underline;
}

/* ===== NAVBAR AUTH BUTTONS ===== */
.btn-register {
    background: transparent;
    color: var(--color-navy, #1a2a44);
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid var(--color-gold, #e8a020);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-register:hover {
    background: var(--color-gold, #e8a020);
    color: #fff;
    transform: translateY(-2px);
}

.navbar__user-menu {
    position: relative;
    display: inline-block;
}

.navbar__user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 2px solid var(--color-gold, #e8a020);
    border-radius: 10px;
    color: var(--color-navy, #1a2a44);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar__user-btn:hover {
    background: #fff8eb;
}

.navbar__user-btn i:first-child {
    color: var(--color-gold, #e8a020);
}

.navbar__user-dropdown {
    position: absolute;
    top: 100%;
    inset-inline-end: 0;
    inset-inline-start: auto;
    min-width: 180px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
    padding: 6px;
    animation: dropdownFade 0.2s ease;
}

.navbar__user-menu::before {
    content: '';
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    inset-inline-end: 0;
    height: 10px;
}

.navbar__user-dropdown__header {
    padding: 10px 14px 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy, #1a2a44);
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 4px;
    word-break: break-word;
}

@media (min-width: 1024px) {
  .navbar__user-dropdown__header {
    display: none;
  }
}

.navbar__user-menu:hover .navbar__user-dropdown {
    display: block;
}

@media (min-width: 1024px) {
  .navbar__user-menu--open .navbar__user-dropdown {
    display: block;
  }
}

.navbar__user-dropdown__item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    color: var(--color-navy, #1a2a44);
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
    border: none;
    background: none;
    cursor: pointer;
    text-align: inherit;
    font-family: inherit;
}

.navbar__user-dropdown__item:hover {
    background: #fff8eb;
    color: var(--color-gold, #e8a020);
}

.navbar__user-dropdown__item--danger:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .auth-section {
        padding: 2rem 1rem;
    }
    .auth-card__header {
        padding: 2rem 1.5rem 1.25rem;
    }
    .auth-form {
        padding: 1.25rem 1.5rem 1.5rem;
    }
    .auth-form__input--otp {
        font-size: 1.4rem;
        letter-spacing: 6px;
    }
}
