/* Profi — Auth pages (login & register) */

.auth-page {
    position: relative;
    min-height: 100vh;
    padding: 1rem 0.5rem 2rem;
    overflow: hidden;
}

@media (min-width: 640px) {
    .auth-page {
        padding: 2rem 1.5rem 3rem;
    }
}

.auth-page__bg {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(197, 147, 88, 0.14), transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 80%, rgba(135, 35, 50, 0.12), transparent 50%),
        linear-gradient(165deg, #faf8f6 0%, #f5f0eb 40%, #f8f4f1 100%);
}

.dark .auth-page__bg {
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(197, 147, 88, 0.08), transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 80%, rgba(135, 35, 50, 0.15), transparent 50%),
        linear-gradient(165deg, #0f1419 0%, #151b24 50%, #121820 100%);
}

.auth-page__grid {
    position: relative;
    z-index: 1;
    max-width: 72rem;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .auth-page__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        gap: 2rem;
        min-height: calc(100vh - 10rem);
    }
}

.auth-page__grid--center {
    max-width: 28rem;
    width: 100%;
    margin: 0 auto;
    grid-template-columns: 1fr;
    min-height: auto;
}

.auth-page--center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-page--center .auth-mobile-brand--center {
    justify-content: center;
}

@media (min-width: 1024px) {
    .auth-page__grid--center {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

.auth-page__grid--choose {
    max-width: 52rem;
    width: 100%;
    margin: 0 auto;
    grid-template-columns: 1fr;
    min-height: auto;
}

@media (min-width: 1024px) {
    .auth-page__grid--choose {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

.auth-page__grid--register {
    max-width: 40rem;
    width: 100%;
    margin: 0 auto;
    grid-template-columns: 1fr;
    min-height: auto;
}

@media (min-width: 1024px) {
    .auth-page__grid--register {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}


/* Brand panel */
.auth-brand {
    display: none;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    color: #fff;
    background: linear-gradient(145deg, #5E121D 0%, #742A35 45%, #872332 100%);
    box-shadow:
        0 25px 50px -12px rgba(94, 18, 29, 0.35),
        inset 0 1px 0 rgba(197, 147, 88, 0.2);
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .auth-brand {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 2.75rem 2.5rem;
    }
}

.auth-brand::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 147, 88, 0.18) 0%, transparent 70%);
}

.auth-brand::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 50%;
    height: 50%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
}

.auth-brand__inner {
    position: relative;
    z-index: 1;
}

.auth-brand__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.auth-brand__mark {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(197, 147, 88, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #C59358;
}

.auth-brand__name {
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #f5ead8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auth-brand__tagline {
    font-size: 1.75rem;
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.auth-brand__desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    max-width: 22rem;
}

.auth-brand__features {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 1024px) {
    .auth-brand__features {
        margin-top: 0;
    }
}

.auth-brand__feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.88);
}

.auth-brand__feature-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: rgba(197, 147, 88, 0.15);
    border: 1px solid rgba(197, 147, 88, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4A86A;
}

/* Card */
.auth-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(135, 35, 50, 0.08);
    border-radius: 1.5rem;
    box-shadow:
        0 4px 6px -1px rgba(94, 18, 29, 0.04),
        0 20px 40px -12px rgba(94, 18, 29, 0.08);
    overflow: hidden;
}

.dark .auth-card {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(148, 163, 184, 0.12);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.2),
        0 20px 40px -12px rgba(0, 0, 0, 0.35);
}

.auth-card--wide {
    max-width: none;
}

.auth-card__header {
    padding: 1.25rem 1rem 1rem;
    border-bottom: 1px solid rgba(135, 35, 50, 0.06);
}

.dark .auth-card__header {
    border-bottom-color: rgba(148, 163, 184, 0.1);
}

@media (min-width: 640px) {
    .auth-card__header {
        padding: 2rem 2.25rem 1.5rem;
    }
}

.auth-card__body {
    padding: 1.25rem 1rem 1.5rem;
}

@media (min-width: 640px) {
    .auth-card__body {
        padding: 1.75rem 2.25rem 2.25rem;
    }
}

.auth-card__back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #742A35;
    transition: color 0.15s;
    margin-bottom: 0.75rem;
}

.dark .auth-card__back {
    color: #fca5a5;
}

.auth-card__back:hover {
    color: #5E121D;
}

.auth-card__title {
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.625rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #1a0a0c;
    line-height: 1.2;
}

.dark .auth-card__title {
    color: #f1f5f9;
}

@media (min-width: 640px) {
    .auth-card__title {
        font-size: 1.875rem;
    }
}

.auth-card__subtitle {
    margin-top: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #64748b;
}

.dark .auth-card__subtitle {
    color: #94a3b8;
}

.auth-mobile-brand {
    display: none;
}

.auth-mobile-brand__mark {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    background: linear-gradient(145deg, #5E121D, #872332);
    border: 1px solid rgba(197, 147, 88, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    color: #C59358;
}

.auth-mobile-brand__text {
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-weight: 800;
    font-size: 1.125rem;
    color: #5E121D;
}

.dark .auth-mobile-brand__text {
    color: #fecaca;
}

/* Tabs */
.auth-tabs {
    display: flex;
    padding: 0.3rem;
    gap: 0.3rem;
    border-radius: 1rem;
    background: #f1ebe4;
    border: 1px solid rgba(135, 35, 50, 0.08);
}

.dark .auth-tabs {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(148, 163, 184, 0.1);
}

.auth-tabs__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #64748b;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    cursor: pointer;
}

.dark .auth-tabs__btn {
    color: #94a3b8;
}

.auth-tabs__btn:hover:not(.auth-tabs__btn--active) {
    color: #334155;
    background: rgba(255, 255, 255, 0.5);
}

.dark .auth-tabs__btn:hover:not(.auth-tabs__btn--active) {
    color: #e2e8f0;
    background: rgba(51, 65, 85, 0.4);
}

.auth-tabs__btn--active.auth-tabs__btn--personal {
    background: #fff;
    color: #872332;
    box-shadow: 0 2px 8px rgba(135, 35, 50, 0.12);
}

.dark .auth-tabs__btn--active.auth-tabs__btn--personal {
    background: #334155;
    color: #fecaca;
}

.auth-tabs__btn--active.auth-tabs__btn--organisasi {
    background: #fff;
    color: #5E121D;
    box-shadow: 0 2px 8px rgba(94, 18, 29, 0.12);
}

.dark .auth-tabs__btn--active.auth-tabs__btn--organisasi {
    background: #334155;
    color: #fde68a;
}

.auth-tabs__icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

/* Form fields */
.auth-field {
    display: block;
    width: 100%;
    padding: 0.7rem 0.9rem 0.7rem 2.65rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #1e293b;
    background: #fff;
    border: 1.5px solid #e2d8d0;
    border-radius: 0.75rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.dark .auth-field {
    color: #f1f5f9;
    background: rgba(15, 23, 42, 0.5);
    border-color: #475569;
}

.auth-field::placeholder {
    color: #94a3b8;
}

.auth-field:focus {
    outline: none;
    border-color: #872332;
    box-shadow: 0 0 0 3px rgba(135, 35, 50, 0.12);
}

.dark .auth-field:focus {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.auth-field-wrap {
    position: relative;
}

.auth-field-wrap__icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.125rem;
    height: 1.125rem;
    color: #94a3b8;
    pointer-events: none;
}

.auth-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.4rem;
}

.dark .auth-label {
    color: #94a3b8;
}

.auth-label--plain {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.8125rem;
}

.auth-field-wrap select.auth-field,
.auth-field-wrap input[type="date"].auth-field {
    padding-left: 2.65rem;
    appearance: auto;
}

.auth-field-wrap select.auth-field {
    padding-right: 2rem;
}

/* Buttons */
.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.auth-btn:active {
    transform: scale(0.99);
}

.auth-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #872332 0%, #5E121D 100%);
    box-shadow: 0 4px 14px rgba(94, 18, 29, 0.3);
}

.auth-btn--primary:hover {
    box-shadow: 0 6px 20px rgba(94, 18, 29, 0.38);
}

.auth-btn--org {
    color: #fff;
    background: linear-gradient(135deg, #742A35 0%, #451620 100%);
    box-shadow: 0 4px 14px rgba(69, 22, 32, 0.28);
}

.auth-btn--org:hover {
    box-shadow: 0 6px 20px rgba(69, 22, 32, 0.36);
}

.auth-btn--ghost {
    color: #872332;
    background: rgba(135, 35, 50, 0.06);
    border: 1.5px solid rgba(135, 35, 50, 0.15);
}

.dark .auth-btn--ghost {
    color: #fca5a5;
    background: rgba(248, 113, 113, 0.08);
    border-color: rgba(248, 113, 113, 0.2);
}

.auth-btn--ghost:hover {
    background: rgba(135, 35, 50, 0.1);
}

/* Alerts */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.5;
}

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

.dark .auth-alert--error {
    background: rgba(127, 29, 29, 0.25);
    border-color: rgba(248, 113, 113, 0.25);
    color: #fca5a5;
}

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

.dark .auth-alert--success {
    background: rgba(6, 78, 59, 0.25);
    border-color: rgba(52, 211, 153, 0.25);
    color: #6ee7b7;
}

.auth-alert--demo {
    background: linear-gradient(135deg, rgba(197, 147, 88, 0.12), rgba(197, 147, 88, 0.06));
    border: 1px solid rgba(197, 147, 88, 0.3);
    color: #5E121D;
}

.dark .auth-alert--demo {
    background: rgba(197, 147, 88, 0.1);
    border-color: rgba(197, 147, 88, 0.25);
    color: #f5ead8;
}

.auth-alert code {
    font-family: ui-monospace, monospace;
    font-size: 0.75rem;
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
    background: rgba(0, 0, 0, 0.06);
}

.dark .auth-alert code {
    background: rgba(255, 255, 255, 0.08);
}

.auth-hint {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #64748b;
    text-align: center;
}

.dark .auth-hint {
    color: #94a3b8;
}

.auth-footer-link {
    text-align: center;
    padding-top: 1.25rem;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(135, 35, 50, 0.08);
    font-size: 0.875rem;
    color: #64748b;
}

.dark .auth-footer-link {
    border-top-color: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
}

.auth-footer-link a {
    font-weight: 700;
    color: #872332;
}

.dark .auth-footer-link a {
    color: #fca5a5;
}

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

/* Register type cards */
.auth-type-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .auth-type-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .auth-type-grid--institusi {
        grid-template-columns: repeat(2, 1fr);
        max-width: 42rem;
        margin-left: auto;
        margin-right: auto;
    }
}

.auth-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.35rem;
    border-radius: 1.125rem;
    border: 2px solid #e8dfd6;
    background: #fff;
    transition: all 0.22s ease;
    text-decoration: none;
    color: inherit;
    min-height: 100%;
}

.dark .auth-type-card {
    background: rgba(15, 23, 42, 0.4);
    border-color: #475569;
}

.auth-type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -8px rgba(94, 18, 29, 0.15);
}

.auth-type-card--personal:hover {
    border-color: #872332;
    background: linear-gradient(160deg, #fff 0%, #fdf5f6 100%);
}

.dark .auth-type-card--personal:hover {
    border-color: #f87171;
    background: rgba(127, 29, 29, 0.15);
}

.auth-type-card--education:hover {
    border-color: #059669;
    background: linear-gradient(160deg, #fff 0%, #f0fdf4 100%);
}

.dark .auth-type-card--education:hover {
    border-color: #34d399;
    background: rgba(6, 78, 59, 0.15);
}

.auth-type-card--industry:hover {
    border-color: #2563eb;
    background: linear-gradient(160deg, #fff 0%, #eff6ff 100%);
}

.dark .auth-type-card--industry:hover {
    border-color: #60a5fa;
    background: rgba(30, 58, 138, 0.15);
}

.auth-type-card__badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #C59358, #A67C45);
    color: #1A0A0C;
}

.auth-type-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.auth-type-card--personal .auth-type-card__icon {
    background: #fdf2f4;
    color: #872332;
}

.auth-type-card--education .auth-type-card__icon {
    background: #ecfdf5;
    color: #059669;
}

.auth-type-card--industry .auth-type-card__icon {
    background: #eff6ff;
    color: #2563eb;
}

.dark .auth-type-card--personal .auth-type-card__icon {
    background: rgba(127, 29, 29, 0.3);
    color: #fca5a5;
}

.dark .auth-type-card--education .auth-type-card__icon {
    background: rgba(6, 78, 59, 0.3);
    color: #6ee7b7;
}

.dark .auth-type-card--industry .auth-type-card__icon {
    background: rgba(30, 58, 138, 0.3);
    color: #93c5fd;
}

.auth-type-card__title {
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.0625rem;
    font-weight: 800;
    color: #1a0a0c;
    margin-bottom: 0.35rem;
}

.dark .auth-type-card__title {
    color: #f1f5f9;
}

.auth-type-card__desc {
    font-size: 0.75rem;
    line-height: 1.55;
    color: #64748b;
    flex: 1;
}

.dark .auth-type-card__desc {
    color: #94a3b8;
}

.auth-type-card__cta {
    margin-top: 1.125rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.auth-type-card--personal .auth-type-card__cta { color: #872332; }
.auth-type-card--education .auth-type-card__cta { color: #059669; }
.auth-type-card--industry .auth-type-card__cta { color: #2563eb; }

/* Subscription plan cards (register wizard) */
.auth-plan-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .auth-plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.auth-plan-card {
    position: relative;
    display: block;
    cursor: pointer;
    padding: 1rem;
    border-radius: 0.875rem;
    border: 2px solid #e8dfd6;
    background: #fff;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
}

.dark .auth-plan-card {
    background: rgba(15, 23, 42, 0.4);
    border-color: #475569;
}

.auth-plan-card:hover {
    border-color: #d4c4b8;
    background: #faf8f6;
}

.dark .auth-plan-card:hover {
    border-color: #64748b;
    background: rgba(30, 41, 59, 0.5);
}

.auth-plan-card:has(.auth-plan-card__input:checked) {
    border-color: #872332;
    background: linear-gradient(160deg, #fff 0%, #fdf5f6 100%);
    box-shadow: 0 0 0 3px rgba(135, 35, 50, 0.12);
}

.dark .auth-plan-card:has(.auth-plan-card__input:checked) {
    border-color: #f87171;
    background: rgba(127, 29, 29, 0.15);
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.auth-plan-card__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.auth-plan-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.auth-plan-card__name {
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #1a0a0c;
}

.dark .auth-plan-card__name {
    color: #f1f5f9;
}

.auth-plan-card__price {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.dark .auth-plan-card__price {
    color: #94a3b8;
}

.auth-plan-card__meta {
    display: block;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #64748b;
}

.dark .auth-plan-card__meta {
    color: #94a3b8;
}

.auth-plan-card:has(.auth-plan-card__input:checked) .auth-plan-card__name {
    color: #872332;
}

.dark .auth-plan-card:has(.auth-plan-card__input:checked) .auth-plan-card__name {
    color: #fca5a5;
}

.auth-trial-status {
    font-size: 0.75rem;
    line-height: 1.45;
}

.auth-trial-status--valid {
    color: #059669;
}

.dark .auth-trial-status--valid {
    color: #6ee7b7;
}

.auth-trial-status--invalid {
    color: #dc2626;
}

.dark .auth-trial-status--invalid {
    color: #fca5a5;
}

.auth-trial-status--checking {
    color: #64748b;
}

.dark .auth-trial-status--checking {
    color: #94a3b8;
}

/* Form sections */
.auth-form-section {
    padding-top: 0.25rem;
}

.auth-form-section__title {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
}

/* Modal */
.auth-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(26, 10, 12, 0.65);
    backdrop-filter: blur(6px);
}

.auth-modal {
    width: 100%;
    max-width: 26rem;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1.25rem;
    border: 1px solid rgba(135, 35, 50, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.dark .auth-modal {
    background: #1e293b;
    border-color: #475569;
}

.auth-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1ebe4;
}

.dark .auth-modal__header {
    border-bottom-color: #475569;
}

.auth-modal__title {
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.0625rem;
    font-weight: 800;
    color: #1a0a0c;
}

.dark .auth-modal__title {
    color: #f1f5f9;
}

.auth-demo-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    border: 1.5px solid #e8dfd6;
    background: #fff;
    transition: all 0.15s;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.dark .auth-demo-item {
    background: rgba(15, 23, 42, 0.5);
    border-color: #475569;
}

.auth-demo-item:hover {
    border-color: #872332;
    background: #fdf5f6;
}

.dark .auth-demo-item:hover {
    border-color: #f87171;
    background: rgba(127, 29, 29, 0.15);
}

.auth-demo-item__role {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1e293b;
}

.dark .auth-demo-item__role {
    color: #f1f5f9;
}

.auth-demo-item__creds {
    font-size: 0.75rem;
    font-family: ui-monospace, monospace;
    color: #64748b;
    margin-top: 0.25rem;
}
