:root {
    color-scheme: light;
    --background: #fbfffc;
    --foreground: #101828;
    --card: #ffffff;
    --muted: #f0fdf4;
    --muted-strong: #dcfce7;
    --primary: #34d399;
    --primary-strong: #059669;
    --primary-soft: color-mix(in srgb, var(--primary) 12%, white);
    --primary-border: color-mix(in srgb, var(--primary) 34%, white);
    --primary-contrast: #ffffff;
    --accent: #d1a656;
    --border: #d7f5df;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--background);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    transition: background 0.2s ease, color 0.2s ease;
}

.app-shell {
    background: var(--background);
}

.sidebar.is-open {
    transform: translateX(0);
}

.sidebar,
.admin-main {
    transition: width 0.22s ease, margin-left 0.22s ease, background 0.2s ease, color 0.2s ease;
}

@media (min-width: 768px) {
    [data-admin-shell].is-sidebar-collapsed .sidebar {
        width: 5.5rem;
    }

    [data-admin-shell].is-sidebar-collapsed .admin-main {
        margin-left: 5.5rem;
    }

    [data-admin-shell].is-sidebar-collapsed [data-sidebar-label],
    [data-admin-shell].is-sidebar-collapsed [data-sidebar-logout] {
        display: none;
    }

    [data-admin-shell].is-sidebar-collapsed .sidebar {
        align-items: center;
    }

    [data-admin-shell].is-sidebar-collapsed .sidebar nav,
    [data-admin-shell].is-sidebar-collapsed .sidebar > div {
        width: 100%;
    }

    [data-admin-shell].is-sidebar-collapsed .sidebar .nav-link {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }

    [data-admin-shell].is-sidebar-collapsed .sidebar .border-b {
        padding: 1rem;
    }

    [data-admin-shell].is-sidebar-collapsed .sidebar .border-b > div {
        flex-direction: column;
    }

    [data-admin-shell].is-sidebar-collapsed .admin-main > .mx-auto {
        max-width: 96rem;
    }
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.875rem;
    padding: 0.8rem 1rem;
    color: #475467;
    font-size: 0.94rem;
    font-weight: 500;
    transition: background 0.18s ease, color 0.18s ease;
}

.nav-link:hover {
    background: var(--primary-soft);
    color: var(--primary-strong);
}

.nav-link.is-active {
    background: var(--primary);
    color: var(--primary-contrast);
}

.soft-card {
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: 1rem;
    box-shadow: 0 2px 9px rgba(16, 24, 40, 0.07);
}

.soft-row {
    background: rgba(236, 253, 243, 0.58);
    border-radius: 0.875rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.875rem;
    background: var(--primary);
    color: var(--primary-contrast);
    min-height: 2.65rem;
    padding: 0.65rem 1.1rem;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary-strong);
}

.floating-appointment-button {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 3.25rem;
    padding: 0 1.15rem;
    border-radius: 999px;
    background: var(--primary);
    color: var(--primary-contrast);
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.24);
    font-weight: 700;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.floating-appointment-button:hover {
    background: var(--primary-strong);
    box-shadow: 0 20px 50px rgba(16, 24, 40, 0.28);
    transform: translateY(-1px);
}

.status-pill {
    border: 1px solid var(--primary-border);
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-strong);
    padding: 0.12rem 0.55rem;
    font-size: 0.72rem;
}

.status-agendado,
.status-confirmado,
.status-concluido,
.status-cancelado,
.status-faltou,
.status-pendente {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 999px;
    border: 1px solid currentColor;
    padding: 0.12rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-agendado::before,
.status-confirmado::before,
.status-concluido::before,
.status-cancelado::before,
.status-faltou::before,
.status-pendente::before {
    font-size: 0.62rem;
    line-height: 1;
}

.status-agendado {
    background: #eff6ff;
    color: #1d4ed8;
}

.status-agendado::before {
    content: "●";
}

.status-confirmado {
    background: #fff7ed;
    color: #c2410c;
}

.status-confirmado::before {
    content: "●";
}

.status-concluido {
    background: #f0fdf4;
    color: #15803d;
}

.status-concluido::before {
    content: "✓";
}

.status-cancelado {
    background: #fef2f2;
    color: #dc2626;
}

.status-cancelado::before {
    content: "×";
}

.status-faltou {
    background: #f8fafc;
    color: #475569;
}

.status-faltou::before {
    content: "!";
}

.status-pendente {
    background: #fffbeb;
    color: #b45309;
}

.status-pendente::before {
    content: "●";
}

.calendar-day {
    aspect-ratio: 1;
    border-radius: 0.9rem;
    display: grid;
    place-items: center;
    min-width: 0;
    position: relative;
    line-height: 1;
}

.calendar-day.is-selected {
    background: var(--primary);
    color: var(--primary-contrast);
    font-weight: 700;
}

.appointments-header {
    min-width: 0;
}

.appointments-title,
.appointments-subtitle,
.calendar-title,
.day-agenda-title,
.appointment-client-name {
    overflow-wrap: anywhere;
}

.appointment-calendar {
    min-width: 0;
}

.appointment-item {
    min-width: 0;
}

.appointment-details {
    min-width: 0;
}

.appointment-client-row {
    min-width: 0;
    flex-wrap: wrap;
}

.modal {
    overflow-y: auto;
}

.modal-card {
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}

.auth-login-page {
    background: #ffffff;
}

.auth-login-visual {
    min-height: 100vh;
}

.auth-login-panel {
    min-width: 0;
}

.auth-login-card,
.auth-login-heading,
.auth-field,
.auth-form-options {
    min-width: 0;
}

.auth-field {
    background: #ffffff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.auth-field:focus-within {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.auth-icon-button {
    display: inline-grid;
    flex-shrink: 0;
    height: 2.4rem;
    width: 2.4rem;
    place-items: center;
    border-radius: 999px;
}

.auth-icon-button:hover {
    background: var(--primary-soft);
}

.auth-submit {
    background: var(--primary) !important;
    color: var(--primary-contrast) !important;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--primary) 26%, transparent);
}

.auth-submit:hover {
    background: var(--primary-strong) !important;
}

.service-visual {
    background: var(--primary);
}

.service-visual-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.gallery-fallback {
    background: #0f172a;
}

.bg-emerald-400,
.bg-emerald-500,
.bg-sky-600 {
    background-color: var(--primary) !important;
    color: var(--primary-contrast) !important;
}

.hover\:bg-emerald-300:hover,
.hover\:bg-emerald-600:hover,
.hover\:bg-sky-700:hover {
    background-color: var(--primary-strong) !important;
    color: var(--primary-contrast) !important;
}

.bg-emerald-50,
.bg-emerald-100 {
    background-color: var(--primary-soft) !important;
}

.booking-subscription-active-card {
    background: #dcfce7 !important;
    border-color: #4ade80 !important;
}

.text-emerald-600,
.text-emerald-700,
.text-emerald-800,
.text-sky-600 {
    color: var(--primary-strong) !important;
}

.border-emerald-100,
.border-emerald-200,
.border-emerald-300,
.border-emerald-400,
.border-sky-600 {
    border-color: var(--primary-border) !important;
}

.modal[hidden] {
    display: none;
}

[data-admin-shell].theme-dark {
    color-scheme: dark;
    --background: #08111d;
    --foreground: #e5eefb;
    --card: #0f1b2d;
    --muted: #132238;
    --muted-strong: #18324d;
    --border: #1f3b4f;
    background: var(--background) !important;
    color: var(--foreground) !important;
}

[data-admin-shell].theme-dark .sidebar,
[data-admin-shell].theme-dark .bg-white,
[data-admin-shell].theme-dark .soft-card {
    background-color: var(--card) !important;
    color: var(--foreground) !important;
    border-color: var(--border) !important;
}

[data-admin-shell].theme-dark .border-emerald-100,
[data-admin-shell].theme-dark .border-slate-200,
[data-admin-shell].theme-dark .border-slate-100 {
    border-color: var(--border) !important;
}

[data-admin-shell].theme-dark .text-slate-950,
[data-admin-shell].theme-dark .text-slate-900,
[data-admin-shell].theme-dark .text-slate-800,
[data-admin-shell].theme-dark .text-slate-700 {
    color: #e5eefb !important;
}

[data-admin-shell].theme-dark .text-slate-600,
[data-admin-shell].theme-dark .text-slate-500 {
    color: #9fb0c8 !important;
}

[data-admin-shell].theme-dark .bg-emerald-50,
[data-admin-shell].theme-dark .bg-emerald-50\/60,
[data-admin-shell].theme-dark .soft-row {
    background-color: var(--muted) !important;
}

[data-admin-shell].theme-dark .bg-emerald-100 {
    background-color: var(--muted-strong) !important;
}

[data-admin-shell].theme-dark .text-emerald-800,
[data-admin-shell].theme-dark .text-emerald-700,
[data-admin-shell].theme-dark .text-emerald-600 {
    color: #6ee7b7 !important;
}

[data-admin-shell].theme-dark .text-emerald-300 {
    color: #a7f3d0 !important;
}

[data-admin-shell].theme-dark .border-emerald-200 {
    border-color: var(--border) !important;
}

[data-admin-shell].theme-dark .bg-blue-50 {
    background-color: #10233d !important;
}

[data-admin-shell].theme-dark .bg-blue-700 {
    background-color: #2563eb !important;
}

[data-admin-shell].theme-dark .border-blue-100 {
    border-color: #1e3a5f !important;
}

[data-admin-shell].theme-dark .text-blue-950,
[data-admin-shell].theme-dark .text-blue-800,
[data-admin-shell].theme-dark .text-blue-700 {
    color: #93c5fd !important;
}

[data-admin-shell].theme-dark .bg-red-50,
[data-admin-shell].theme-dark .bg-red-100 {
    background-color: #3a1418 !important;
}

[data-admin-shell].theme-dark .bg-red-600 {
    background-color: #dc2626 !important;
}

[data-admin-shell].theme-dark .border-red-100 {
    border-color: #5c2229 !important;
}

[data-admin-shell].theme-dark .text-red-800,
[data-admin-shell].theme-dark .text-red-700,
[data-admin-shell].theme-dark .text-red-600 {
    color: #fca5a5 !important;
}

[data-admin-shell].theme-dark .bg-amber-50,
[data-admin-shell].theme-dark .bg-amber-100 {
    background-color: #3a2c10 !important;
}

[data-admin-shell].theme-dark .border-amber-200 {
    border-color: #5c471a !important;
}

[data-admin-shell].theme-dark .text-amber-900,
[data-admin-shell].theme-dark .text-amber-800,
[data-admin-shell].theme-dark .text-amber-700,
[data-admin-shell].theme-dark .text-amber-500 {
    color: #fcd34d !important;
}

[data-admin-shell].theme-dark input,
[data-admin-shell].theme-dark textarea,
[data-admin-shell].theme-dark select {
    background-color: #0b1626 !important;
    border-color: var(--border) !important;
    color: var(--foreground) !important;
}

[data-admin-shell].theme-dark input::placeholder,
[data-admin-shell].theme-dark textarea::placeholder {
    color: #6f819c !important;
}

[data-admin-shell].theme-dark .nav-link {
    color: #c8d6ea;
}

[data-admin-shell].theme-dark .nav-link:hover {
    background: #102a34;
    color: #d1fae5;
}

[data-admin-shell].theme-dark .nav-link.is-active {
    color: var(--primary-contrast);
}

[data-admin-shell].theme-dark .sidebar-action,
[data-admin-shell].theme-dark .mobile-menu {
    background-color: #0b1626 !important;
    border-color: var(--border) !important;
    color: #d7e3f4 !important;
}

.client-list-item {
    align-items: stretch;
}

.client-list-meta {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.client-list-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.client-action,
.client-delete-action {
    display: inline-flex;
    min-height: 2.45rem;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 0.75rem;
    border: 1px solid var(--primary-border);
    padding: 0.6rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.client-action {
    color: #0f172a;
}

.client-action:hover {
    background-color: var(--primary-soft);
}

.client-action-primary {
    color: var(--primary-strong);
    border-color: #bae6fd;
}

.client-delete-action {
    width: 100%;
    color: #ef4444;
    border-color: transparent;
    background: transparent;
}

.client-delete-action:hover {
    background: #fef2f2;
}

@media (min-width: 1024px) {
    .client-list-actions {
        width: min(31rem, 42vw);
        grid-template-columns: repeat(2, minmax(0, 1fr)) 2.75rem;
    }

    .client-list-actions form {
        grid-column: 3;
        grid-row: 1 / span 2;
        display: flex;
    }
}

[data-admin-shell].theme-dark .client-list-item {
    background: #12243a !important;
    border-color: #213f58 !important;
}

[data-admin-shell].theme-dark .client-list-name,
[data-admin-shell].theme-dark .client-list-item strong {
    color: #f8fafc !important;
}

[data-admin-shell].theme-dark .client-list-meta {
    color: #bfd0e6 !important;
}

[data-admin-shell].theme-dark .client-action {
    background: #0d1a2b;
    border-color: #2a4863;
    color: #e5eefb;
}

[data-admin-shell].theme-dark .client-action:hover {
    background: #173452;
    border-color: #3b6b8e;
}

[data-admin-shell].theme-dark .client-action-primary {
    color: #7dd3fc !important;
    border-color: #3b82a4;
}

[data-admin-shell].theme-dark .client-delete-action {
    color: #fb7185;
}

[data-admin-shell].theme-dark .client-delete-action:hover {
    background: rgba(248, 113, 113, 0.14);
}

[data-admin-shell].theme-dark .client-detail-page .text-slate-900,
[data-admin-shell].theme-dark .client-detail-page .text-slate-800,
[data-admin-shell].theme-dark .client-detail-page .text-slate-700,
[data-admin-shell].theme-dark .client-detail-page strong,
[data-admin-shell].theme-dark .client-detail-page h1,
[data-admin-shell].theme-dark .client-detail-page h2 {
    color: #f8fafc !important;
}

[data-admin-shell].theme-dark .client-detail-page .text-slate-600,
[data-admin-shell].theme-dark .client-detail-page .text-slate-500,
[data-admin-shell].theme-dark .client-detail-page p,
[data-admin-shell].theme-dark .client-detail-page small {
    color: #bfd0e6 !important;
}

[data-admin-shell].theme-dark .client-detail-card {
    background: #0f1d31 !important;
    border-color: #25465f !important;
    box-shadow: none;
}

[data-admin-shell].theme-dark .client-detail-mini-card,
[data-admin-shell].theme-dark .client-detail-history-card {
    background: #0a1727 !important;
    border-color: #2b4b65 !important;
}

[data-admin-shell].theme-dark .client-detail-empty {
    background: #0a1727 !important;
    border-color: #2b4b65 !important;
    color: #9fb0c8 !important;
}

[data-admin-shell].theme-dark .client-detail-alert {
    background: #132b42 !important;
    border: 1px solid #2f5570;
    color: #fecaca !important;
}

[data-admin-shell].theme-dark .client-detail-page input,
[data-admin-shell].theme-dark .client-detail-page textarea,
[data-admin-shell].theme-dark .client-detail-page select {
    background: #08111d !important;
    border-color: #31516f !important;
    color: #e5eefb !important;
}

[data-admin-shell].theme-dark .client-detail-page input::placeholder,
[data-admin-shell].theme-dark .client-detail-page textarea::placeholder {
    color: #82a0bd !important;
}

[data-admin-shell].theme-dark .billing-settings-card {
    background: #101d31 !important;
    border-color: #284864 !important;
}

[data-admin-shell].theme-dark .billing-settings-card h2,
[data-admin-shell].theme-dark .billing-settings-card strong {
    color: #f8fafc !important;
}

[data-admin-shell].theme-dark .billing-settings-card p,
[data-admin-shell].theme-dark .billing-settings-card .text-slate-600,
[data-admin-shell].theme-dark .billing-settings-card .text-slate-500 {
    color: #c6d6eb !important;
}

[data-admin-shell].theme-dark .billing-settings-eyebrow {
    color: #86efac !important;
}

[data-admin-shell].theme-dark .billing-settings-metric {
    background: #0a1727 !important;
    border-color: #31516f !important;
}

[data-admin-shell].theme-dark .billing-settings-metric span {
    color: #a9bdd6 !important;
}

[data-admin-shell].theme-dark .billing-settings-alert {
    background: #0a1727 !important;
    border-color: #31516f !important;
    color: #dbeafe !important;
}

[data-admin-shell].theme-dark .billing-settings-alert.bg-emerald-50 {
    background: rgba(20, 83, 45, 0.28) !important;
    border-color: rgba(74, 222, 128, 0.32) !important;
    color: #bbf7d0 !important;
}

[data-admin-shell].theme-dark .billing-settings-alert.bg-red-50 {
    background: rgba(127, 29, 29, 0.28) !important;
    border-color: rgba(248, 113, 113, 0.34) !important;
    color: #fecaca !important;
}

@media (max-width: 767px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .admin-main {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-top: 5.25rem !important;
        padding-bottom: 6rem !important;
    }

    .soft-card {
        border-radius: 0.875rem;
    }

    .mobile-menu {
        left: max(1rem, env(safe-area-inset-left));
        top: max(1rem, env(safe-area-inset-top));
        z-index: 60;
    }

    .sidebar {
        width: min(19rem, 86vw);
        max-width: 100%;
        box-shadow: 18px 0 48px rgba(15, 23, 42, 0.22);
    }

    .appointments-header {
        margin-bottom: 1.25rem;
        gap: 0.85rem;
    }

    .appointments-title {
        font-size: clamp(1.55rem, 8vw, 2rem);
        line-height: 1.08;
        padding-right: 0.25rem;
    }

    .appointments-subtitle {
        max-width: 20rem;
        font-size: 0.92rem;
        line-height: 1.35;
    }

    .appointments-top-action {
        width: 100%;
        min-height: 3rem;
        border-radius: 0.8rem;
    }

    .appointments-layout {
        gap: 1rem;
    }

    .appointments-card {
        padding: clamp(1rem, 4.5vw, 1.35rem) !important;
    }

    .calendar-toolbar {
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .calendar-title,
    .day-agenda-title {
        font-size: clamp(1.05rem, 5.5vw, 1.25rem);
        line-height: 1.2;
    }

    .calendar-nav {
        flex-shrink: 0;
    }

    .calendar-nav-button {
        height: 2.75rem;
        width: 2.75rem;
        border-radius: 0.8rem;
    }

    .appointment-calendar {
        gap: clamp(0.2rem, 1.8vw, 0.5rem);
        font-size: clamp(0.78rem, 3.5vw, 0.92rem);
    }

    .calendar-weekday {
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
        font-size: clamp(0.64rem, 2.8vw, 0.74rem);
    }

    .calendar-day {
        min-height: 2.35rem;
        border-radius: 0.75rem;
        padding: 0.15rem;
    }

    .calendar-day small {
        margin-top: 0.2rem;
        height: 0.3rem;
        width: 0.3rem;
    }

    .day-agenda-card {
        scroll-margin-top: 5rem;
    }

    .day-agenda-list {
        margin-top: 1.25rem;
    }

    .appointment-item {
        padding: 0.95rem !important;
        border-radius: 0.85rem;
    }

    .appointment-item-content {
        gap: 0.75rem;
    }

    .appointment-time {
        width: auto;
        min-width: 3.1rem;
        font-size: 0.95rem;
    }

    .appointment-client-row {
        align-items: flex-start;
        gap: 0.45rem;
    }

    .appointment-client-name {
        line-height: 1.25;
    }

    .appointment-more {
        flex-shrink: 0;
    }

    .empty-agenda {
        padding: 1.25rem !important;
        line-height: 1.45;
    }

    .modal {
        align-items: end;
        padding: 0.75rem;
    }

    .modal-card {
        width: 100%;
        max-height: min(86vh, 42rem);
        border-radius: 1rem 1rem 0.85rem 0.85rem;
        padding: 1.1rem !important;
    }

    .modal-card form {
        gap: 0.75rem;
    }

    .modal-card input,
    .modal-card select,
    .modal-card textarea {
        min-height: 2.85rem;
        border-radius: 0.8rem !important;
    }

    .btn-primary,
    button,
    [role="button"] {
        min-height: 2.75rem;
    }

    .floating-appointment-button {
        right: 1rem;
        bottom: max(1rem, env(safe-area-inset-bottom));
        width: 3.5rem;
        min-height: 3.5rem;
        padding: 0;
    }

    .floating-appointment-button span {
        display: none;
    }

    .profile-page-content {
        display: flex;
        flex-direction: column;
    }

    .profile-hero {
        order: 1;
    }

    .profile-details-section,
    .profile-next-section,
    .profile-loyalty-stack {
        display: contents;
    }

    .profile-next-card {
        order: 2;
        margin-top: 1rem;
    }

    .profile-subscription-card {
        order: 3;
        margin-top: 1rem;
    }

    .profile-loyalty-card {
        order: 4;
        margin-top: 1rem;
    }

    .profile-shortcuts {
        order: 5;
    }

    .profile-history-section {
        order: 6;
        margin-top: 1.5rem;
    }

    .profile-completed-card {
        order: 7;
        margin-top: 1rem;
    }

    .profile-form-card {
        order: 8;
        margin-top: 1.5rem;
    }

    .profile-feedback {
        order: 9;
    }
}

@media (max-width: 1023px) {
    .auth-login-page {
        display: block;
        min-height: 100vh;
        background: linear-gradient(180deg, #07111f 0%, #101828 34%, #f8fafc 34%, #ffffff 100%);
    }

    .auth-login-visual {
        display: block;
        min-height: 15.5rem;
        height: 32vh;
        max-height: 19rem;
    }

    .auth-login-visual-copy {
        padding: 1.25rem;
    }

    .auth-login-visual-copy h2 {
        max-width: 21rem;
        font-size: clamp(1.55rem, 7vw, 2.15rem);
    }

    .auth-login-visual-copy p {
        max-width: 22rem;
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .auth-login-panel {
        display: block;
        margin-top: -2rem;
        padding: 0 1rem 2rem !important;
    }

    .auth-login-card {
        margin-inline: auto;
        max-width: 31rem;
        border: 1px solid #e5e7eb;
        border-radius: 1.25rem;
        background: rgba(255, 255, 255, 0.96);
        padding: clamp(1.15rem, 5vw, 1.6rem);
        box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
        backdrop-filter: blur(14px);
    }

    .auth-login-back {
        margin-bottom: 1.25rem;
    }

    .auth-login-heading h1 {
        font-size: clamp(1.65rem, 7vw, 2rem);
        line-height: 1.12;
    }

    .auth-alert {
        margin-top: 1.25rem;
        line-height: 1.45;
    }

    .auth-login-form {
        margin-top: 1.5rem;
    }

    .auth-field {
        border-radius: 1rem !important;
        padding: 0.9rem 1rem !important;
    }

    .auth-field input {
        min-width: 0;
        font-size: 1rem !important;
    }

    .auth-form-options {
        align-items: flex-start;
        gap: 0.75rem;
        line-height: 1.35;
    }

    .auth-submit {
        min-height: 3.25rem;
        border-radius: 1rem !important;
    }

    .auth-register-callout {
        margin-top: 1.75rem;
        border-top: 1px solid #e5e7eb;
        padding-top: 1.5rem;
    }
}

@media (max-width: 380px) {
    .auth-form-options {
        flex-direction: column;
    }
}
