:root {
    /* Color Palette - Luxury Hotel Aesthetic */
    --navy-950: #070D18;
    --navy-900: #0C1527;
    --navy-850: #101D36;
    --navy-800: #172746;
    --navy-700: #22375F;
    
    --gold-50: #FCF9EE;
    --gold-100: #F7F0D6;
    --gold-200: #EEDFA9;
    --gold-300: #E3CA75;
    --gold-400: #D8B74E;
    --gold-500: #C9A84C;
    --gold-600: #B38F36;
    --gold-700: #8E6F25;

    --teal-500: #1FA39D;
    --teal-600: #178F8A;
    --teal-50: #EDF9F8;

    --ink-900: #0F172A;
    --ink-800: #1E293B;
    --ink-700: #334155;
    --ink-600: #475569;
    --ink-500: #64748B;
    --ink-400: #94A3B8;

    --surface-bg: #F4F6F9;
    --surface-card: #FFFFFF;
    --surface-muted: #F8FAFC;
    --line: #E2E8F0;
    --line-dark: rgba(255, 255, 255, 0.08);

    --emerald: #10B981;
    --emerald-soft: #ECFDF5;
    --rose: #F43F5E;
    --rose-soft: #FFF1F2;
    --amber: #F59E0B;
    --amber-soft: #FFFBEB;
    --sky: #0EA5E9;
    --sky-soft: #F0F9FF;

    /* Shadows & Elevation */
    --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
    --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    --shadow-hover: 0 12px 30px -4px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
    --shadow-dropdown: 0 16px 36px rgba(12, 21, 39, 0.16);

    /* Dimensions & Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --sidebar-w: 270px;
    --topbar-h: 70px;

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 14.5px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.admin-body {
    font-family: var(--font-sans);
    color: var(--ink-800);
    background-color: var(--surface-bg);
    min-height: 100vh;
    line-height: 1.55;
}

/* Typography styles */
h1, h2, h3, h4, h5 {
    color: var(--ink-900);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.luxury-title {
    font-family: var(--font-heading);
    letter-spacing: 0.03em;
}

a {
    color: var(--gold-600);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--gold-700);
}

code {
    background: var(--gold-50);
    color: var(--gold-700);
    border: 1px solid var(--gold-200);
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.85em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* ==========================================================================
   SIDEBAR & BRANDING
   ========================================================================== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-w);
    height: 100vh;
    background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-850) 100%);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    z-index: 100;
    border-right: 1px solid rgba(201, 168, 76, 0.15);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-brand {
    padding: 1.5rem 1.4rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-bottom: 1px solid var(--line-dark);
}

.brand-crest {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--navy-950);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.35);
    flex-shrink: 0;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-300);
    letter-spacing: 0.08em;
    line-height: 1.1;
}

.brand-sub {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    margin-top: 2px;
}

.sidebar-hotel-badge {
    padding: 0.75rem 1.2rem;
    border-bottom: 1px solid var(--line-dark);
}

.hotel-pill {
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.25);
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.pulse-indicator {
    width: 7px;
    height: 7px;
    background-color: var(--gold-400);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.6);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(201, 168, 76, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(201, 168, 76, 0); }
}

.hotel-pill-text {
    font-size: 0.78rem;
    color: var(--gold-200);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0.75rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}
.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.nav-section-title {
    padding: 0.85rem 0.75rem 0.35rem;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    margin-bottom: 2px;
    transition: all 0.18s ease;
    text-decoration: none;
    position: relative;
}

.nav-item:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.07);
    text-decoration: none;
    transform: translateX(2px);
}

.nav-item.active {
    color: var(--gold-300);
    background: linear-gradient(90deg, rgba(201, 168, 76, 0.18), rgba(201, 168, 76, 0.04));
    border: 1px solid rgba(201, 168, 76, 0.28);
    font-weight: 600;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3.5px;
    background: var(--gold-400);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.8);
}

.nav-item svg {
    opacity: 0.75;
    flex-shrink: 0;
    transition: opacity 0.18s;
}

.nav-item:hover svg,
.nav-item.active svg {
    opacity: 1;
    color: var(--gold-400);
}

.nav-badge {
    margin-left: auto;
    background: linear-gradient(135deg, var(--rose), #E11D48);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(244, 63, 94, 0.4);
}

.nav-pending-note {
    display: block;
    margin: 2px 0 6px 2.4rem;
    text-decoration: none;
}

.nav-pending-note .badge {
    font-size: 0.68rem;
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid var(--line-dark);
    background: rgba(0, 0, 0, 0.2);
}

.admin-user-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
    color: var(--gold-300);
    border: 1.5px solid var(--gold-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.admin-user-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-user-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-user-role {
    font-size: 0.7rem;
    color: var(--gold-400);
    font-weight: 500;
}

/* ==========================================================================
   MAIN WRAPPER & TOPBAR
   ========================================================================== */
.main-wrapper {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar {
    position: sticky;
    top: 0;
    height: var(--topbar-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.25rem;
    gap: 1.5rem;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.topbar-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: var(--ink-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.breadcrumb-sep {
    color: var(--ink-400);
}

.breadcrumb-active {
    color: var(--gold-600);
    font-weight: 600;
}

.topbar-title {
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--navy-950);
    line-height: 1.2;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.hotel-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.switcher-icon {
    position: absolute;
    left: 10px;
    color: var(--gold-600);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.hotel-select {
    padding: 0.45rem 1rem 0.45rem 2.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background-color: var(--surface-muted);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--navy-900);
    cursor: pointer;
    transition: all 0.15s ease;
    min-width: 170px;
}

.hotel-select:focus,
.hotel-select:hover {
    border-color: var(--gold-500);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
    outline: none;
}

.topbar-live-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--ink-700);
}

.btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 1px solid var(--line);
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-md);
    color: var(--ink-600);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-logout:hover {
    background: var(--rose-soft);
    border-color: rgba(244, 63, 94, 0.3);
    color: var(--rose);
}

.sidebar-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--navy-900);
    padding: 6px;
    border-radius: 8px;
    transition: background 0.15s;
}

.sidebar-toggle:hover {
    background: var(--line);
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(12, 21, 39, 0.6);
    backdrop-filter: blur(4px);
    z-index: 95;
    opacity: 0;
    transition: opacity 0.25s ease;
}

/* ==========================================================================
   MAIN CONTENT LAYOUT
   ========================================================================== */
.main-content {
    flex: 1;
    padding: 2.25rem;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-subtle);
}

.alert-success {
    background: var(--emerald-soft);
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-danger {
    background: var(--rose-soft);
    color: #9F1239;
    border: 1px solid #FECDD3;
}

.alert-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-dismiss {
    background: none;
    border: none;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    padding: 0 4px;
}

.alert-dismiss:hover {
    opacity: 1;
}

.animate-fade {
    animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   CARDS & LUXURY CONTAINERS
   ========================================================================== */
.card {
    background: var(--surface-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    padding: 1.75rem;
    margin-bottom: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(201, 168, 76, 0.35);
}

.card-title {
    font-size: 1.15rem;
    color: var(--navy-950);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--ink-500);
    margin-top: -0.85rem;
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   STAT CARDS - LUXURY PALETTE
   ========================================================================== */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card-elite,
.stat-card-teal,
.stat-card-gold,
.stat-card-emerald,
.stat-card-rose {
    background: var(--surface-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    padding: 1.6rem 1.75rem;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card-elite::after,
.stat-card-teal::after,
.stat-card-gold::after,
.stat-card-emerald::after,
.stat-card-rose::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold-500);
    opacity: 0.85;
}

.stat-card-elite:hover,
.stat-card-teal:hover,
.stat-card-gold:hover,
.stat-card-emerald:hover,
.stat-card-rose:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-400);
}

.stat-card-gold::after { background: var(--gold-500); }
.stat-card-teal::after { background: var(--teal-500); }
.stat-card-emerald::after { background: var(--emerald); }
.stat-card-rose::after { background: var(--rose); }

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    font-weight: 700;
    color: var(--navy-950);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.4rem;
}

.stat-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card-gold .stat-icon-wrapper {
    background: var(--gold-50);
    color: var(--gold-600);
    border: 1px solid var(--gold-200);
}
.stat-card-teal .stat-icon-wrapper {
    background: var(--teal-50);
    color: var(--teal-600);
    border: 1px solid #BEECE9;
}
.stat-card-emerald .stat-icon-wrapper {
    background: var(--emerald-soft);
    color: #059669;
    border: 1px solid #A7F3D0;
}
.stat-card-rose .stat-icon-wrapper {
    background: var(--rose-soft);
    color: var(--rose);
    border: 1px solid #FECDD3;
}

/* ==========================================================================
   PAGE HEADERS & ACTIONS
   ========================================================================== */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.6rem;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.page-header-info h2 {
    font-size: 1.25rem;
    color: var(--navy-950);
}

.page-header-info p {
    color: var(--ink-500);
    font-size: 0.85rem;
    margin-top: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   TABLES - LUXURY & CLEAR DATA RENDERING
   ========================================================================== */
.table-container {
    background: var(--surface-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 1.75rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.table thead th {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border: none;
    white-space: nowrap;
}

.table tbody tr {
    border-bottom: 1px solid var(--line);
    transition: background-color 0.15s ease;
}

.table tbody tr:nth-child(even) {
    background: #FCFDFE;
}

.table tbody tr:hover {
    background: var(--gold-50);
}

.table td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
    color: var(--ink-800);
}

/* Table Media & Cell Styles */
.table-thumb {
    width: 54px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--line);
    background: #F1F5F9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    display: block;
}

.table-thumb-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--gold-300);
}

.table-thumb-placeholder {
    width: 54px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--surface-muted);
    border: 1px dashed var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-400);
    font-size: 0.7rem;
}

.cell-title {
    font-weight: 600;
    color: var(--navy-950);
    font-size: 0.92rem;
    display: block;
    margin-bottom: 2px;
}

.cell-sub {
    font-size: 0.78rem;
    color: var(--ink-500);
    display: block;
    max-width: 420px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table .actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.empty-state {
    text-align: center;
    padding: 3.5rem 1.5rem;
    color: var(--ink-500);
}

.empty-state-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold-50);
    color: var(--gold-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.2);
}

.empty-state h4 {
    font-size: 1.05rem;
    color: var(--navy-900);
    margin-bottom: 0.25rem;
}

.empty-state p {
    font-size: 0.85rem;
    max-width: 360px;
    margin: 0 auto 1.25rem;
}

/* ==========================================================================
   BADGES & CHIPS
   ========================================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.badge-active,
.badge-approved,
.badge-success {
    background: var(--emerald-soft);
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.badge-inactive,
.badge-rejected,
.badge-danger {
    background: var(--rose-soft);
    color: #9F1239;
    border: 1px solid #FECDD3;
}

.badge-pending,
.badge-warn {
    background: var(--amber-soft);
    color: #92400E;
    border: 1px solid #FDE68A;
}

.badge-info,
.badge-light {
    background: var(--surface-muted);
    color: var(--navy-900);
    border: 1px solid var(--line);
}

.badge-gold {
    background: var(--gold-50);
    color: var(--gold-700);
    border: 1px solid var(--gold-200);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.4;
    font-family: var(--font-sans);
    border: 1px solid transparent;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.35);
    border: 1px solid var(--gold-400);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
    box-shadow: 0 4px 14px rgba(201, 168, 76, 0.45);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.btn-navy {
    background: var(--navy-900);
    color: #FFFFFF;
    border: 1px solid var(--navy-800);
}

.btn-navy:hover {
    background: var(--navy-800);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--rose-soft);
    color: var(--rose);
    border: 1px solid rgba(244, 63, 94, 0.3);
}

.btn-danger:hover {
    background: var(--rose);
    color: #FFFFFF;
    border-color: var(--rose);
}

.btn-outline {
    background: #FFFFFF;
    color: var(--ink-700);
    border: 1px solid var(--line);
}

.btn-outline:hover {
    border-color: var(--gold-500);
    color: var(--gold-700);
    background: var(--gold-50);
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    border-radius: var(--radius-sm);
    gap: 0.35rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem 1.5rem;
}

.form-group {
    margin-bottom: 1.35rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 0.45rem;
    letter-spacing: 0.01em;
}

.form-control {
    width: 100%;
    padding: 0.65rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-family: var(--font-sans);
    background: #FFFFFF;
    color: var(--ink-900);
    transition: all 0.15s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.16);
}

.form-control-sm {
    padding: 0.4rem 0.65rem;
    font-size: 0.8rem;
}

.form-control-color {
    width: 60px;
    height: 40px;
    padding: 4px;
    cursor: pointer;
    border-radius: var(--radius-md);
}

textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    appearance: none;
    -webkit-appearance: none;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--ink-500);
    margin-top: 0.35rem;
    display: block;
}

/* Luxury Image Upload Dropzone */
.image-upload-box {
    border: 2px dashed var(--line);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    background: var(--surface-muted);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.image-upload-box:hover {
    border-color: var(--gold-400);
    background: var(--gold-50);
}

.image-preview {
    margin-bottom: 0.85rem;
    position: relative;
    display: inline-block;
}

.image-preview img,
.image-preview-new img {
    max-width: 220px;
    max-height: 150px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    object-fit: cover;
    box-shadow: var(--shadow-card);
    display: block;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

/* Custom Checkbox Toggle */
.custom-toggle {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.custom-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--gold-600);
    cursor: pointer;
}

/* ==========================================================================
   TABS COMPONENT (FOR ABOUT HOTEL CONTENT)
   ========================================================================== */
.tabs-container {
    background: var(--surface-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 2rem;
}

.tabs-header {
    display: flex;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs-header::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 1.1rem 1.6rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
}

.tab-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: var(--gold-300);
    border-bottom-color: var(--gold-400);
    background: rgba(201, 168, 76, 0.08);
    font-weight: 600;
}

.tab-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 0.72rem;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 600;
}

.tab-btn.active .tab-badge {
    background: var(--gold-500);
    color: var(--navy-950);
}

.tab-pane {
    display: none;
    padding: 1.75rem;
}

.tab-pane.active {
    display: block;
}

.tab-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-description strong {
    font-size: 0.98rem;
    color: var(--navy-950);
    display: block;
}

.tab-description span {
    font-size: 0.82rem;
    color: var(--ink-500);
}

/* ==========================================================================
   PAGINATION & SEARCH
   ========================================================================== */
.search-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.search-form .form-control {
    min-width: 260px;
    background: #FFFFFF;
}

.filter-tabs {
    display: flex;
    gap: 0.35rem;
    background: #FFFFFF;
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
}

.filter-tab-item {
    padding: 0.4rem 0.95rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-600);
    text-decoration: none;
    transition: all 0.15s ease;
}

.filter-tab-item:hover {
    color: var(--navy-950);
    background: var(--surface-muted);
}

.filter-tab-item.active {
    background: var(--navy-900);
    color: var(--gold-300);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 2rem;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.6rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-900);
    text-decoration: none;
    border: 1px solid var(--line);
    background: #FFFFFF;
    transition: all 0.15s ease;
}

.page-link:hover {
    border-color: var(--gold-500);
    color: var(--gold-700);
    background: var(--gold-50);
}

.page-link.active {
    background: var(--navy-900);
    color: var(--gold-300);
    border-color: var(--navy-900);
}

.page-link.dots {
    border: none;
    background: transparent;
    cursor: default;
}

/* ==========================================================================
   DETAIL GRIDS & STARS
   ========================================================================== */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.detail-item {
    background: var(--surface-muted);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
}

.detail-label {
    font-size: 0.72rem;
    color: var(--ink-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
    display: block;
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-950);
}

.stars {
    display: inline-flex;
    gap: 2px;
}

.star {
    color: var(--line);
    font-size: 1.1rem;
}

.star.filled {
    color: var(--gold-500);
}

/* ==========================================================================
   LOGIN PAGE — Premium split-screen (2026)
   ========================================================================== */
.login-body {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    font-family: var(--font-sans);
    background: #060B15;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(1.5rem, env(safe-area-inset-top)) max(1.5rem, env(safe-area-inset-right)) max(1.5rem, env(safe-area-inset-bottom)) max(1.5rem, env(safe-area-inset-left));
    position: relative;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.login-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.login-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
}

.orb-1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(201,168,76,0.35), transparent 70%);
    top: -140px;
    right: -100px;
}

.orb-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(31,163,157,0.28), transparent 70%);
    bottom: -140px;
    left: -120px;
}

.login-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
}

.login-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1020px;
    min-height: 640px;
    margin: auto;
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    overflow: clip;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.25);
    animation: loginRise 0.5s cubic-bezier(0.2, 0.8, 0.3, 1);
}

@keyframes loginRise {
    from { opacity: 0; transform: translateY(18px) scale(0.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- Kiri: visual branding ---- */
.login-visual {
    background: linear-gradient(165deg, #070D18 0%, #0C1B33 45%, #14294D 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    display: flex;
}

.login-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 10%, rgba(201,168,76,0.22), transparent 45%),
        radial-gradient(circle at 10% 95%, rgba(31,163,157,0.18), transparent 45%);
}

.login-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(circle at 30% 20%, black, transparent 75%);
}

.login-visual-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem 2.5rem 2rem;
    width: 100%;
    gap: 2rem;
}

.login-visual-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.login-crest {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
    color: var(--navy-950);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(201,168,76,0.45), inset 0 1px 0 rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.login-crest-sm {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.login-brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold-300);
    line-height: 1;
}

.login-brand-dark { color: var(--navy-950); font-size: 1.15rem; }
.login-brand-sub { font-size: 0.62rem; letter-spacing: 0.28em; color: rgba(255,255,255,0.55); font-weight: 700; margin-top: 4px; }
.login-brand-sub-dark { color: var(--ink-500); }

.login-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-200);
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.3);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
}

.login-visual-mid h2 {
    font-size: 2.4rem;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 0.8rem;
}

.login-visual-mid h2 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--gold-200), var(--gold-500));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-visual-mid > p {
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 340px;
    margin-bottom: 1.6rem;
}

.login-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.login-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    padding: 0.7rem 0.9rem;
    backdrop-filter: blur(6px);
    transition: transform 0.18s ease, background 0.18s ease;
}

.login-features li:hover {
    transform: translateX(4px);
    background: rgba(255,255,255,0.08);
}

.feat-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(201,168,76,0.25), rgba(201,168,76,0.08));
    border: 1px solid rgba(201,168,76,0.3);
    color: var(--gold-300);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.login-features strong { display: block; font-size: 0.85rem; color: #FFFFFF; }
.login-features span span, .login-features div span { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.55); }

.login-visual-foot { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; }
.login-stats { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 0.8rem; }
.login-stats strong { display: block; font-family: var(--font-heading); font-size: 1.15rem; color: var(--gold-300); }
.login-stats span span, .login-stats div span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); }
.stat-div { width: 1px; height: 28px; background: rgba(255,255,255,0.12); }
.login-secure { display: flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; color: rgba(255,255,255,0.5); }

/* ---- Kanan: form ---- */
.login-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 3rem 2rem;
    background: #FFFFFF;
    position: relative;
}

.login-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 48px;
    right: 48px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
    border-radius: 0 0 4px 4px;
}

.login-mobile-brand { display: none; align-items: center; gap: 0.75rem; margin-bottom: 1.75rem; }
.login-form-wrap { width: 100%; max-width: 380px; margin: 0 auto; }
.login-welcome {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--gold-700);
    background: var(--gold-50);
    border: 1px solid var(--gold-200);
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 0.9rem;
}

.login-form-wrap h1 { font-size: 1.65rem; font-weight: 800; letter-spacing: -0.02em; color: var(--navy-950); margin-bottom: 0.35rem; }
.login-desc { font-size: 0.87rem; color: var(--ink-500); margin-bottom: 1.5rem; line-height: 1.55; }
.login-form { display: flex; flex-direction: column; }

.login-error {
    background: var(--rose-soft);
    border: 1px solid #FECDD3;
    color: #9F1239;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    margin-bottom: 1.1rem;
    font-size: 0.83rem;
    font-weight: 500;
}
.login-error ul { margin: 0.3rem 0 0 1.1rem; }
.login-error:empty { display: none; }

.login-form .field { margin-bottom: 1.05rem; }
.login-form .field label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-700); margin-bottom: 0.45rem; }

.input-wrap { position: relative; display: flex; align-items: center; }
.input-icon { position: absolute; left: 13px; color: var(--ink-400); display: flex; pointer-events: none; transition: color 0.15s; }
.input-wrap input {
    width: 100%;
    padding: 0.78rem 1rem 0.78rem 2.6rem;
    border: 1.5px solid var(--line);
    border-radius: 13px;
    font-size: 0.92rem;
    font-family: var(--font-sans);
    background: #FAFBFD;
    color: var(--ink-900);
    transition: all 0.16s ease;
}
.input-wrap input::placeholder { color: var(--ink-400); }
.input-wrap input.has-eye { padding-right: 3rem; }
.input-wrap input:hover { border-color: #CBD5E1; background: #FFFFFF; }
.input-wrap input:focus { outline: none; border-color: var(--gold-500); background: #FFFFFF; box-shadow: 0 0 0 4px rgba(201,168,76,0.15); }
.input-wrap:focus-within .input-icon { color: var(--gold-600); }
.input-wrap input.input-validation-error { border-color: var(--rose); background: var(--rose-soft); }

.eye-btn {
    position: absolute;
    right: 6px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border: none;
    background: transparent;
    color: var(--ink-400);
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    touch-action: manipulation;
}
.eye-btn:hover { background: var(--surface-muted); color: var(--navy-900); }

.field-error { font-size: 0.76rem; color: var(--rose); font-weight: 600; margin-top: 0.35rem; display: block; }
.field-error:empty { display: none; }
.caps-hint { font-size: 0.75rem; font-weight: 600; color: #92400E; background: var(--amber-soft); border: 1px solid #FDE68A; border-radius: 8px; padding: 0.25rem 0.6rem; margin-top: 0.4rem; display: inline-block; }

.login-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; margin: 0.2rem 0 1.3rem; }
.remember { display: flex; align-items: center; gap: 0.55rem; font-size: 0.83rem; font-weight: 500; color: var(--ink-700); cursor: pointer; text-transform: none; letter-spacing: 0; }
.remember input { display: none; }
.remember .check {
    width: 20px; height: 20px; border-radius: 7px;
    border: 1.5px solid #CBD5E1; background: #FFFFFF;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.15s; flex-shrink: 0;
}
.remember input:checked + .check { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); border-color: var(--gold-600); }
.remember input:checked + .check::after { content: '✓'; color: #FFFFFF; font-size: 0.72rem; font-weight: 800; }
.login-help { font-size: 0.8rem; font-weight: 600; color: var(--ink-400); cursor: help; border-bottom: 1px dashed var(--line); }

.btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 13px;
    border: 1px solid var(--gold-400);
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: #FFFFFF;
    font-size: 0.93rem;
    font-weight: 700;
    font-family: var(--font-sans);
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(201,168,76,0.35);
    transition: all 0.18s ease;
}
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(201,168,76,0.45); filter: brightness(1.04); }
.btn-login:active { transform: translateY(0); }
.btn-login .btn-arrow { transition: transform 0.18s; }
.btn-login:hover .btn-arrow { transform: translateX(4px); }
.btn-login.is-loading { opacity: 0.75; pointer-events: none; }
.btn-login.is-loading .btn-label::after { content: '…'; }
.btn-login:disabled { cursor: wait; }

.login-divider { display: flex; align-items: center; gap: 0.8rem; margin: 1.3rem 0; color: var(--ink-400); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.btn-ghost {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1.25rem;
    border-radius: 13px;
    border: 1.5px solid var(--line);
    background: #FFFFFF;
    color: var(--ink-700);
    font-size: 0.86rem;
    font-weight: 600;
    transition: all 0.16s ease;
}
.btn-ghost:hover { border-color: var(--navy-900); color: var(--navy-950); background: var(--surface-muted); }

.login-foot { text-align: center; font-size: 0.73rem; color: var(--ink-400); margin-top: 1.6rem; }

/* Legacy class compat (tidak dipakai view baru, aman dihapus nanti) */
.login-card, .login-brand-header, .login-subtitle { display: revert; }

/* ---- Responsif login ---- */
@media (max-width: 900px) {
    .login-shell { grid-template-columns: 1fr; max-width: 480px; min-height: 0; margin: auto; }
    .login-visual { display: none; }
    .login-main { padding: 2.25rem 1.75rem 1.75rem; }
    .login-mobile-brand { display: flex; }
    .login-orb { filter: blur(70px); opacity: 0.35; }
    .orb-1 { width: 320px; height: 320px; top: -110px; right: -90px; }
    .orb-2 { width: 300px; height: 300px; bottom: -110px; left: -90px; }
}
@media (max-width: 480px) {
    .login-body {
        padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
        align-items: center;
    }
    .login-shell { border-radius: 18px; max-width: 100%; box-shadow: 0 20px 50px -18px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.25); }
    .login-main { padding: 1.6rem 1.2rem 1.4rem; }
    .login-main::before { left: 24px; right: 24px; }
    .login-mobile-brand { margin-bottom: 1.25rem; }
    .login-form-wrap { max-width: 100%; }
    .login-form-wrap h1 { font-size: 1.35rem; line-height: 1.25; overflow-wrap: break-word; }
    .login-desc { font-size: 0.84rem; margin-bottom: 1.25rem; }
    .login-welcome { font-size: 0.7rem; }
    /* Cegah auto-zoom iOS: input harus >= 16px di layar kecil */
    .input-wrap input { font-size: 16px; padding-top: 0.8rem; padding-bottom: 0.8rem; }
    .input-wrap input.has-eye { padding-right: 3.25rem; }
    .btn-login { min-height: 48px; font-size: 1rem; }
    .login-row { gap: 0.6rem; }
    .remember { font-size: 0.85rem; min-height: 40px; }
    .login-help { min-height: 40px; display: inline-flex; align-items: center; }
    .login-error { font-size: 0.8rem; overflow-wrap: break-word; }
    .login-orb { filter: blur(60px); opacity: 0.3; }
}
/* Layar landscape pendek (keyboard terbuka / HP landscape): jangan kepotong atas */
@media (max-height: 620px) {
    .login-body { align-items: flex-start; }
    .login-shell { margin-top: auto; margin-bottom: auto; min-height: 0; }
    .login-main { padding-top: 1.5rem; padding-bottom: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
    .login-shell { animation: none; }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }

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

    .sidebar.open + .sidebar-backdrop,
    .sidebar-backdrop.active {
        display: block;
        opacity: 1;
    }

    .main-wrapper {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: block;
    }

    .topbar {
        padding: 0 1.25rem;
    }

    .main-content {
        padding: 1.25rem;
    }

    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stat-cards {
        grid-template-columns: 1fr;
    }

    .topbar {
        padding: 0 1rem;
    }

    .topbar-title {
        font-size: 1.1rem;
    }

    .breadcrumb-nav {
        display: none;
    }

    .topbar-live-btn span,
    .btn-logout span {
        display: none;
    }

    .page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .search-form {
        flex-direction: column;
        width: 100%;
    }

    .search-form .form-control {
        min-width: 100%;
    }

    .hotel-select {
        min-width: 130px;
    }

    .table thead th,
    .table td {
        padding: 0.75rem 0.85rem;
    }

    .pagination-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .form-section-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .form-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   ELEGANT REDESIGN — Forms, Tables, Pagination (2026)
   Menimpa gaya dasar di atas dengan sentuhan lebih mewah & rapi.
   ========================================================================== */

/* ---- Page header elegan ---- */
.page-header {
    background: var(--surface-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.35rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-600), var(--gold-300), transparent 85%);
}

.page-header-info h2 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.page-header-info p {
    font-size: 0.86rem;
    margin-top: 4px;
    max-width: 640px;
}

.data-count {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--navy-950);
    color: var(--gold-300);
    border-radius: 999px;
    padding: 0.22rem 0.7rem;
    white-space: nowrap;
}

/* ---- Data card / tabel elegan ---- */
.table-container {
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    background: #FFFFFF;
}

.data-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.35rem;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #FFFFFF, #FAFBFD);
    flex-wrap: wrap;
}

.data-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy-950);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
}

.data-card-title .title-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--gold-50);
    border: 1px solid var(--gold-200);
    color: var(--gold-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.data-card-sub {
    font-size: 0.78rem;
    color: var(--ink-500);
    margin-top: 2px;
}

.table-scroll {
    overflow-x: auto;
    scrollbar-width: thin;
}

.table {
    min-width: 760px;
}

.table thead th {
    background: #F8FAFC;
    color: var(--ink-500);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.8rem 1.25rem;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.table thead th:first-child {
    border-top-left-radius: 0;
}

.table tbody tr {
    border-bottom: 1px solid #EEF2F7;
}

.table tbody tr:last-child {
    border-bottom: none;
}

.table tbody tr:nth-child(even) {
    background: #FFFFFF;
}

.table tbody tr:hover {
    background: linear-gradient(90deg, var(--gold-50) 0%, #FFFFFF 70%);
    box-shadow: inset 3px 0 0 var(--gold-400);
}

.table td {
    padding: 0.9rem 1.25rem;
    font-size: 0.88rem;
}

.table-thumb {
    width: 62px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--line);
}

.table-thumb-circle {
    width: 42px;
    height: 42px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

/* Logo desa: utuh tanpa crop & tanpa lingkaran */
.table-logo {
    width: 52px;
    height: 42px;
    border-radius: 10px;
    object-fit: contain;
    background: #FFFFFF;
    border: 1px solid var(--line);
    padding: 3px;
    display: block;
}

.table-thumb-placeholder {
    border-radius: 12px;
    background: linear-gradient(135deg, #F8FAFC, #EEF2F7);
}

.cell-title {
    font-size: 0.9rem;
    letter-spacing: -0.01em;
}

.cell-sub {
    font-size: 0.79rem;
}

/* Icon tombol aksi di tabel */
.row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    white-space: nowrap;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: #FFFFFF;
    color: var(--ink-600);
    cursor: pointer;
    transition: all 0.16s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.btn-icon:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-subtle);
    text-decoration: none;
}

.btn-icon-edit:hover {
    border-color: var(--gold-500);
    background: var(--gold-50);
    color: var(--gold-700);
}

.btn-icon-danger:hover {
    border-color: rgba(244, 63, 94, 0.4);
    background: var(--rose);
    color: #FFFFFF;
}

.btn-icon-view:hover {
    border-color: var(--sky);
    background: var(--sky-soft);
    color: var(--navy-900);
}

/* Footer tabel + pagination bar */
.table-foot {
    border-top: 1px solid var(--line);
    background: #FAFBFD;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.35rem;
    flex-wrap: wrap;
}

.pagination-info {
    font-size: 0.8rem;
    color: var(--ink-500);
}

.pagination-info strong {
    color: var(--navy-950);
    font-weight: 700;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0;
}

.page-link {
    min-width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 0.82rem;
    border: 1px solid var(--line);
    background: #FFFFFF;
    color: var(--ink-700);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.page-link:hover {
    border-color: var(--gold-500);
    color: var(--gold-700);
    background: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(201, 168, 76, 0.18);
}

.page-link.active {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: var(--gold-300);
    border-color: var(--navy-900);
    box-shadow: 0 4px 12px rgba(12, 21, 39, 0.25);
}

.page-link.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.page-link-nav {
    padding: 0 0.8rem;
    gap: 0.35rem;
}

.page-link.dots {
    box-shadow: none;
}

/* ---- Filter tabs segmented elegan ---- */
.filter-tabs {
    display: inline-flex;
    gap: 4px;
    background: #FFFFFF;
    padding: 5px;
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-subtle);
    max-width: 100%;
    overflow-x: auto;
    margin-bottom: 1rem !important;
}

.filter-tabs .tab-btn {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-600);
    text-decoration: none;
    border: none;
    background: transparent;
    transition: all 0.16s ease;
    white-space: nowrap;
}

.filter-tabs .tab-btn:hover {
    color: var(--navy-950);
    background: var(--surface-muted);
}

.filter-tabs .tab-btn.active {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: var(--gold-300);
    box-shadow: 0 3px 10px rgba(12, 21, 39, 0.22);
}

/* ---- Search elegan ---- */
.search-form {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 5px 5px 5px 12px;
    box-shadow: var(--shadow-subtle);
    gap: 0.5rem;
}

.search-form .form-control {
    border: none;
    background: transparent;
    padding: 0.5rem 0.25rem;
    box-shadow: none !important;
}

.search-form .form-control:focus {
    box-shadow: none !important;
}

.search-form:focus-within {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.16);
}

/* ---- Form elegan ---- */
.card {
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    padding: 1.75rem;
    overflow: hidden;
}

.card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-600), var(--gold-300), var(--gold-600));
    margin: -1.75rem -1.75rem 1.5rem;
}

.card-body-pad {
    padding: 0;
}

.card-title {
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
}

.card-subtitle {
    font-size: 0.86rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px dashed var(--line);
}

.validation-summary-valid {
    display: none !important;
}

.validation-summary-errors,
.validation-summary:not(.validation-summary-valid) {
    background: var(--rose-soft);
    border: 1px solid #FECDD3;
    color: #9F1239;
    border-radius: 14px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.86rem;
}

/* Jangan tampilkan box bila tidak ada error (server render li hidden / client-side valid) */
.validation-summary-valid,
.validation-summary:empty,
.validation-summary ul:empty,
.validation-summary li[style*="display: none"]:only-child {
    display: none;
}

.validation-summary:has(ul li:not([style*="display: none"])) {
    display: block;
}

.validation-summary:has(ul li[style*="display: none"]:only-child),
.validation-summary:not(:has(li:not([style*="display: none"]))) {
    display: none;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
}

.validation-summary ul {
    margin: 0.4rem 0 0 1.1rem;
}

.validation-summary:empty {
    display: none;
}

.form-section {
    background: linear-gradient(180deg, #FFFFFF, #FCFDFF);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.35rem 1.4rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.form-section-head {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.15rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid var(--line);
}

.form-section-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: var(--gold-300);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(12, 21, 39, 0.2);
}

.form-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy-950);
    margin: 0;
    letter-spacing: -0.01em;
}

.form-section-desc {
    font-size: 0.79rem;
    color: var(--ink-500);
    margin-top: 2px;
}

.form-section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 1.25rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-700);
    margin-bottom: 0.5rem;
}

.form-group label .req {
    color: var(--rose);
    margin-left: 3px;
}

.form-control {
    padding: 0.7rem 0.95rem;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    font-size: 0.9rem;
    background: #FFFFFF;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.form-control::placeholder {
    color: var(--ink-400);
}

.form-control:hover {
    border-color: #CBD5E1;
}

.form-control:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.15);
}

textarea.form-control {
    min-height: 96px;
    line-height: 1.6;
}

.form-hint {
    font-size: 0.76rem;
    background: var(--surface-muted);
    border: 1px dashed var(--line);
    border-radius: 9px;
    padding: 0.4rem 0.65rem;
    margin-top: 0.5rem;
}

/* Switch elegan untuk status */
.switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8rem 1rem;
}

.switch-text strong {
    display: block;
    font-size: 0.86rem;
    color: var(--navy-950);
}

.switch-text span {
    font-size: 0.76rem;
    color: var(--ink-500);
}

.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch .slider {
    position: absolute;
    inset: 0;
    background: #CBD5E1;
    border-radius: 999px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.switch .slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: #FFFFFF;
    border-radius: 50%;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.switch input:checked + .slider {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
}

.switch input:checked + .slider::before {
    transform: translateX(20px);
}

/* Upload dropzone elegan */
.upload-drop {
    border: 1.5px dashed #CBD5E1;
    border-radius: 16px;
    background: linear-gradient(180deg, #FAFBFD, #F1F5F9);
    padding: 1.1rem;
    transition: all 0.18s ease;
}

.upload-drop:hover,
.upload-drop.dragover {
    border-color: var(--gold-500);
    background: var(--gold-50);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12);
}

.upload-drop-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.upload-drop-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    color: var(--gold-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.upload-drop input[type="file"] {
    border: none;
    background: #FFFFFF;
    border-radius: 11px;
    padding: 0.55rem 0.7rem;
    box-shadow: var(--shadow-subtle);
}

.image-preview img,
.image-preview-new img {
    max-width: 240px;
    max-height: 160px;
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent, #FAFBFD);
    position: sticky;
    bottom: 0;
}

.form-actions .btn-primary {
    min-width: 190px;
    padding: 0.7rem 1.5rem;
    border-radius: 12px;
}

/* Empty state lebih elegan */
.empty-state {
    padding: 3.2rem 1.5rem;
    background: radial-gradient(circle at 50% 0%, var(--gold-50) 0%, #FFFFFF 55%);
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    border: 1px solid var(--gold-200);
}

/* Badge rapi */
.badge {
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

/* Logo desa saat ini + toggle hapus */
.logo-current {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.9rem;
    box-shadow: var(--shadow-subtle);
}
.logo-current img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 4px;
    flex-shrink: 0;
    transition: all 0.18s ease;
}
.logo-current-info { flex: 1; min-width: 0; }
.logo-current-info strong { display: block; font-size: 0.86rem; color: var(--navy-950); }
.logo-current-info span { font-size: 0.75rem; color: var(--ink-500); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-current .logo-remove-badge {
    display: none;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9F1239;
    background: var(--rose-soft);
    border: 1px solid #FECDD3;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    margin-top: 4px;
}
.logo-current.is-removing img { opacity: 0.35; filter: grayscale(1); }
.logo-current.is-removing .logo-remove-badge { display: inline-block; }
.switch-danger input:checked + .slider { background: linear-gradient(135deg, #FB7185, var(--rose)); }

/* Icon picker polish */
.icon-picker-selected {
    border-radius: 12px !important;
    border: 1.5px solid var(--line) !important;
    transition: all 0.15s ease;
}

.icon-picker-selected:hover {
    border-color: var(--gold-500) !important;
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12);
}

/* ==========================================================================
   DASHBOARD STATISTICS (2026) — pure CSS charts, SSR friendly
   ========================================================================== */
.dash-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.dash-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1100px) {
    .dash-grid, .dash-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .dash-grid, .dash-grid-3 { grid-template-columns: 1fr; }
}
.dash-card { margin-bottom: 0; }
.dash-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}
.dash-mini {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.8rem 1rem;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top: 3px solid var(--gold-400);
}
.dash-mini-warn { border-top-color: var(--rose); background: var(--rose-soft); }
.dash-mini-num {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--navy-950);
    line-height: 1.1;
}
.dash-mini-label { font-size: 0.74rem; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.legend-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; vertical-align: middle; }

/* Vertical bar chart */
.vbar-chart {
    display: flex;
    align-items: stretch;
    gap: 6px;
    padding: 1rem 1.25rem 1.1rem;
    min-height: 190px;
}
.vbar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    min-width: 0;
}
.vbar-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    height: 120px;
    width: 100%;
    background: linear-gradient(180deg, #FAFBFD, #FFFFFF);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 4px 4px;
}
.vbar { width: 14px; border-radius: 5px 5px 2px 2px; min-height: 2px; transition: height 0.3s ease; }
.vbar-teal { background: linear-gradient(180deg, var(--teal-500), var(--teal-600)); }
.vbar-gold { background: linear-gradient(180deg, var(--gold-300), var(--gold-600)); }
.vbar-val { font-size: 0.72rem; font-weight: 700; color: var(--navy-900); min-height: 1em; }
.vbar-day { font-size: 0.7rem; color: var(--ink-500); font-weight: 600; }
.vbar-sm .vbar { width: 10px; }

/* Horizontal bar */
.hbar-row { display: flex; align-items: center; gap: 0.7rem; }
.hbar-label { font-size: 0.8rem; font-weight: 700; color: var(--navy-900); min-width: 44px; }
.hbar-track { flex: 1; height: 10px; background: #EEF2F7; border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.hbar-fill { height: 100%; border-radius: 999px; min-width: 2px; }
.hbar-gold { background: linear-gradient(90deg, var(--gold-300), var(--gold-600)); }
.hbar-teal { background: linear-gradient(90deg, #5EEAD4, var(--teal-600)); }
.hbar-emerald { background: linear-gradient(90deg, #6EE7B7, #059669); }
.hbar-rose { background: linear-gradient(90deg, #FDA4AF, var(--rose)); }
.hbar-sky { background: linear-gradient(90deg, #7DD3FC, var(--sky)); }
.hbar-val { font-size: 0.8rem; font-weight: 700; color: var(--ink-700); min-width: 28px; text-align: right; white-space: nowrap; }
.rank-num {
    width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
    background: var(--navy-900); color: var(--gold-300);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.78rem; font-weight: 800;
}

/* Donut conic */
.donut {
    --pA: 60%; --pP: 25%; --pR: 15%;
    width: 130px; height: 130px; border-radius: 50%; flex-shrink: 0;
    background: conic-gradient(
        #10B981 0 var(--pA),
        #F59E0B var(--pA) calc(var(--pA) + var(--pP)),
        #F43F5E calc(var(--pA) + var(--pP)) 100%
    );
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--line);
}
.donut-center {
    width: 84px; height: 84px; border-radius: 50%; background: #FFFFFF;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: inset 0 1px 4px rgba(15,23,42,0.08);
}
.donut-center strong { font-size: 1.3rem; color: var(--navy-950); font-family: var(--font-heading); line-height: 1; }
.donut-center span { font-size: 0.7rem; color: var(--ink-500); font-weight: 600; }
