.sm-auth-dashboard-body {
    background:
        radial-gradient(circle at top left, rgba(31, 111, 255, 0.12), transparent 24%),
        radial-gradient(circle at right 22%, rgba(14, 86, 217, 0.08), transparent 22%),
        linear-gradient(180deg, #f4f7fb 0%, #eef4fb 54%, #f8fbff 100%);
}

.sm-auth-dashboard-nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.sm-auth-dashboard-link {
    color: #475569;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 160ms ease;
}

.sm-auth-dashboard-link:hover {
    color: #1f6fff;
}

.sm-auth-topbar-actions {
    flex-shrink: 0;
}

.sm-auth-dashboard-layout {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

.sm-auth-dashboard-stage {
    display: grid;
    gap: 1.5rem;
}

.sm-auth-dashboard-preview-grid {
    display: grid;
    gap: 1.5rem;
}

.sm-auth-dashboard-form-panel {
    display: flex;
    min-height: calc(100vh - 8rem);
    align-self: stretch;
}

.sm-auth-form-wrap {
    display: flex;
    width: 100%;
}

.sm-auth-form-wrap > * {
    width: 100%;
}

.sm-auth-form-wrap-login {
    max-width: 58rem;
}

.sm-auth-form-wrap-register {
    max-width: 68rem;
}

.sm-auth-dashboard-card-title {
    margin: 1rem 0 0;
    color: #0f172a;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.sm-auth-dashboard-stat-grid {
    margin-top: 1.35rem;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sm-auth-dashboard-stat-card {
    border-radius: 1.2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(219, 234, 254, 0.95);
}

.sm-auth-dashboard-stat-card span {
    display: block;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.sm-auth-dashboard-stat-card strong {
    display: block;
    margin-top: 0.8rem;
    color: #0f172a;
    font-family: 'Manrope', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.sm-auth-dashboard-checklist {
    margin-top: 1.4rem;
    display: grid;
    gap: 0.85rem;
}

.sm-auth-dashboard-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.75;
}

.sm-auth-dashboard-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 9999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.95rem;
    font-weight: 800;
    flex-shrink: 0;
}

.sm-auth-dashboard-indicator {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #1f6fff 0%, #60a5fa 100%);
    box-shadow: 0 0 0 0.25rem rgba(191, 219, 254, 0.7);
    flex-shrink: 0;
}

.sm-select-field {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 3rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2352607A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem 1rem;
    cursor: pointer;
}

.sm-auth-login-card {
    display: flex;
    min-height: clamp(36rem, calc(100vh - 11rem), 44rem);
    padding: 1.75rem;
    border-radius: 2rem;
}

.sm-auth-register-card {
    display: flex;
    min-height: clamp(42rem, calc(100vh - 11rem), 52rem);
    padding: 1.75rem;
    border-radius: 2rem;
}

.sm-auth-login-card > div,
.sm-auth-register-card > div {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    width: 100%;
}

.sm-auth-login-card form,
.sm-auth-register-card form {
    width: 100%;
}

.sm-auth-login-title {
    margin: 0;
    color: #0f172a;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.sm-auth-login-copy {
    margin: 0;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.8;
}

.sm-auth-register-title {
    margin: 0;
    color: #0f172a;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
}

.sm-auth-register-copy {
    margin: 0;
    max-width: 40rem;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.8;
}

.sm-auth-login-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.sm-auth-register-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.sm-auth-login-pills span {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid #dbe4f0;
    background: #f8fbff;
    padding: 0.52rem 0.85rem;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sm-auth-register-pills span {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid #dbe4f0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 0.52rem 0.85rem;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sm-auth-register-grid {
    display: grid;
    gap: 1rem 1.1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sm-auth-register-field {
    min-width: 0;
}

.sm-auth-register-field-full {
    grid-column: 1 / -1;
}

.sm-auth-register-terms {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    border-radius: 1.35rem;
    border: 1px solid #dbe4f0;
    background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
    padding: 1rem 1.05rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.75;
}

.sm-auth-register-checkbox {
    width: 1rem;
    height: 1rem;
    margin-top: 0.25rem;
    border-radius: 0.35rem;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #1f6fff;
    box-shadow: none;
    flex-shrink: 0;
}

.sm-auth-register-checkbox:focus {
    --tw-ring-color: rgba(31, 111, 255, 0.24);
}

.sm-auth-login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.sm-auth-login-remember {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #475569;
    font-size: 0.95rem;
    font-weight: 500;
}

.sm-auth-login-checkbox {
    width: 1rem;
    height: 1rem;
    border-radius: 0.35rem;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #1f6fff;
    box-shadow: none;
}

.sm-auth-login-checkbox:focus {
    --tw-ring-color: rgba(31, 111, 255, 0.24);
}

.sm-auth-login-forgot,
.sm-auth-login-footer a {
    color: #1f6fff;
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 160ms ease;
}

.sm-auth-login-forgot:hover,
.sm-auth-login-footer a:hover {
    color: #0f56d9;
}

.sm-auth-register-footer a:hover {
    color: #0f56d9;
}

.sm-auth-login-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.35rem;
    color: #64748b;
    font-size: 0.95rem;
}

.sm-auth-login-footer p {
    margin: 0;
}

.sm-auth-register-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.35rem;
    color: #64748b;
    font-size: 0.95rem;
}

.sm-auth-register-footer p {
    margin: 0;
}

.sm-auth-register-footer a {
    color: #1f6fff;
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 160ms ease;
}

@media (min-width: 1024px) {
    .sm-auth-login-card > div,
    .sm-auth-register-card > div {
        display: flex;
        flex-direction: column;
        gap: 1.75rem;
    }

    .sm-auth-dashboard-nav {
        display: flex;
    }

    .sm-auth-dashboard-layout {
        grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 32rem);
    }

    .sm-auth-dashboard-form-panel {
        position: sticky;
        top: 6rem;
    }
}

@media (max-width: 767px) {
    .sm-auth-topbar-actions {
        gap: 0.45rem;
    }

    .sm-auth-topbar-action {
        padding: 0.5rem 0.7rem;
        font-size: 0.68rem;
        letter-spacing: 0.12em;
        white-space: nowrap;
    }

    .sm-auth-dashboard-form-panel {
        min-height: auto;
    }

        .sm-auth-form-wrap-login,
        .sm-auth-form-wrap-register {
            max-width: none;
        }

    .sm-auth-login-card {
        min-height: auto;
        padding: 1.25rem;
        border-radius: 1.5rem;
    }

    .sm-auth-register-card {
        min-height: auto;
        padding: 1.25rem;
        border-radius: 1.5rem;
    }

    .sm-auth-dashboard-stat-grid,
    .sm-auth-dashboard-preview-grid {
        grid-template-columns: 1fr;
    }

    .sm-auth-register-grid {
        grid-template-columns: 1fr;
    }

    .sm-auth-register-field-full {
        grid-column: auto;
    }

    .sm-auth-login-row,
    .sm-auth-login-footer,
    .sm-auth-register-footer {
        align-items: flex-start;
    }
}
