body {
    font-size: 0.95rem;
}

.theme-transition,
.theme-transition * {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lunahome-snow-layer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    overflow: hidden;
}

.lunahome-snowflake {
    position: absolute;
    top: -16px;
    left: var(--snow-left, 50%);
    width: var(--snow-size, 6px);
    height: var(--snow-size, 6px);
    border-radius: 999px;
    background: rgba(255, 255, 255, var(--snow-opacity, 0.82));
    box-shadow: 0 0 var(--snow-glow, 8px) rgba(255, 255, 255, 0.72);
    animation:
        lunahome-snow-fall var(--snow-duration, 12s) linear var(--snow-delay, 0s) infinite,
        lunahome-snow-sway var(--snow-sway-duration, 4s) ease-in-out var(--snow-delay, 0s) infinite alternate;
}

.lunahome-snowflake--star {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, var(--snow-opacity, 0.86));
    font-size: var(--snow-size, 12px);
    line-height: 1;
    text-shadow: 0 0 var(--snow-glow, 8px) rgba(255, 255, 255, 0.72);
}

.lunahome-snowflake--star::before {
    content: "*";
}

.lunahome-firework {
    position: absolute;
    left: var(--firework-left, 50%);
    bottom: -24px;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: var(--firework-color, #f59e0b);
    box-shadow: 0 0 12px var(--firework-color, #f59e0b);
    animation: lunahome-firework-rise var(--firework-duration, 2.8s) ease-out var(--firework-delay, 0s) infinite;
}

.lunahome-firework::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
    box-shadow:
        0 -34px 0 var(--firework-color, #f59e0b),
        24px -24px 0 #facc15,
        34px 0 0 #dc2626,
        24px 24px 0 #fb7185,
        0 34px 0 #f97316,
        -24px 24px 0 #facc15,
        -34px 0 0 #dc2626,
        -24px -24px 0 #fb7185;
    animation: lunahome-firework-burst var(--firework-duration, 2.8s) ease-out var(--firework-delay, 0s) infinite;
}

body[data-snow-effect="nice-snowing"] .lunahome-snowflake--star::before {
    content: "❄";
}

body[data-snow-effect^="tet-"] .lunahome-snowflake {
    border-radius: 2px 999px 999px;
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.16);
}

body[data-snow-effect="tet-apricot"] .lunahome-snowflake {
    background: rgba(250, 204, 21, var(--snow-opacity, 0.86));
}

body[data-snow-effect="tet-peach"] .lunahome-snowflake {
    background: rgba(251, 113, 133, var(--snow-opacity, 0.82));
}

body[data-snow-effect="tet-confetti"] .lunahome-snowflake {
    border-radius: 2px;
    background: var(--snow-color, #dc2626);
    box-shadow: 0 4px 10px rgba(127, 29, 29, 0.12);
}

@keyframes lunahome-snow-fall {
    to {
        transform: translate3d(var(--snow-drift, 28px), calc(100vh + 40px), 0) rotate(var(--snow-rotate, 180deg));
    }
}

@keyframes lunahome-snow-sway {
    from {
        margin-left: calc(var(--snow-sway, 18px) * -1);
    }
    to {
        margin-left: var(--snow-sway, 18px);
    }
}

@keyframes lunahome-firework-rise {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.8);
    }
    12% {
        opacity: 1;
    }
    58% {
        opacity: 1;
        transform: translate3d(var(--firework-drift, 0px), calc(var(--firework-rise, 62vh) * -1), 0) scale(1);
    }
    72%,
    100% {
        opacity: 0;
        transform: translate3d(var(--firework-drift, 0px), calc(var(--firework-rise, 62vh) * -1), 0) scale(0.2);
    }
}

@keyframes lunahome-firework-burst {
    0%,
    54% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.2);
    }
    66% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(var(--firework-burst-scale, 1.6));
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(calc(var(--firework-burst-scale, 1.6) + 0.35));
    }
}

@media (prefers-reduced-motion: reduce) {
    .lunahome-snow-layer {
        display: none;
    }
}

[data-theme="dark"] body,
body[data-theme="dark"] {
    background: #0f172a;
    color: #e5e7eb;
}

[data-theme="dark"] .content-wrapper,
[data-theme="dark"] .main-header,
[data-theme="dark"] .main-sidebar,
[data-theme="dark"] .content-header,
[data-theme="dark"] .modal-content,
[data-theme="dark"] .dropdown-menu,
[data-theme="dark"] .card,
[data-theme="dark"] .table,
[data-theme="dark"] .table thead th,
[data-theme="dark"] .table tbody td,
[data-theme="dark"] .table tbody th {
    background-color: #111827;
    color: #e5e7eb;
    border-color: #334155;
}

[data-theme="dark"] .main-header.navbar {
    background-color: #0f172a !important;
    border-color: #334155;
}

[data-theme="dark"] .main-sidebar {
    background-color: #0b1220 !important;
}

[data-theme="dark"] .bg-light,
[data-theme="dark"] .table-light,
[data-theme="dark"] .list-group-item,
[data-theme="dark"] .form-control.bg-light,
[data-theme="dark"] .card .bg-light,
[data-theme="dark"] .card-body.bg-light {
    background-color: #0f172a !important;
    color: #e5e7eb !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .text-muted {
    color: #94a3b8 !important;
}

[data-theme="dark"] .small-box {
    color: #e5e7eb !important;
}

[data-theme="dark"] .small-box .icon i {
    color: rgba(229, 231, 235, 0.28) !important;
}

[data-theme="dark"] .small-box.bg-info,
[data-theme="dark"] .small-box.bg-primary,
[data-theme="dark"] .small-box.bg-success,
[data-theme="dark"] .small-box.bg-warning,
[data-theme="dark"] .small-box.bg-danger,
[data-theme="dark"] .small-box.bg-secondary {
    filter: saturate(0.72) brightness(0.82);
}

[data-theme="dark"] .badge {
    border: 1px solid rgba(148, 163, 184, 0.24);
}

[data-theme="dark"] .brand-link,
[data-theme="dark"] .brand-link .brand-text,
[data-theme="dark"] .user-panel,
[data-theme="dark"] .user-panel a,
[data-theme="dark"] .nav-sidebar .nav-link,
[data-theme="dark"] .nav-sidebar .nav-icon,
[data-theme="dark"] .dropdown-item,
[data-theme="dark"] .dropdown-header,
[data-theme="dark"] .card-header,
[data-theme="dark"] .card-footer,
[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer,
[data-theme="dark"] .table,
[data-theme="dark"] .table thead th,
[data-theme="dark"] .table tbody td,
[data-theme="dark"] .table tbody th,
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] .input-group-text,
[data-theme="dark"] .btn-outline-secondary {
    color: #e5e7eb !important;
}

[data-theme="dark"] .nav-sidebar .nav-link.active,
[data-theme="dark"] .nav-sidebar .nav-link:hover,
[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus {
    background-color: #1f2937 !important;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] .input-group-text,
[data-theme="dark"] .custom-select {
    background-color: #0f172a;
    border-color: #334155;
}

.admin-brand-logo {
    width: 32px;
    height: 32px;
    max-height: 32px;
    object-fit: cover;
    border-radius: 8px;
    background: #ffffff;
}

.admin-setting-logo-preview,
.admin-setting-logo-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #ffffff;
}

.admin-setting-logo-preview {
    object-fit: cover;
}

.admin-setting-logo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f766e;
    font-size: 1.45rem;
}

[data-theme="dark"] .form-control::placeholder {
    color: #94a3b8;
}

[data-theme="dark"] .table-striped tbody tr:nth-of-type(odd) {
    background-color: #0b1220;
}

.theme-toggle-btn {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

[data-theme="dark"] .theme-toggle-btn,
[data-theme="dark"] .theme-toggle-btn.btn-outline-secondary {
    background-color: #1f2937;
    border-color: #475569;
    color: #e5e7eb;
}

[data-theme="dark"] .theme-toggle-btn:hover,
[data-theme="dark"] .theme-toggle-btn:focus {
    background-color: #334155;
    border-color: #64748b;
    color: #ffffff;
}

.stat-card .inner h3 {
    font-size: 1.7rem;
}

.table td,
.table th {
    vertical-align: middle;
}

.dashboard-shell {
    position: relative;
    padding: 0.4rem;
}

.dashboard-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 24%),
        radial-gradient(circle at right center, rgba(59, 130, 246, 0.08), transparent 28%);
    pointer-events: none;
}

.dashboard-hero {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.34), transparent 22%),
        radial-gradient(circle at 15% 20%, rgba(45, 212, 191, 0.22), transparent 26%),
        linear-gradient(135deg, #091126 0%, #0d1a3a 52%, #0b1740 100%);
    color: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
    overflow: hidden;
}

.dashboard-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%);
    pointer-events: none;
}

.dashboard-hero__content {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.dashboard-hero__copy {
    max-width: 760px;
}

.dashboard-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.14);
    color: #d1fae5;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.dashboard-hero__title {
    margin: 0.7rem 0 0.35rem;
    font-size: 2rem;
    line-height: 1.15;
}

.dashboard-hero__subtitle {
    margin: 0;
    max-width: 680px;
    color: rgba(248, 250, 252, 0.8);
}

.dashboard-hero__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 0.85rem;
    width: min(100%, 360px);
}

.hero-kpi {
    padding: 0.95rem 1rem;
    border-radius: 8px;
    background: rgba(8, 15, 35, 0.52);
    border: 1px solid rgba(96, 165, 250, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-kpi__label {
    display: block;
    color: rgba(248, 250, 252, 0.72);
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.hero-kpi__value {
    display: block;
    font-size: 1.3rem;
    line-height: 1.2;
}

.dashboard-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.metric-card {
    position: relative;
    display: flex;
    gap: 0.95rem;
    min-height: 144px;
    padding: 1rem 1rem 0.95rem;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        linear-gradient(160deg, #0b1430 0%, #081226 100%);
    border: 1px solid rgba(96, 165, 250, 0.12);
    box-shadow:
        0 14px 30px rgba(2, 6, 23, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.metric-card::after {
    content: "";
    position: absolute;
    inset: auto -30% -45% auto;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    background: var(--metric-glow, rgba(59, 130, 246, 0.16));
    filter: blur(24px);
    pointer-events: none;
}

.metric-card__icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--metric-accent-soft, rgba(59, 130, 246, 0.18));
    color: var(--metric-accent, #60a5fa);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.metric-card__icon i {
    font-size: 1rem;
}

.metric-card__content {
    min-width: 0;
}

.metric-card__label {
    display: block;
    color: #93c5fd;
    font-size: 0.8rem;
    margin-bottom: 0.45rem;
}

.metric-card__value {
    display: block;
    color: #f8fafc;
    font-size: 1.7rem;
    line-height: 1.1;
    margin-bottom: 0.45rem;
}

.metric-card__note {
    margin: 0;
    color: #7dd3fc;
    opacity: 0.76;
    font-size: 0.82rem;
    line-height: 1.4;
}

.metric-card--cyan {
    --metric-accent: #22d3ee;
    --metric-accent-soft: rgba(34, 211, 238, 0.16);
    --metric-glow: rgba(34, 211, 238, 0.18);
}

.metric-card--blue {
    --metric-accent: #60a5fa;
    --metric-accent-soft: rgba(96, 165, 250, 0.16);
    --metric-glow: rgba(59, 130, 246, 0.18);
}

.metric-card--green {
    --metric-accent: #34d399;
    --metric-accent-soft: rgba(52, 211, 153, 0.16);
    --metric-glow: rgba(52, 211, 153, 0.18);
}

.metric-card--amber {
    --metric-accent: #fbbf24;
    --metric-accent-soft: rgba(251, 191, 36, 0.16);
    --metric-glow: rgba(245, 158, 11, 0.18);
}

.metric-card--teal {
    --metric-accent: #14b8a6;
    --metric-accent-soft: rgba(20, 184, 166, 0.16);
    --metric-glow: rgba(20, 184, 166, 0.2);
}

.metric-card--violet {
    --metric-accent: #818cf8;
    --metric-accent-soft: rgba(129, 140, 248, 0.16);
    --metric-glow: rgba(129, 140, 248, 0.18);
}

.metric-card--sky {
    --metric-accent: #38bdf8;
    --metric-accent-soft: rgba(56, 189, 248, 0.16);
    --metric-glow: rgba(56, 189, 248, 0.18);
}

.metric-card--rose {
    --metric-accent: #fb7185;
    --metric-accent-soft: rgba(251, 113, 133, 0.16);
    --metric-glow: rgba(251, 113, 133, 0.18);
}

.dashboard-panel {
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, #0a1430 0%, #091126 100%);
    border: 1px solid rgba(96, 165, 250, 0.1);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.2);
}

.dashboard-panel--glow {
    box-shadow:
        0 18px 36px rgba(2, 6, 23, 0.22),
        0 0 0 1px rgba(59, 130, 246, 0.08),
        0 0 30px rgba(59, 130, 246, 0.08);
}

.dashboard-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(10, 18, 40, 0.7);
    border-bottom: 1px solid rgba(96, 165, 250, 0.1);
}

.dashboard-panel__header .card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f8fafc;
}

.dashboard-panel__note {
    color: #7dd3fc;
    font-size: 0.82rem;
    line-height: 1.35;
    opacity: 0.78;
}

.dashboard-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    color: #7dd3fc;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(56, 189, 248, 0.16);
}

.dashboard-chip--alert {
    background: rgba(251, 113, 133, 0.1);
    color: #fda4af;
    border-color: rgba(251, 113, 133, 0.16);
}

.dashboard-table thead th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0;
    color: #7dd3fc;
    border-bottom-width: 1px;
    background: rgba(9, 17, 38, 0.92);
}

.dashboard-table tbody td {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: #dbeafe;
    border-top-color: rgba(96, 165, 250, 0.08);
}

.dashboard-table.table-striped tbody tr:nth-of-type(odd) {
    background: rgba(13, 28, 60, 0.42);
}

.dashboard-table.table-striped tbody tr:nth-of-type(even) {
    background: rgba(8, 18, 38, 0.68);
}

#revenueChart,
#occupancyChart {
    min-height: 260px;
}

[data-theme="dark"] .dashboard-hero {
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.3), transparent 22%),
        radial-gradient(circle at 15% 20%, rgba(45, 212, 191, 0.22), transparent 26%),
        linear-gradient(135deg, #020617 0%, #08112a 52%, #0a1438 100%);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.38);
}

[data-theme="dark"] .hero-kpi {
    background: rgba(15, 23, 42, 0.4);
    border-color: rgba(148, 163, 184, 0.16);
}

[data-theme="dark"] .dashboard-panel__note,
[data-theme="dark"] .dashboard-table thead th {
    color: #94a3b8;
}

[data-theme="dark"] .dashboard-chip {
    background: rgba(20, 184, 166, 0.12);
    color: #99f6e4;
}

[data-theme="dark"] .dashboard-chip--alert {
    background: rgba(239, 68, 68, 0.14);
    color: #fca5a5;
}

html:not([data-theme="dark"]) .dashboard-shell::before {
    display: none;
}

html:not([data-theme="dark"]) .dashboard-hero {
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.08)),
        #ffffff;
    color: #111827;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

html:not([data-theme="dark"]) .dashboard-hero::after {
    display: none;
}

html:not([data-theme="dark"]) .dashboard-eyebrow {
    background: #e0f2fe;
    color: #0369a1;
}

html:not([data-theme="dark"]) .dashboard-hero__subtitle {
    color: #64748b;
}

html:not([data-theme="dark"]) .hero-kpi {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

html:not([data-theme="dark"]) .hero-kpi__label {
    color: #64748b;
}

html:not([data-theme="dark"]) .hero-kpi__value {
    color: #111827;
}

html:not([data-theme="dark"]) .metric-card,
html:not([data-theme="dark"]) .dashboard-panel {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

html:not([data-theme="dark"]) .metric-card::after {
    display: none;
}

html:not([data-theme="dark"]) .metric-card__icon {
    background: var(--metric-accent-soft, #e0f2fe);
    box-shadow: none;
}

html:not([data-theme="dark"]) .metric-card__label,
html:not([data-theme="dark"]) .metric-card__note,
html:not([data-theme="dark"]) .dashboard-panel__note {
    color: #64748b;
}

html:not([data-theme="dark"]) .metric-card__value,
html:not([data-theme="dark"]) .dashboard-panel__header .card-title {
    color: #111827;
}

html:not([data-theme="dark"]) .dashboard-panel__header {
    background: #f8fafc;
    border-color: #e5e7eb;
}

html:not([data-theme="dark"]) .dashboard-chip {
    background: #e0f2fe;
    border-color: #bae6fd;
    color: #0369a1;
}

html:not([data-theme="dark"]) .dashboard-chip--alert {
    background: #fee2e2;
    border-color: #fecaca;
    color: #b91c1c;
}

html:not([data-theme="dark"]) .dashboard-table thead th {
    background: #f8fafc;
    color: #475569;
}

html:not([data-theme="dark"]) .dashboard-table tbody td {
    color: #1f2937;
    border-top-color: #e5e7eb;
}

html:not([data-theme="dark"]) .dashboard-table.table-striped tbody tr:nth-of-type(odd) {
    background: #ffffff;
}

html:not([data-theme="dark"]) .dashboard-table.table-striped tbody tr:nth-of-type(even) {
    background: #f8fafc;
}

@media (max-width: 767.98px) {
    .dashboard-metric-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-hero {
        padding: 1.1rem 1rem;
    }

    .dashboard-hero__title {
        font-size: 1.6rem;
    }

    .dashboard-hero__meta {
        grid-template-columns: 1fr;
        width: 100%;
    }

    #revenueChart,
    #occupancyChart {
        min-height: 220px;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .dashboard-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.admin-page {
    position: relative;
}

.admin-page__hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding: 1.35rem 1.4rem;
    border-radius: 8px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.24), transparent 22%),
        linear-gradient(135deg, #091126 0%, #0c1732 52%, #0f1d45 100%);
    color: #f8fafc;
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.2);
}

.admin-page__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.12);
    color: #bfdbfe;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-page__title {
    margin: 0.7rem 0 0.35rem;
    font-size: 1.9rem;
    line-height: 1.12;
}

.admin-page__subtitle {
    margin: 0;
    max-width: 680px;
    color: rgba(248, 250, 252, 0.78);
}

.admin-page__cta,
.admin-page__back-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding-inline: 1rem;
}

.admin-page__back-link {
    border-color: rgba(191, 219, 254, 0.28);
    color: #e2e8f0;
}

.admin-page__back-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.admin-summary-card {
    padding: 1rem 1.1rem;
    border-radius: 8px;
    background: linear-gradient(160deg, #0b1430 0%, #081226 100%);
    border: 1px solid rgba(96, 165, 250, 0.12);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.18);
}

.admin-summary-card__label {
    display: block;
    color: #7dd3fc;
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
}

.admin-summary-card__value {
    display: block;
    color: #f8fafc;
    font-size: 1.65rem;
    line-height: 1.1;
}

.admin-panel {
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, #0a1430 0%, #091126 100%);
    border: 1px solid rgba(96, 165, 250, 0.1);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.18);
}

.admin-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(10, 18, 40, 0.72);
    border-bottom: 1px solid rgba(96, 165, 250, 0.1);
}

.admin-panel__header .card-title {
    color: #f8fafc;
    font-weight: 700;
}

.admin-panel__note {
    color: #93c5fd;
    font-size: 0.82rem;
    line-height: 1.35;
    opacity: 0.8;
}

.admin-data-table thead th {
    font-size: 0.78rem;
    text-transform: uppercase;
    color: #7dd3fc;
    background: rgba(9, 17, 38, 0.92);
    border-bottom-width: 1px;
}

.admin-data-table tbody td {
    color: #dbeafe;
    border-top-color: rgba(96, 165, 250, 0.08);
}

.admin-data-table.table-bordered td,
.admin-data-table.table-bordered th {
    border-color: rgba(96, 165, 250, 0.08);
}

.admin-data-table.table-hover tbody tr:hover {
    background: rgba(37, 99, 235, 0.12);
}

.admin-id-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    color: #7dd3fc;
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-user-cell {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.admin-user-cell__avatar {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(59, 130, 246, 0.22));
    color: #e0f2fe;
    font-size: 0.88rem;
    font-weight: 700;
}

.admin-role-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    background: rgba(129, 140, 248, 0.14);
    color: #c7d2fe;
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-actions-cell {
    white-space: nowrap;
}

.bill-generate-actions {
    margin-bottom: 1rem;
}

.bill-filter-form .form-control {
    min-height: 38px;
}

.bill-filter-actions,
.bill-status-form,
.bill-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bill-filter-actions,
.bill-actions {
    flex-wrap: wrap;
}

.bill-status-form {
    min-width: 180px;
}

.bill-status-form .form-control {
    min-width: 120px;
}

.bill-actions form,
.bill-actions .btn,
.bill-status-form .btn {
    margin: 0;
}

.bill-actions .btn,
.bill-status-form .btn,
.bill-filter-actions .btn {
    white-space: nowrap;
}

.admin-btn {
    border-radius: 999px;
    min-height: 34px;
    padding-inline: 0.85rem;
    border: 1px solid transparent;
}

.admin-btn--primary {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    border: none;
}

.admin-btn--edit {
    background: rgba(251, 191, 36, 0.14);
    border-color: rgba(251, 191, 36, 0.2);
    color: #fde68a;
}

.admin-btn--edit:hover {
    color: #fff7cc;
    background: rgba(251, 191, 36, 0.2);
}

.admin-btn--danger {
    background: rgba(251, 113, 133, 0.12);
    border-color: rgba(251, 113, 133, 0.18);
    color: #fda4af;
}

.admin-btn--danger:hover {
    color: #ffe4e6;
    background: rgba(251, 113, 133, 0.18);
}

.admin-btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
}

.admin-btn--ghost:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.admin-form-body {
    padding-top: 1.15rem;
}

.admin-input,
.admin-input.form-control,
.admin-input.custom-select {
    border-radius: 8px;
    min-height: 42px;
    background: rgba(8, 18, 38, 0.72);
    border-color: rgba(96, 165, 250, 0.14);
    color: #e2e8f0;
}

.admin-input:focus {
    background: rgba(8, 18, 38, 0.9);
    border-color: rgba(56, 189, 248, 0.42);
    box-shadow: 0 0 0 0.18rem rgba(56, 189, 248, 0.12);
    color: #f8fafc;
}

.admin-input-append {
    border-radius: 0 8px 8px 0;
    background: rgba(14, 23, 46, 0.86);
    border: 1px solid rgba(96, 165, 250, 0.14);
    border-left: 0;
    color: #cbd5e1;
}

.admin-input-append:hover {
    color: #ffffff;
    background: rgba(30, 41, 59, 0.9);
}

.admin-panel__footer {
    border-top: 1px solid rgba(96, 165, 250, 0.1);
    background: rgba(9, 17, 38, 0.88);
}

.admin-form-empty {
    min-height: 180px;
    display: flex;
    align-items: center;
}

.admin-room-thumb {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.28);
}

.admin-room-image-preview {
    width: min(100%, 280px);
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.28);
}

.admin-room-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
}

.admin-room-image-grid .admin-room-image-preview {
    width: 100%;
    height: 110px;
    max-height: none;
}

[data-theme="dark"] .admin-page__back-link {
    border-color: rgba(148, 163, 184, 0.22);
}

@media (max-width: 767.98px) {
    .admin-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .admin-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

html:not([data-theme="dark"]) .admin-page__hero {
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.08)),
        #ffffff;
    color: #111827;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

html:not([data-theme="dark"]) .admin-page__eyebrow {
    background: #e0f2fe;
    color: #0369a1;
}

html:not([data-theme="dark"]) .admin-page__subtitle {
    color: #64748b;
}

html:not([data-theme="dark"]) .admin-page__back-link {
    border-color: #cbd5e1;
    color: #334155;
}

html:not([data-theme="dark"]) .admin-page__back-link:hover {
    background: #f8fafc;
    color: #0f172a;
}

html:not([data-theme="dark"]) .admin-summary-card,
html:not([data-theme="dark"]) .admin-panel {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

html:not([data-theme="dark"]) .admin-summary-card__label,
html:not([data-theme="dark"]) .admin-panel__note {
    color: #64748b;
}

html:not([data-theme="dark"]) .admin-summary-card__value,
html:not([data-theme="dark"]) .admin-panel__header .card-title {
    color: #111827;
}

html:not([data-theme="dark"]) .admin-panel__header,
html:not([data-theme="dark"]) .admin-panel__footer {
    background: #f8fafc;
    border-color: #e5e7eb;
}

html:not([data-theme="dark"]) .admin-data-table thead th {
    background: #f8fafc;
    color: #475569;
}

html:not([data-theme="dark"]) .admin-data-table tbody td {
    color: #1f2937;
    border-top-color: #e5e7eb;
}

html:not([data-theme="dark"]) .admin-data-table.table-bordered td,
html:not([data-theme="dark"]) .admin-data-table.table-bordered th {
    border-color: #e5e7eb;
}

html:not([data-theme="dark"]) .admin-data-table.table-hover tbody tr:hover {
    background: #f8fafc;
}

html:not([data-theme="dark"]) .admin-id-pill {
    background: #e0f2fe;
    color: #0369a1;
}

html:not([data-theme="dark"]) .admin-user-cell__avatar {
    background: linear-gradient(135deg, #dbeafe, #e0f2fe);
    color: #075985;
}

html:not([data-theme="dark"]) .admin-role-badge {
    background: #eef2ff;
    color: #4338ca;
}

html:not([data-theme="dark"]) .admin-btn--edit {
    background: #fef3c7;
    border-color: #fde68a;
    color: #92400e;
}

html:not([data-theme="dark"]) .admin-btn--edit:hover {
    background: #fde68a;
    color: #78350f;
}

html:not([data-theme="dark"]) .admin-btn--danger {
    background: #fee2e2;
    border-color: #fecaca;
    color: #b91c1c;
}

html:not([data-theme="dark"]) .admin-btn--danger:hover {
    background: #fecaca;
    color: #7f1d1d;
}

html:not([data-theme="dark"]) .admin-btn--ghost {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
}

html:not([data-theme="dark"]) .admin-btn--ghost:hover {
    background: #f8fafc;
    color: #0f172a;
}

html:not([data-theme="dark"]) .admin-input,
html:not([data-theme="dark"]) .admin-input.form-control,
html:not([data-theme="dark"]) .admin-input.custom-select {
    background: #ffffff;
    border-color: #ced4da;
    color: #495057;
}

html:not([data-theme="dark"]) .admin-input:focus {
    background: #ffffff;
    border-color: #80bdff;
    color: #495057;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

html:not([data-theme="dark"]) .admin-input-append {
    background: #f8f9fa;
    border-color: #ced4da;
    color: #495057;
}

.public-site {
    min-height: 100vh;
    background: #f8fafc;
    color: #0f172a;
}

.public-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(248, 250, 252, 0.92);
    border-bottom: 1px solid #e2e8f0;
    backdrop-filter: blur(14px);
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 800;
    color: #0f172a;
}

.public-brand:hover,
.public-nav .nav-link:hover {
    color: #0369a1;
}

.public-brand__mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #ffffff;
    overflow: hidden;
}

.public-brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-nav .nav-link {
    color: #334155;
    font-weight: 650;
}

.public-menu-toggle {
    border-color: #cbd5e1;
    color: #0f172a;
}

.public-language-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding-inline: 0.78rem;
    font-weight: 750;
}

.public-language-menu .dropdown-item.active {
    background: #0ea5e9;
}

.public-login-btn,
.public-primary-btn,
.public-ghost-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding-inline: 1rem;
    font-weight: 700;
}

.public-login-btn,
.public-primary-btn {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #ffffff;
    border: none;
}

.public-login-btn:hover,
.public-primary-btn:hover {
    color: #ffffff;
    filter: brightness(0.96);
}

.public-ghost-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

.public-ghost-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.public-hero {
    padding: 3.5rem 0 3rem;
    background:
        radial-gradient(circle at 12% 18%, rgba(20, 184, 166, 0.12), transparent 26%),
        radial-gradient(circle at 84% 16%, rgba(245, 158, 11, 0.1), transparent 24%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.public-hero__grid,
.public-detail__grid,
.public-form-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 2.4rem;
    align-items: center;
}

.public-hero__grid {
    grid-template-columns: minmax(0, 920px);
    justify-content: center;
    text-align: center;
}

.public-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    background: #e0f2fe;
    border: 1px solid transparent;
    color: #0369a1;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
}

.public-hero .public-eyebrow {
    margin-bottom: 0.15rem;
}

.public-hero h1,
.public-page-head h1,
.public-detail h1,
.public-form-copy h1 {
    margin: 0.7rem 0 0.75rem;
    color: #0f172a;
    font-size: 2.85rem;
    line-height: 1.08;
    font-weight: 850;
}

.public-hero p,
.public-page-head p,
.public-detail p,
.public-form-copy p {
    max-width: 680px;
    color: #475569;
    font-size: 1.04rem;
    line-height: 1.7;
}

.public-hero p {
    margin-left: auto;
    margin-right: auto;
}

.public-hero__copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.public-search {
    display: flex;
    gap: 0.75rem;
    max-width: 620px;
    margin: 1.45rem auto 0.95rem;
    padding: 0.45rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.public-search div {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-left: 0.85rem;
    color: #64748b;
}

.public-search input,
.public-filter input,
.public-filter select,
.public-form-card input,
.public-form-card textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
}

.public-search input {
    border: 0;
    outline: 0;
}

.public-search button,
.public-filter button,
.public-form-card button {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #ffffff;
    font-weight: 800;
    padding: 0.72rem 1.25rem;
}

.public-hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin: 0 0 1.15rem;
}

.public-hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 34px;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(203, 213, 225, 0.72);
    color: #334155;
    font-size: 0.88rem;
    font-weight: 750;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.public-hero__trust i {
    color: #0284c7;
}

.public-hero__actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.public-section,
.public-form-page,
.public-detail,
.public-page-head {
    padding: 3rem 0;
}

.public-section--soft {
    background: #eef6ff;
}

.public-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(203, 213, 225, 0.62);
}

.public-section__header h2,
.public-cta h2 {
    margin: 0.6rem 0 0;
    color: #0f172a;
    font-size: 2rem;
    font-weight: 820;
}

.public-section__header p {
    max-width: 680px;
    margin: 0.55rem 0 0;
    color: #64748b;
    line-height: 1.65;
}

.public-section__header a {
    color: #0369a1;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 38px;
    padding: 0.45rem 0.78rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dbeafe;
}

.public-room-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.public-room-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-room-card {
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.public-room-card:hover {
    border-color: #bae6fd;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.public-room-card__media {
    position: relative;
    min-height: 190px;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(160deg, rgba(37, 99, 235, 0.18), rgba(20, 184, 166, 0.14)),
        #e0f2fe;
    color: #0369a1;
    text-decoration: none;
}

.public-room-card__media i {
    font-size: 3.2rem;
}

.public-room-card__media--image,
.public-detail__media--image {
    background-size: cover;
    background-position: center;
}

.public-room-card__badge {
    position: absolute;
    left: 0.85rem;
    top: 0.85rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 0.78rem;
    font-weight: 800;
}

.public-room-card__badge--occupied {
    background: #fef3c7;
    color: #92400e;
}

.public-room-card__badge--maintenance {
    background: #fee2e2;
    color: #991b1b;
}

.public-room-card__body {
    padding: 1.05rem;
}

.public-room-card__top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}

.public-room-card h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.28;
    font-weight: 800;
}

.public-room-card h3 a {
    color: #0f172a;
    text-decoration: none;
}

.public-room-card strong {
    white-space: nowrap;
    color: #0369a1;
}

.public-room-card__category {
    display: inline-flex;
    margin-top: 0.55rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.78rem;
    font-weight: 800;
}

.public-room-card p {
    margin: 0.7rem 0;
    color: #64748b;
    line-height: 1.55;
    display: -webkit-box;
    min-height: 3.1em;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.public-room-card__meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.public-room-card__meta span,
.public-feature-list span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 650;
}

.public-area-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.public-area-grid--large .public-area-card {
    min-height: 210px;
}

.public-area-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 170px;
    padding: 1.1rem;
    border-radius: 8px;
    background:
        linear-gradient(160deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.08)),
        #ffffff;
    border: 1px solid #dbeafe;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.public-area-card span,
.public-area-card em {
    color: #0369a1;
    font-style: normal;
    font-weight: 800;
}

.public-area-card strong {
    font-size: 1.35rem;
}

.public-area-card p {
    margin: 0;
    color: #64748b;
}

.public-map-layout {
    display: block;
}

.public-map-frame {
    min-height: 520px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dbeafe;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.public-map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
}

.public-page-head {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.16), transparent 24%),
        #ffffff;
}

.public-filter {
    display: grid;
    grid-template-columns: minmax(180px, 1.2fr) repeat(5, minmax(130px, 1fr)) auto;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.public-filter input,
.public-filter select,
.public-form-card input,
.public-form-card textarea {
    min-height: 44px;
    padding: 0.7rem 0.85rem;
}

.public-detail__media {
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 8px;
    background:
        linear-gradient(160deg, rgba(15, 23, 42, 0.18), rgba(14, 165, 233, 0.08)),
        url("https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?auto=format&fit=crop&w=1200&q=80") center/cover;
    color: #ffffff;
    overflow: hidden;
}

.public-detail__media span {
    position: absolute;
    z-index: 3;
    left: 1rem;
    top: 1rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #0369a1;
    font-weight: 800;
}

.public-detail__media i {
    position: relative;
    z-index: 2;
    font-size: 4rem;
    text-shadow: 0 12px 32px rgba(15, 23, 42, 0.4);
}

.public-detail-slider__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.public-detail-slider__slide.is-active {
    opacity: 1;
}

.public-detail-slider__nav {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    color: #0369a1;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
    transform: translateY(-50%);
}

.public-detail-slider__nav i {
    position: static;
    font-size: 0.95rem;
    text-shadow: none;
}

.public-detail-slider__nav--prev {
    left: 1rem;
}

.public-detail-slider__nav--next {
    right: 1rem;
}

.public-detail-slider__dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 1rem;
    display: flex;
    gap: 0.45rem;
    transform: translateX(-50%);
}

.public-detail-slider__dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
}

.public-detail-slider__dots button.is-active {
    width: 24px;
    background: #ffffff;
}

.public-back-link {
    display: inline-flex;
    gap: 0.35rem;
    color: #0369a1;
    text-decoration: none;
    font-weight: 800;
}

.public-detail__price {
    display: block;
    color: #0369a1;
    font-size: 1.55rem;
    margin-bottom: 0.8rem;
}

.public-feature-list,
.public-detail__actions,
.public-check-list,
.public-contact-card {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.public-detail__actions {
    margin-top: 1.25rem;
}

.public-call-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #cce3d6;
    color: #0f766e;
    font-weight: 800;
}

.public-room-card__notice {
    margin-top: 0.72rem;
    padding: 0.58rem 0.68rem;
    border-radius: 8px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 0.84rem;
    font-weight: 700;
}

.public-viewing-section {
    background: linear-gradient(180deg, #ffffff 0%, #f2fbf7 100%);
}

.public-viewing-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.public-viewing-grid h2 {
    margin: 0.65rem 0 0.5rem;
    color: #17201d;
    font-size: 2rem;
    font-weight: 820;
}

.public-viewing-grid p {
    color: #53645d;
    line-height: 1.65;
}

.public-quick-contact {
    position: fixed;
    right: 1.25rem;
    bottom: 6.15rem;
    z-index: 9999;
    display: grid;
    gap: 0.55rem;
}

.public-quick-contact a {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ffffff;
    color: #0f766e;
    border: 1px solid #cce3d6;
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.22);
    text-decoration: none;
    font-weight: 900;
}

.public-quick-contact a:hover {
    background: #0f766e;
    color: #ffffff;
}

.public-form-page {
    background:
        radial-gradient(circle at 10% 10%, rgba(20, 184, 166, 0.12), transparent 24%),
        #f8fafc;
}

.public-form-card {
    display: grid;
    gap: 0.85rem;
    padding: 1.2rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.public-form-card label {
    display: grid;
    gap: 0.38rem;
    color: #334155;
    font-weight: 750;
}

.public-check-list span,
.public-contact-card span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    color: #334155;
    font-weight: 700;
}

.public-contact-card a {
    color: inherit;
    text-decoration: none;
}

.public-contact-card a:hover {
    color: #0f766e;
}

.public-empty {
    padding: 3rem 1rem;
    text-align: center;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.public-empty i {
    color: #0284c7;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.public-cta {
    padding: 3rem 0;
    background: #0f172a;
    color: #ffffff;
}

.public-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.public-cta h2 {
    color: #ffffff;
}

.public-footer {
    position: relative;
    padding: 2.25rem 0;
    background:
        radial-gradient(circle at 15% 0%, rgba(20, 184, 166, 0.26), transparent 30%),
        linear-gradient(135deg, #0b2f2a 0%, #0f513f 54%, #0f766e 100%);
    color: #ecfdf5;
    overflow: hidden;
}

.public-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 1px solid rgba(167, 243, 208, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%);
    pointer-events: none;
}

.public-footer__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) repeat(2, minmax(170px, 0.42fr));
    align-items: start;
    gap: 1.5rem;
}

.public-footer__grid--with-extra {
    grid-template-columns: minmax(280px, 1fr) repeat(2, minmax(170px, 0.42fr)) minmax(220px, 0.65fr);
}

.public-footer p {
    margin: 0.45rem 0 0;
    color: rgba(236, 253, 245, 0.82);
    line-height: 1.6;
}

.public-footer span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #bbf7d0;
    font-size: 0.85rem;
    font-weight: 750;
    text-transform: uppercase;
}

.public-footer strong {
    color: #ffffff;
}

.public-footer__brand strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.public-footer__contact,
.public-footer__extra {
    padding: 0.95rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(204, 251, 241, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.public-footer__extra {
    max-width: none;
}

.public-footer__link-list {
    display: grid;
    gap: 0.38rem;
    margin-top: 0.55rem;
}

.public-footer__link-list a {
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.public-footer__link-list strong {
    color: #bbf7d0;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.public-footer__link-list a:hover {
    color: #bbf7d0;
}

html:not([data-theme="dark"]) .public-site {
    background: #f7faf7;
    color: #17201d;
}

html:not([data-theme="dark"]) .public-nav {
    background: rgba(247, 250, 247, 0.94);
    border-color: #dbe7df;
}

html:not([data-theme="dark"]) .public-brand,
html:not([data-theme="dark"]) .public-nav .nav-link,
html:not([data-theme="dark"]) .public-menu-toggle {
    color: #17201d;
}

html:not([data-theme="dark"]) .public-brand:hover,
html:not([data-theme="dark"]) .public-nav .nav-link:hover,
html:not([data-theme="dark"]) .public-section__header a,
html:not([data-theme="dark"]) .public-back-link,
html:not([data-theme="dark"]) .public-detail__price {
    color: #0f766e;
}

html:not([data-theme="dark"]) .public-brand__mark,
html:not([data-theme="dark"]) .public-login-btn,
html:not([data-theme="dark"]) .public-primary-btn,
html:not([data-theme="dark"]) .public-search button,
html:not([data-theme="dark"]) .public-filter button,
html:not([data-theme="dark"]) .public-form-card button {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

html:not([data-theme="dark"]) .public-language-menu .dropdown-item.active {
    background: #0f766e;
}

html:not([data-theme="dark"]) .public-ghost-btn {
    background: #ffffff;
    border-color: #bfd8cc;
    color: #17201d;
}

html:not([data-theme="dark"]) .public-ghost-btn:hover {
    background: #edf7f2;
    color: #0f513f;
}

html:not([data-theme="dark"]) .public-hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(20, 184, 166, 0.13), transparent 26%),
        radial-gradient(circle at 84% 16%, rgba(245, 158, 11, 0.11), transparent 24%),
        linear-gradient(180deg, #f7faf7 0%, #ffffff 100%);
}

html:not([data-theme="dark"]) .public-hero__trust span {
    background: rgba(255, 255, 255, 0.82);
    border-color: #dbe7df;
    color: #33574a;
}

html:not([data-theme="dark"]) .public-hero__trust i {
    color: #0f766e;
}

html:not([data-theme="dark"]) .public-eyebrow {
    background: #dff7ed;
    border-color: #c8eadb;
    color: #0f766e;
}

html:not([data-theme="dark"]) .public-hero h1,
html:not([data-theme="dark"]) .public-page-head h1,
html:not([data-theme="dark"]) .public-detail h1,
html:not([data-theme="dark"]) .public-form-copy h1,
html:not([data-theme="dark"]) .public-section__header h2,
html:not([data-theme="dark"]) .public-cta h2,
html:not([data-theme="dark"]) .public-room-card h3 a,
html:not([data-theme="dark"]) .public-area-card {
    color: #17201d;
}

html:not([data-theme="dark"]) .public-hero p,
html:not([data-theme="dark"]) .public-page-head p,
html:not([data-theme="dark"]) .public-detail p,
html:not([data-theme="dark"]) .public-form-copy p,
html:not([data-theme="dark"]) .public-room-card p,
html:not([data-theme="dark"]) .public-section__header p,
html:not([data-theme="dark"]) .public-area-card p {
    color: #53645d;
}

html:not([data-theme="dark"]) .public-search,
html:not([data-theme="dark"]) .public-room-card,
html:not([data-theme="dark"]) .public-form-card,
html:not([data-theme="dark"]) .public-empty {
    border-color: #dbe7df;
    box-shadow: 0 16px 34px rgba(23, 32, 29, 0.08);
}

html:not([data-theme="dark"]) .public-search {
    border-color: #cce3d6;
}

html:not([data-theme="dark"]) .public-search input,
html:not([data-theme="dark"]) .public-filter input,
html:not([data-theme="dark"]) .public-filter select,
html:not([data-theme="dark"]) .public-form-card input,
html:not([data-theme="dark"]) .public-form-card textarea {
    border-color: #bfd8cc;
    color: #17201d;
}

html:not([data-theme="dark"]) .public-empty i {
    color: #0f766e;
}

html:not([data-theme="dark"]) .public-section--soft {
    background: #edf7f2;
}

html:not([data-theme="dark"]) .public-home-rooms {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
}

html:not([data-theme="dark"]) .public-section__header {
    border-bottom-color: #dbe7df;
}

html:not([data-theme="dark"]) .public-section__header a {
    background: #ffffff;
    border-color: #cce3d6;
    color: #0f766e;
}

html:not([data-theme="dark"]) .public-room-card__media {
    background:
        linear-gradient(160deg, rgba(15, 118, 110, 0.16), rgba(245, 158, 11, 0.12)),
        #e4f4ec;
    color: #0f766e;
}

html:not([data-theme="dark"]) .public-room-card:hover {
    border-color: #9bd8c2;
    box-shadow: 0 20px 42px rgba(23, 32, 29, 0.13);
}

html:not([data-theme="dark"]) .public-room-card strong,
html:not([data-theme="dark"]) .public-area-card span,
html:not([data-theme="dark"]) .public-area-card em {
    color: #b45309;
}

html:not([data-theme="dark"]) .public-room-card__category,
html:not([data-theme="dark"]) .public-room-card__meta span,
html:not([data-theme="dark"]) .public-feature-list span {
    background: #f2f8f4;
    color: #33574a;
}

html:not([data-theme="dark"]) .public-room-card__category {
    background: #fff4d6;
    color: #92400e;
}

html:not([data-theme="dark"]) .public-area-card {
    background:
        linear-gradient(160deg, rgba(15, 118, 110, 0.08), rgba(245, 158, 11, 0.1)),
        #ffffff;
    border-color: #dbe7df;
    box-shadow: 0 10px 24px rgba(23, 32, 29, 0.06);
}

html:not([data-theme="dark"]) .public-map-frame,
html:not([data-theme="dark"]) .public-check-list span,
html:not([data-theme="dark"]) .public-contact-card span {
    border-color: #cce3d6;
}

html:not([data-theme="dark"]) .public-page-head {
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.16), transparent 24%),
        #ffffff;
}

html:not([data-theme="dark"]) .public-form-page {
    background:
        radial-gradient(circle at 10% 10%, rgba(245, 158, 11, 0.12), transparent 24%),
        #f7faf7;
}

html:not([data-theme="dark"]) .public-detail__media {
    background:
        linear-gradient(160deg, rgba(23, 32, 29, 0.2), rgba(15, 118, 110, 0.1)),
        url("https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?auto=format&fit=crop&w=1200&q=80") center/cover;
}

html:not([data-theme="dark"]) .public-detail__media span,
html:not([data-theme="dark"]) .public-detail-slider__nav {
    color: #0f766e;
}

html:not([data-theme="dark"]) .public-cta {
    background: linear-gradient(135deg, #12372f, #0f766e);
}

html:not([data-theme="dark"]) .public-cta h2 {
    color: #ffffff;
}

html:not([data-theme="dark"]) .public-cta .public-eyebrow {
    background: rgba(255, 255, 255, 0.14);
    color: #ccfbf1;
}

html:not([data-theme="dark"]) .public-cta .public-primary-btn {
    background: #f59e0b;
    color: #17201d;
}

html:not([data-theme="dark"]) .public-footer {
    background:
        radial-gradient(circle at 15% 0%, rgba(20, 184, 166, 0.24), transparent 30%),
        linear-gradient(135deg, #0b2f2a 0%, #0f513f 54%, #0f766e 100%);
}

html:not([data-theme="dark"]) .public-call-btn {
    color: #0f766e;
}

[data-theme="dark"] .public-site,
[data-theme="dark"] .public-page-head,
[data-theme="dark"] .public-form-page {
    background: #020617;
    color: #e5e7eb;
}

[data-theme="dark"] .public-nav {
    background: rgba(2, 6, 23, 0.92);
    border-color: #1e293b;
}

[data-theme="dark"] .public-footer {
    background:
        radial-gradient(circle at 15% 0%, rgba(45, 212, 191, 0.18), transparent 30%),
        linear-gradient(135deg, #020617 0%, #082f2a 58%, #0f513f 100%);
}

[data-theme="dark"] .public-language-btn,
[data-theme="dark"] .public-language-btn.btn-outline-secondary,
[data-theme="dark"] .public-language-menu {
    background: #0f172a;
    border-color: #334155;
    color: #e5e7eb;
}

[data-theme="dark"] .public-language-menu .dropdown-item {
    color: #e5e7eb;
}

[data-theme="dark"] .public-language-menu .dropdown-item:hover,
[data-theme="dark"] .public-language-menu .dropdown-item:focus {
    background: #1f2937;
}

[data-theme="dark"] .public-brand,
[data-theme="dark"] .public-nav .nav-link,
[data-theme="dark"] .public-menu-toggle,
[data-theme="dark"] .public-hero h1,
[data-theme="dark"] .public-page-head h1,
[data-theme="dark"] .public-detail h1,
[data-theme="dark"] .public-form-copy h1,
[data-theme="dark"] .public-section__header h2,
[data-theme="dark"] .public-room-card h3 a,
[data-theme="dark"] .public-area-card {
    color: #f8fafc;
}

[data-theme="dark"] .public-hero,
[data-theme="dark"] .public-section--soft {
    background:
        radial-gradient(circle at 88% 12%, rgba(14, 165, 233, 0.16), transparent 26%),
        linear-gradient(135deg, #020617 0%, #08112a 56%, #020617 100%);
}

[data-theme="dark"] .public-hero p,
[data-theme="dark"] .public-page-head p,
[data-theme="dark"] .public-detail p,
[data-theme="dark"] .public-form-copy p,
[data-theme="dark"] .public-room-card p,
[data-theme="dark"] .public-section__header p,
[data-theme="dark"] .public-area-card p {
    color: #94a3b8;
}

[data-theme="dark"] .public-eyebrow {
    border-color: #134e4a;
}

[data-theme="dark"] .public-room-card,
[data-theme="dark"] .public-area-card,
[data-theme="dark"] .public-form-card,
[data-theme="dark"] .public-empty,
[data-theme="dark"] .public-search,
[data-theme="dark"] .public-hero__trust span,
[data-theme="dark"] .public-check-list span,
[data-theme="dark"] .public-contact-card span {
    background: #0f172a;
    border-color: #1e293b;
}

[data-theme="dark"] .public-hero__trust span {
    color: #e5e7eb;
}

[data-theme="dark"] .public-hero__trust i {
    color: #5eead4;
}

[data-theme="dark"] .public-section__header {
    border-bottom-color: #1e293b;
}

[data-theme="dark"] .public-section__header a {
    background: #0f172a;
    border-color: #334155;
    color: #5eead4;
}

[data-theme="dark"] .public-map-frame {
    background: #0f172a;
    border-color: #1e293b;
}

[data-theme="dark"] .public-search input,
[data-theme="dark"] .public-filter input,
[data-theme="dark"] .public-filter select,
[data-theme="dark"] .public-form-card input,
[data-theme="dark"] .public-form-card textarea {
    background: #020617;
    border-color: #334155;
    color: #e5e7eb;
}

[data-theme="dark"] .public-call-btn,
[data-theme="dark"] .public-quick-contact a,
[data-theme="dark"] .public-room-card__notice {
    background: #111827;
    border-color: #334155;
    color: #5eead4;
}

[data-theme="dark"] .public-viewing-section {
    background: #020617;
}

[data-theme="dark"] .public-viewing-grid h2 {
    color: #f8fafc;
}

[data-theme="dark"] .public-viewing-grid p {
    color: #94a3b8;
}

[data-theme="dark"] .public-ghost-btn,
[data-theme="dark"] .public-room-card__meta span,
[data-theme="dark"] .public-feature-list span,
[data-theme="dark"] .public-room-card__category {
    background: #111827;
    border-color: #334155;
    color: #e5e7eb;
}

[data-theme="dark"] .public-form-card label,
[data-theme="dark"] .public-check-list span,
[data-theme="dark"] .public-contact-card span {
    color: #e5e7eb;
}

@media (max-width: 991.98px) {
    .public-hero__grid,
    .public-detail__grid,
    .public-form-page__grid,
    .public-map-layout,
    .public-room-grid,
    .public-room-grid--compact,
    .public-area-grid {
        grid-template-columns: 1fr;
    }

    .public-hero {
        padding: 2.5rem 0;
    }

    .public-hero__grid {
        text-align: center;
    }

    .public-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .public-hero__trust,
    .public-hero__actions {
        justify-content: center;
    }

    .public-search {
        margin-left: auto;
        margin-right: auto;
    }

    .public-section__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-hero h1,
    .public-page-head h1,
    .public-detail h1,
    .public-form-copy h1 {
        font-size: 2.2rem;
    }

    .public-filter {
        grid-template-columns: 1fr;
    }

    .public-viewing-grid {
        grid-template-columns: 1fr;
    }

    .public-search,
    .public-cta__inner,
    .public-footer__grid {
        align-items: stretch;
        flex-direction: column;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .public-search {
        border-radius: 8px;
        flex-direction: column;
    }

    .public-search div {
        min-height: 42px;
    }

    .public-detail__media {
        min-height: 320px;
    }

    .public-quick-contact {
        right: 0.85rem;
        bottom: 5.6rem;
    }

    .public-hero__trust span {
        width: 100%;
    }
}

.tenant-page {
    position: relative;
}

.tenant-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding: 1.35rem 1.4rem;
    border-radius: 8px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.24), transparent 22%),
        linear-gradient(135deg, #091126 0%, #0b1734 52%, #102148 100%);
    color: #f8fafc;
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.2);
}

.tenant-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.12);
    color: #bfdbfe;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tenant-hero__title {
    margin: 0.7rem 0 0.35rem;
    font-size: 1.9rem;
    line-height: 1.12;
}

.tenant-hero__subtitle {
    margin: 0;
    max-width: 680px;
    color: rgba(248, 250, 252, 0.8);
}

.tenant-hero__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 0.85rem;
    width: min(100%, 360px);
}

.tenant-kpi {
    padding: 0.95rem 1rem;
    border-radius: 8px;
    background: rgba(8, 15, 35, 0.52);
    border: 1px solid rgba(96, 165, 250, 0.12);
}

.tenant-kpi__label {
    display: block;
    color: rgba(248, 250, 252, 0.72);
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.tenant-kpi__value {
    display: block;
    color: #f8fafc;
    font-size: 1.3rem;
    line-height: 1.2;
}

.tenant-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.tenant-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(20, 184, 166, 0.12));
    border: 1px solid rgba(251, 191, 36, 0.28);
    color: #f8fafc;
}

.tenant-alert strong {
    display: block;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.tenant-alert p {
    margin: 0;
    color: rgba(248, 250, 252, 0.82);
}

html:not([data-theme="dark"]) .tenant-alert {
    background: #fffbeb;
    border-color: #fde68a;
    color: #78350f;
}

html:not([data-theme="dark"]) .tenant-alert strong {
    color: #92400e;
}

html:not([data-theme="dark"]) .tenant-alert p {
    color: #78350f;
}

.tenant-stat-card {
    padding: 1rem 1.05rem;
    border-radius: 8px;
    background: linear-gradient(160deg, #0b1430 0%, #081226 100%);
    border: 1px solid rgba(96, 165, 250, 0.12);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.18);
}

.tenant-stat-card__label {
    display: block;
    color: #7dd3fc;
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
}

.tenant-stat-card__value {
    display: block;
    color: #f8fafc;
    font-size: 1.55rem;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.tenant-stat-card__note {
    margin: 0;
    color: #93c5fd;
    opacity: 0.8;
    font-size: 0.82rem;
}

.tenant-panel {
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, #0a1430 0%, #091126 100%);
    border: 1px solid rgba(96, 165, 250, 0.1);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.18);
}

.tenant-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(10, 18, 40, 0.72);
    border-bottom: 1px solid rgba(96, 165, 250, 0.1);
}

.tenant-panel__header .card-title {
    color: #f8fafc;
    font-weight: 700;
}

.tenant-panel__note {
    color: #93c5fd;
    font-size: 0.82rem;
    line-height: 1.35;
    opacity: 0.8;
}

.tenant-panel__pill {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    color: #7dd3fc;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(56, 189, 248, 0.16);
}

.tenant-detail-list {
    display: grid;
    gap: 0.75rem;
}

.tenant-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0.9rem;
    border-radius: 8px;
    background: rgba(13, 28, 60, 0.42);
    color: #dbeafe;
}

.tenant-detail-item span {
    color: #7dd3fc;
    font-size: 0.82rem;
}

.tenant-bill-highlight {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.tenant-bill-highlight__primary,
.tenant-bill-highlight__status {
    padding: 1rem;
    border-radius: 8px;
    background: rgba(13, 28, 60, 0.42);
}

.tenant-bill-highlight span {
    display: block;
    color: #7dd3fc;
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
}

.tenant-bill-highlight strong {
    color: #f8fafc;
    font-size: 1.45rem;
    line-height: 1.1;
}

.tenant-table thead th {
    font-size: 0.78rem;
    text-transform: uppercase;
    color: #7dd3fc;
    background: rgba(9, 17, 38, 0.92);
}

.tenant-table tbody td {
    color: #dbeafe;
    border-top-color: rgba(96, 165, 250, 0.08);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.tenant-table.table-sm td,
.tenant-table.table-sm th {
    border-color: rgba(96, 165, 250, 0.08);
}

.tenant-table tbody tr:nth-of-type(odd) {
    background: rgba(13, 28, 60, 0.42);
}

.tenant-table tbody tr:nth-of-type(even) {
    background: rgba(8, 18, 38, 0.68);
}

.tenant-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.tenant-status-badge--paid {
    background: rgba(52, 211, 153, 0.14);
    color: #86efac;
}

.tenant-status-badge--unpaid,
.tenant-status-badge--active {
    background: rgba(251, 191, 36, 0.14);
    color: #fde68a;
}

.tenant-status-badge--overdue,
.tenant-status-badge--terminated {
    background: rgba(251, 113, 133, 0.12);
    color: #fda4af;
}

.tenant-status-badge--expired,
.tenant-status-badge--maintenance {
    background: rgba(129, 140, 248, 0.14);
    color: #c7d2fe;
}

.tenant-btn {
    border-radius: 999px;
    min-height: 34px;
    padding-inline: 0.9rem;
}

.tenant-btn--primary {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    border: none;
    color: #ffffff;
}

.tenant-btn--primary:hover {
    color: #ffffff;
}

.tenant-modal {
    background: linear-gradient(180deg, #0a1430 0%, #091126 100%);
    color: #e2e8f0;
    border: 1px solid rgba(96, 165, 250, 0.14);
}

.tenant-qr-card {
    padding: 1rem;
    border-radius: 8px;
    background: rgba(13, 28, 60, 0.42);
    border: 1px solid rgba(96, 165, 250, 0.08);
}

.tenant-id-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    color: #7dd3fc;
    font-size: 0.78rem;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .tenant-hero__meta,
    .tenant-stat-grid,
    .tenant-bill-highlight {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .tenant-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Luna moonlight palette */
:root {
    --luna-ink: #16211f;
    --luna-muted: #5c6f6b;
    --luna-page: #f7faf7;
    --luna-surface: #ffffff;
    --luna-surface-soft: #eef8f4;
    --luna-line: #dbe8e3;
    --luna-teal: #0f766e;
    --luna-teal-dark: #0b5f59;
    --luna-teal-soft: #dff4ee;
    --luna-sky: #2f80c5;
    --luna-gold: #e7b93f;
}

html:not([data-theme="dark"]) .public-site {
    background: var(--luna-page);
    color: var(--luna-ink);
}

html:not([data-theme="dark"]) .public-nav {
    background: rgba(255, 255, 255, 0.96);
    border-color: var(--luna-line);
    box-shadow: 0 10px 30px rgba(23, 32, 29, 0.04);
}

html:not([data-theme="dark"]) .public-brand__mark,
html:not([data-theme="dark"]) .public-login-btn,
html:not([data-theme="dark"]) .public-primary-btn,
html:not([data-theme="dark"]) .public-search button,
html:not([data-theme="dark"]) .public-filter button,
html:not([data-theme="dark"]) .public-form-card button {
    background: linear-gradient(135deg, var(--luna-teal-dark), var(--luna-teal));
    border-color: var(--luna-teal);
    color: #ffffff;
}

html:not([data-theme="dark"]) .public-brand,
html:not([data-theme="dark"]) .public-nav .nav-link,
html:not([data-theme="dark"]) .public-menu-toggle {
    color: var(--luna-ink);
}

html:not([data-theme="dark"]) .public-call-btn,
html:not([data-theme="dark"]) .public-ghost-btn,
html:not([data-theme="dark"]) .public-section__header a {
    background: var(--luna-surface);
    border-color: var(--luna-line);
    color: var(--luna-teal);
}

html:not([data-theme="dark"]) .public-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f3faf7 58%, var(--luna-page) 100%);
}

html:not([data-theme="dark"]) .public-page-head,
html:not([data-theme="dark"]) .public-form-page,
html:not([data-theme="dark"]) .public-detail {
    background: linear-gradient(180deg, #ffffff 0%, var(--luna-page) 100%);
}

html:not([data-theme="dark"]) .public-eyebrow {
    background: var(--luna-teal-soft);
    border-color: #c9e8df;
    color: var(--luna-teal-dark);
}

html:not([data-theme="dark"]) .public-hero h1,
html:not([data-theme="dark"]) .public-page-head h1,
html:not([data-theme="dark"]) .public-detail h1,
html:not([data-theme="dark"]) .public-form-copy h1,
html:not([data-theme="dark"]) .public-section__header h2,
html:not([data-theme="dark"]) .public-room-card h3 a {
    color: var(--luna-ink);
}

html:not([data-theme="dark"]) .public-hero p,
html:not([data-theme="dark"]) .public-page-head p,
html:not([data-theme="dark"]) .public-detail p,
html:not([data-theme="dark"]) .public-form-copy p,
html:not([data-theme="dark"]) .public-room-card p,
html:not([data-theme="dark"]) .public-section__header p {
    color: var(--luna-muted);
}

html:not([data-theme="dark"]) .public-hero__trust span,
html:not([data-theme="dark"]) .public-room-card,
html:not([data-theme="dark"]) .public-search,
html:not([data-theme="dark"]) .public-form-card,
html:not([data-theme="dark"]) .public-empty,
html:not([data-theme="dark"]) .public-area-card,
html:not([data-theme="dark"]) .public-map-frame,
html:not([data-theme="dark"]) .public-contact-card span,
html:not([data-theme="dark"]) .public-check-list span,
html:not([data-theme="dark"]) .public-filter {
    background: var(--luna-surface);
    border-color: var(--luna-line);
    box-shadow: 0 16px 34px rgba(23, 32, 29, 0.07);
}

html:not([data-theme="dark"]) .public-hero__trust i,
html:not([data-theme="dark"]) .public-detail__price,
html:not([data-theme="dark"]) .public-back-link {
    color: var(--luna-teal);
}

html:not([data-theme="dark"]) .public-hero__trust span {
    color: var(--luna-ink);
}

html:not([data-theme="dark"]) .public-room-card__media {
    background: linear-gradient(160deg, #e6f5f0 0%, #edf7fb 100%);
    color: var(--luna-teal);
}

html:not([data-theme="dark"]) .public-detail__media {
    background: linear-gradient(160deg, #e6f5f0 0%, #edf7fb 100%);
    border-color: var(--luna-line);
    color: var(--luna-teal);
}

html:not([data-theme="dark"]) .public-room-card__category,
html:not([data-theme="dark"]) .public-room-card__meta span,
html:not([data-theme="dark"]) .public-feature-list span {
    background: var(--luna-surface-soft);
    color: #24413b;
}

html:not([data-theme="dark"]) .public-room-card strong,
html:not([data-theme="dark"]) .public-area-card span,
html:not([data-theme="dark"]) .public-area-card em {
    color: var(--luna-sky);
}

html:not([data-theme="dark"]) .public-search input,
html:not([data-theme="dark"]) .public-filter input,
html:not([data-theme="dark"]) .public-filter select,
html:not([data-theme="dark"]) .public-form-card input,
html:not([data-theme="dark"]) .public-form-card textarea {
    background: #fbfdfb;
    border-color: var(--luna-line);
    color: var(--luna-ink);
}

html:not([data-theme="dark"]) .public-search input:focus,
html:not([data-theme="dark"]) .public-filter input:focus,
html:not([data-theme="dark"]) .public-filter select:focus,
html:not([data-theme="dark"]) .public-form-card input:focus,
html:not([data-theme="dark"]) .public-form-card textarea:focus {
    border-color: var(--luna-teal);
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.14);
}

html:not([data-theme="dark"]) .public-home-rooms {
    background: linear-gradient(180deg, var(--luna-page) 0%, #ffffff 100%);
}

html:not([data-theme="dark"]) .public-section--soft,
html:not([data-theme="dark"]) .public-viewing-section {
    background: var(--luna-surface-soft);
}

html:not([data-theme="dark"]) .public-footer {
    background: linear-gradient(135deg, #0f332f 0%, #0b5f59 62%, #0f766e 100%);
}

html:not([data-theme="dark"]) .public-footer::before {
    border-top-color: rgba(255, 255, 255, 0.18);
}

html:not([data-theme="dark"]) .public-footer span,
html:not([data-theme="dark"]) .public-footer__link-list strong,
html:not([data-theme="dark"]) .public-footer__link-list a:hover {
    color: #fff1bf;
}

html:not([data-theme="dark"]) .public-quick-contact a {
    background: var(--luna-surface);
    border-color: var(--luna-line);
    color: var(--luna-teal);
}

html:not([data-theme="dark"]) .public-quick-contact a:hover {
    background: var(--luna-teal);
    color: #ffffff;
}

