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

:root {
    --bg: #080E1A;
    --bg-2: #0F172A;
    --bg-3: #111827;
    --dark: #0F172A;
    --dark-2: #1E293B;
    --dark-3: #243044;
    --gold: #D4A373;
    --gold-light: #E8C99A;
    --gold-dark: #B8893A;
    --gold-dim: rgba(212, 163, 115, 0.12);
    --text: #E2E8F0;
    --text-muted: #64748B;
    --text-dim: #94A3B8;
    --white: #ffffff;
    --card: #131C2E;
    --card-2: #1A2438;
    --border: rgba(255, 255, 255, 0.07);
    --border-gold: rgba(212, 163, 115, 0.2);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.6);
    --radius: 24px;
    --radius-sm: 16px;
    --radius-xs: 12px;
    --glow: 0 0 40px rgba(212, 163, 115, 0.08);
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision
}

/* UTILITY */
.hidden {
    display: none !important
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.5rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    font-weight: 600;
    transition: all .25s ease;
    text-decoration: none
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212, 163, 115, 0.4)
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    border: 1.5px solid var(--border)
}

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

.section-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.15
}

.section-sub {
    color: var(--text-muted);
    font-size: .95rem;
    margin-top: .75rem;
    max-width: 520px;
    line-height: 1.7
}

/* PAGE */
.page {
    display: none
}

.page.active {
    display: block
}

.asset-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    flex: 0 0 auto;
    background: currentColor;
    vertical-align: -0.12em;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.asset-icon.arrow-right {
    -webkit-mask-image: url('../icons/arrow-left.svg');
    mask-image: url('../icons/arrow-left.svg');
    transform: rotate(180deg);
}

.asset-icon.arrow-left {
    -webkit-mask-image: url('../icons/arrow-left.svg');
    mask-image: url('../icons/arrow-left.svg');
}

.slider-btn .asset-icon {
    width: 14px;
    height: 14px;
}

.asset-icon.caret-down {
    -webkit-mask-image: url('../icons/caret-down.svg');
    mask-image: url('../icons/caret-down.svg');
    transition: transform .22s ease;
}

.guest-dropdown.open .asset-icon.caret-down {
    transform: rotate(180deg);
}

.hero-cta .btn,
.section-header .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}


/* ─── NAVBAR ─── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all .4s ease
}

#navbar.scrolled {
    background: rgba(8, 14, 26, 0.92);
    backdrop-filter: blur(24px);
    box-shadow: 0 1px 0 rgba(212, 163, 115, 0.12);
    padding: .85rem 0
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    letter-spacing: .02em;
    cursor: pointer
}

.logo:hover {
    color: var(--gold)
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none
}

.nav-links a {
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    transition: color .3s;
    cursor: pointer
}

.nav-links a:hover {
    color: var(--gold)
}

.nav-btns {
    display: flex;
    align-items: center;
    gap: .75rem
}

.nav-login {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    font-size: .875rem;
    font-weight: 500;
    padding: .5rem 1.25rem;
    border-radius: 100px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all .3s
}

.nav-login:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim)
}



/* PROFILE / HOST CTA POLISH */
.nav-host-cta {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, .82);
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: -.01em;
    padding: .55rem .9rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all .22s ease;
}

.nav-host-cta:hover {
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

.dropdown-item .di.saved-heart,
.settings-nav-item .saved-heart {
    color: #ef4444;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, .18));
}

/* AMENITY INPUT POLISH */
.crud-amenity-compose {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    align-items: center;
    padding: .8rem;
    border: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(212, 163, 115, .045));
    border-radius: 18px;
}

.crud-amenity-input-wrap {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: .65rem;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(8, 14, 26, .48);
    border-radius: 999px;
    padding: 0 .95rem;
    transition: all .2s ease;
}

.crud-amenity-input-wrap:focus-within {
    border-color: rgba(212, 163, 115, .62);
    box-shadow: 0 0 0 3px rgba(212, 163, 115, .09);
}

.crud-amenity-input-wrap .amenity-plus {
    color: var(--gold-light);
    font-weight: 800;
    line-height: 1;
}

#crudAmenityInput.crud-amenity-input {
    border: none;
    background: transparent;
    color: #fff;
    min-height: 44px;
    outline: none;
    padding: 0;
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: .84rem;
}

#crudAmenityInput.crud-amenity-input::placeholder {
    color: rgba(226, 232, 240, .36);
}

.crud-add-amenity-btn {
    min-height: 44px;
    padding-inline: 1.05rem !important;
    white-space: nowrap;
}

.crud-image-head input[type="file"].visually-hidden-file,
.visually-hidden-file {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.crud-file-button.compact {
    width: auto;
    min-height: 42px;
    padding: .62rem 1rem;
    gap: .5rem;
}

/* Profile dropdown */
.nav-profile {
    position: relative
}

.nav-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--border-gold);
    transition: all .2s;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-weight: 600;
    color: #fff;
    font-size: .9rem
}

.nav-avatar:hover {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.2)
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: all .25s;
    overflow: hidden
}

.profile-dropdown.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0)
}

.dropdown-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: rgba(212, 163, 115, 0.04)
}

.dropdown-name {
    font-size: .9rem;
    font-weight: 600;
    color: #fff
}

.dropdown-email {
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: .15rem
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1.25rem;
    font-size: .85rem;
    color: var(--text-dim);
    cursor: pointer;
    transition: all .2s
}

.dropdown-item:hover {
    background: rgba(212, 163, 115, 0.08);
    color: var(--gold-light)
}

.dropdown-item .di {
    font-size: 1rem;
    width: 18px;
    text-align: center
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: .25rem 0
}

.dropdown-item.danger {
    color: #ef4444
}

.dropdown-item.danger:hover {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444
}

/* ─── HERO ─── */
#hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?w=1600&q=80') center/cover no-repeat;
    transform: scale(1.05);
    transition: transform 8s ease
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 8, 18, 0.88) 0%, rgba(8, 14, 26, 0.70) 50%, rgba(212, 163, 115, 0.08) 100%)
}

.hero-overlay2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 14, 26, 0.95) 0%, transparent 60%)
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    transform: scale(.94);
    transform-origin: center center;
    margin: 0 auto;
    text-align: center;
}

body.lang-id .hero-content {
    max-width: 760px;
    transform: scale(.94);
}

body.lang-id .hero-sub {
    max-width: 480px;
}


body.lang-id .hero-h1 {
    letter-spacing: -0.02em;
    font-size: clamp(3rem, 5.8vw, 4.85rem);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(212, 163, 115, 0.15);
    border: 1px solid rgba(212, 163, 115, 0.35);
    color: var(--gold-light);
    padding: .4rem 1rem;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px)
}

.hero-badge::before {
    content: '✦';
    font-size: .6rem
}

.hero-h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.25rem
}

.hero-h1 em {
    font-style: italic;
    color: var(--gold)
}

.hero-sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    margin: 0 auto 2.5rem;
    max-width: 480px
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.animate-fade-up {
    animation: fadeUp .7s ease both
}

.delay-1 {
    animation-delay: .15s
}

.delay-2 {
    animation-delay: .3s
}

.delay-3 {
    animation-delay: .45s
}

.delay-4 {
    animation-delay: .6s
}

/* ─── STATS ─── */
.stats-strip {
    background: linear-gradient(135deg, #080E1A 0%, #0D1424 100%);
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border)
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center
}

.stat-num {
    font-family: 'Inter', sans-serif;
    font-variant-numeric: tabular-nums;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -.02em
}

.stat-label {
    font-size: .72rem;
    color: var(--text-muted);
    margin-top: .5rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase
}

/* ─── HOTELS SECTION ─── */
.hotels-section {
    padding: 6rem 0;
    background: var(--bg)
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem
}

.hotel-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .35s ease;
    cursor: pointer;
    border: 1px solid var(--border)
}

.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--glow);
    border-color: var(--border-gold)
}

.hotel-img {
    position: relative;
    height: 240px;
    overflow: hidden
}

.hotel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease
}

.hotel-card:hover .hotel-img img {
    transform: scale(1.08)
}

.hotel-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: .3rem .85rem;
    border-radius: 100px;
    letter-spacing: .05em
}

.wishlist-btn {
    display: none !important
}

.wishlist-btn:hover {
    background: rgba(212, 163, 115, 0.2);
    border-color: var(--gold)
}

.wishlist-btn.active {
    color: #e74c3c
}

.hotel-info {
    padding: 1.4rem
}

.hotel-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .4rem
}

.hotel-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .8rem;
    font-weight: 600;
    color: #fff
}

.hotel-rating .star {
    color: var(--gold)
}

.hotel-loc {
    font-size: .8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-bottom: 1rem
}

.hotel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border)
}

.hotel-price {
    font-family: 'Inter', sans-serif;
    font-variant-numeric: tabular-nums;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1
}

.hotel-price span {
    font-size: .75rem;
    font-weight: 400;
    color: var(--text-muted)
}

/* ─── WHY SECTION ─── */
.why-section {
    padding: 6rem 0;
    background: var(--bg-2);
    position: relative;
    overflow: hidden
}

.why-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.06) 0%, transparent 70%);
    pointer-events: none
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem
}

.why-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .3s
}

.why-card:hover {
    background: rgba(212, 163, 115, 0.06);
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: var(--glow)
}

.why-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 163, 115, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    border: 1px solid rgba(212, 163, 115, 0.2)
}

.why-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .5rem
}

.why-desc {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.7
}

/* ─── DESTINATIONS ─── */
.dest-section {
    padding: 6rem 0;
    background: var(--bg)
}

.dest-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 280px 280px;
    gap: 1.25rem;
    margin-top: 3rem
}

.dest-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer
}

.dest-card:nth-child(1) {
    grid-column: 1/3;
    grid-row: 1/2
}

.dest-card:nth-child(2) {
    grid-column: 3/4
}

.dest-card:nth-child(3) {
    grid-column: 4/6
}

.dest-card:nth-child(4) {
    grid-column: 1/2;
    grid-row: 2/3
}

.dest-card:nth-child(5) {
    grid-column: 2/4;
    grid-row: 2/3
}

.dest-card:nth-child(6) {
    grid-column: 4/6;
    grid-row: 2/3
}

.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease
}

.dest-card:hover img {
    transform: scale(1.08)
}

.dest-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 8, 18, 0.85) 0%, rgba(4, 8, 18, 0.2) 60%)
}

.dest-card:hover .dest-overlay {
    background: linear-gradient(to top, rgba(4, 8, 18, 0.92) 0%, rgba(4, 8, 18, 0.3) 60%)
}

.dest-info {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    color: #fff
}

.dest-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600
}

.dest-count {
    font-size: .78rem;
    opacity: .65;
    margin-top: .2rem
}

/* ─── TESTIMONIALS ─── */
.testimonial-section {
    padding: 6rem 0;
    background: var(--bg-3)
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3rem
}

.testi-card {
    background: var(--card-2);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all .3s;
    border: 1px solid var(--border)
}

.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-gold)
}

.testi-stars {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: .1em
}

.testi-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    font-style: italic
}

.testi-author {
    display: flex;
    align-items: center;
    gap: .85rem
}

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-gold)
}

.testi-name {
    font-weight: 600;
    font-size: .9rem;
    color: #fff
}

.testi-trip {
    font-size: .78rem;
    color: var(--text-muted)
}

/* ─── NEWSLETTER ─── */
.newsletter-section {
    padding: 6rem 0;
    background: var(--bg)
}

.newsletter-card {
    background: linear-gradient(135deg, var(--card) 0%, #1A2438 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glow)
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.12) 0%, transparent 70%);
    pointer-events: none
}

.newsletter-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .75rem
}

.newsletter-sub {
    color: var(--text-muted);
    font-size: .95rem;
    margin-bottom: 2.5rem
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 480px;
    margin: 0 auto
}

.newsletter-form input {
    flex: 1;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 100px;
    padding: .85rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    outline: none;
    transition: border-color .2s
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.3)
}

.newsletter-form input:focus {
    border-color: var(--gold)
}

/* ─── FOOTER ─── */
footer {
    background: #060B14;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border)
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem
}

.footer-desc {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 260px
}

.footer-socials {
    display: flex;
    gap: .75rem;
    margin-top: 1.5rem
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    cursor: pointer;
    transition: all .2s;
    color: var(--text-muted);
    text-decoration: none
}

.social-btn:hover {
    background: rgba(212, 163, 115, 0.15);
    border-color: var(--gold);
    color: var(--gold)
}

.footer-col h4 {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 1.25rem
}

.footer-col ul {
    list-style: none
}

.footer-col ul li {
    margin-bottom: .7rem
}

.footer-col ul li a {
    font-size: .85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
    cursor: pointer
}

.footer-col ul li a:hover {
    color: var(--gold)
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.footer-copy {
    font-size: .8rem;
    color: rgba(255, 255, 255, 0.2)
}

/* ─── MODALS ─── */
body.modal-open {
    overflow: hidden !important;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 8, 18, 0.85);
    backdrop-filter: blur(12px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all
}

.modal {
    background: var(--card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 3rem;
    width: 90%;
    max-width: 440px;
    transform: translateY(20px);
    transition: transform .3s;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), var(--glow)
}

.modal-overlay.active .modal {
    transform: translateY(0)
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.25rem
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff
}

.modal-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    padding: .3rem .55rem;
    border-radius: 8px;
    transition: all .2s
}

.modal-close:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2)
}

.form-group {
    margin-bottom: 1.45rem
}

.form-group label {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: .5rem;
    letter-spacing: .07em
}

.form-group input,
.form-group select {
    width: 100%;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xs);
    padding: .85rem 1.1rem;
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    color: #fff;
    outline: none;
    transition: border-color .2s;
    background: rgba(255, 255, 255, 0.05)
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--gold);
    background: rgba(212, 163, 115, 0.04)
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.25)
}

.form-group select option {
    background: var(--card);
    color: #fff
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: .8rem
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border)
}

.modal-switch {
    text-align: center;
    margin-top: 1.5rem;
    font-size: .85rem;
    color: var(--text-muted)
}

.modal-switch a {
    color: var(--gold);
    cursor: pointer;
    font-weight: 600;
    text-decoration: none
}

/* ─── ADMIN PANEL ─── */
#page-admin {
    background: var(--bg)
}

.admin-layout {
    display: flex;
    min-height: 100vh
}

.admin-sidebar {
    width: 260px;
    background: #060B14;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto
}

.admin-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    padding: 0 1.5rem 2rem;
    border-bottom: 1px solid var(--border)
}

.admin-logo span {
    display: block;
    font-size: .65rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Inter', sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-top: .25rem
}

.admin-nav {
    padding: 1.5rem 0;
    flex: 1
}

.admin-nav-section {
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
    padding: .75rem 1.5rem;
    margin-top: .5rem
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .8rem 1.5rem;
    font-size: .875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all .2s;
    border-left: 3px solid transparent
}

.admin-nav-item:hover {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.04)
}

.admin-nav-item.active {
    color: #fff;
    background: rgba(212, 163, 115, 0.1);
    border-left-color: var(--gold)
}

.admin-nav-item .icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center
}

.admin-main {
    flex: 1;
    padding: 2.5rem;
    overflow-y: auto;
    background: var(--bg)
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem
}

.admin-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #fff
}

.admin-title span {
    display: block;
    font-size: .875rem;
    font-weight: 400;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    margin-top: .2rem
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem
}

.admin-stat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    transition: all .3s
}

.admin-stat:hover {
    background: var(--card-2);
    border-color: var(--border-gold)
}

.admin-stat-icon {
    font-size: 1.5rem;
    margin-bottom: .75rem
}

.admin-stat-val {
    font-family: 'Inter', sans-serif;
    font-variant-numeric: tabular-nums;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.02em;
    line-height: 1.05
}

.admin-stat-lbl {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: .25rem
}

.admin-stat-change {
    font-size: .75rem;
    margin-top: .5rem;
    color: #10b981;
    font-weight: 500
}

.admin-stat-change.down {
    color: #ef4444
}

.admin-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.75rem;
    margin-bottom: 1.75rem
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem
}

.admin-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff
}

.search-bar {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    padding: .6rem 1rem
}

.search-bar input {
    background: none;
    border: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    outline: none;
    width: 200px
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.25)
}

.admin-table {
    width: 100%;
    border-collapse: collapse
}

.admin-table th {
    text-align: left;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--border)
}

.admin-table td {
    padding: .9rem 1rem;
    font-size: .85rem;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03)
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.85)
}

.admin-badge {
    font-size: .7rem;
    font-weight: 600;
    padding: .3rem .75rem;
    border-radius: 100px
}

.badge-confirmed {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981
}

.badge-completed {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa
}

.badge-pending {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b
}

.badge-cancelled {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444
}

.badge-luxury {
    background: rgba(212, 163, 115, 0.12);
    color: var(--gold)
}

.admin-action {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: .3rem .65rem;
    font-size: .75rem;
    cursor: pointer;
    transition: all .2s;
    font-family: 'Inter', sans-serif
}

.admin-action:hover {
    border-color: var(--gold);
    color: var(--gold)
}

.admin-action.danger:hover {
    border-color: #ef4444;
    color: #ef4444
}

.chart-bar-wrap {
    display: flex;
    align-items: flex-end;
    gap: .5rem;
    height: 160px;
    padding-bottom: .5rem
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--gold-dark), var(--gold));
    border-radius: 6px 6px 0 0;
    opacity: .75;
    transition: opacity .2s;
    cursor: pointer;
    position: relative
}

.chart-bar:hover {
    opacity: 1
}

.chart-bar::after {
    content: attr(data-label);
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .65rem;
    color: var(--text-muted);
    white-space: nowrap
}

/* ─── ALL HOTELS PAGE ─── */
#page-all-hotels {
    background: var(--bg);
    min-height: 100vh;
    padding-top: 90px
}

.hotels-page-header {
    padding: 3rem 0 2rem;
    background: linear-gradient(to bottom, var(--bg-2), var(--bg))
}

.hotels-page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff
}

.hotels-page-sub {
    color: var(--text-muted);
    font-size: .9rem;
    margin-top: .5rem
}

/* Filter Bar */
.filter-sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 110px;
    align-self: start
}

.filter-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow)
}

.filter-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem
}

.filter-panel-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff
}

.filter-panel-sub {
    font-size: .78rem;
    color: var(--text-muted)
}

.filter-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: .4rem
}

.filter-actions {
    display: flex;
    gap: .75rem;
    margin-top: 1rem
}

.hotels-browse-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start
}

.hotels-results {
    min-width: 0
}

.filter-bar {
    display: none
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    flex: 1;
    min-width: 140px
}

.filter-label {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted)
}

.filter-input,
.filter-select {
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xs);
    padding: .65rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: .82rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    outline: none;
    transition: border-color .2s;
    width: 100%
}

.filter-input {
    cursor: text
}

.filter-select {
    cursor: pointer
}

.filter-input:focus,
.filter-select:focus {
    border-color: var(--gold)
}

.filter-input::placeholder {
    color: rgba(255, 255, 255, 0.3)
}

.filter-select option {
    background: #0F172A;
    color: #fff
}

.filter-btn {
    display: flex;
    gap: .75rem;
    align-items: center;
    flex-shrink: 0
}

.filter-active-tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(212, 163, 115, 0.15);
    border: 1px solid rgba(212, 163, 115, 0.3);
    color: var(--gold-light);
    padding: .3rem .8rem;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 500
}

.filter-active-tag button {
    background: none;
    border: none;
    color: var(--gold-light);
    cursor: pointer;
    font-size: .9rem;
    line-height: 1;
    padding: 0;
    margin-left: .2rem
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.5rem
}

/* Hotel Cards with Slider (All Hotels Page) */
.all-hotels-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem
}

.hotel-card-lg {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all .3s;
    cursor: pointer
}

.hotel-card-lg:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--glow);
    border-color: var(--border-gold)
}

/* Image Slider */
.img-slider {
    position: relative;
    height: 280px;
    overflow: hidden
}

.slider-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform .64s cubic-bezier(.22, .61, .36, 1);
    will-change: transform
}

.slider-track img {
    width: 100%;
    min-width: 100%;
    flex: 0 0 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transform: translateZ(0);
    backface-visibility: hidden
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(8, 14, 26, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: .8rem;
    transition: all .2s;
    backdrop-filter: blur(8px);
    opacity: 0
}

.img-slider:hover .slider-btn {
    opacity: 1
}

.slider-btn.prev {
    left: .75rem
}

.slider-btn.next {
    right: .75rem
}

.slider-btn:hover {
    background: rgba(212, 163, 115, 0.3);
    border-color: var(--gold)
}

.slider-dots {
    position: absolute;
    bottom: .9rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: .32rem;
    padding: .25rem .45rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08)
}

.slider-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    transition: all .2s ease;
    cursor: pointer
}

.slider-dot.active {
    width: 6.5px;
    height: 6.5px;
    background: #fff;
    transform: scale(1.08)
}

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: .3rem .85rem;
    border-radius: 100px
}

.card-info {
    padding: 1.25rem
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: .35rem
}

.card-name {
    font-size: 1rem;
    font-weight: 600;
    color: #fff
}

.card-rating {
    display: flex;
    align-items: center;
    gap: .25rem;
    font-size: .8rem;
    font-weight: 600;
    color: #fff
}

.card-star {
    color: var(--gold)
}

.card-loc {
    font-size: .78rem;
    color: var(--text-muted);
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .3rem
}

.card-amenities {
    display: flex;
    gap: .5rem;
    margin-bottom: .85rem;
    flex-wrap: wrap
}

.amenity-tag {
    font-size: .68rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: .2rem .6rem;
    border-radius: 100px
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: .85rem;
    border-top: 1px solid var(--border)
}

.card-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1
}

.card-price-sub {
    font-size: .72rem;
    font-weight: 400;
    color: var(--text-muted)
}

.results-count {
    color: var(--text-muted);
    font-size: .875rem;
    margin-bottom: 1.5rem
}

.results-count span {
    color: var(--gold-light);
    font-weight: 600
}

/* Price Range Slider */
.price-range-wrap {
    position: relative
}

.price-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: .4rem;
    font-size: .72rem;
    color: var(--text-muted)
}

input[type="range"] {
    width: 100%;
    accent-color: var(--gold);
    cursor: pointer;
    height: 4px;
    border-radius: 2px
}



/* Professional typography and compact price rhythm */
h1,
h2,
h3,
.logo,
.section-title,
.hero-h1,
.hotels-page-title,
.detail-title,
.newsletter-title,
.admin-title,
.footer-logo {
    letter-spacing: -.025em
}

.hotel-price,
.card-price,
.panel-price-main,
.stat-num,
.admin-stat-val,
.order-total,
.guest-count-val {
    font-family: 'Inter', sans-serif;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em
}

.hotel-price,
.card-price {
    display: inline-flex;
    align-items: baseline;
    gap: .25rem;
    white-space: nowrap
}

.hotel-price span,
.card-price-sub {
    display: inline;
    font-size: .78rem;
    line-height: 1.1
}

.amenities-chip-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    max-height: 152px;
    overflow: auto;
    padding: .15rem .1rem .25rem
}

.amenity-filter-chip {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .045);
    color: var(--text-dim);
    padding: .5rem .72rem;
    font-family: 'Inter', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease
}

.amenity-filter-chip:hover {
    border-color: rgba(212, 163, 115, .42);
    background: rgba(212, 163, 115, .08);
    color: #fff;
    transform: translateY(-1px)
}

.amenity-filter-chip.active {
    border-color: rgba(212, 163, 115, .75);
    background: linear-gradient(135deg, rgba(212, 163, 115, .28), rgba(184, 137, 58, .18));
    color: var(--gold-light);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04)
}

.amenities-chip-grid::-webkit-scrollbar {
    width: 8px;
    height: 8px
}

.amenities-chip-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .035);
    border-radius: 999px
}

.amenities-chip-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(212, 163, 115, .62), rgba(184, 137, 58, .42));
    border-radius: 999px;
    border: 2px solid rgba(19, 28, 46, .95)
}

.amenities-chip-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(232, 201, 154, .86), rgba(212, 163, 115, .58))
}

.filter-input {
    cursor: text
}

.filter-select,
.amenity-filter-chip,
.slider-btn,
.slider-dot,
.save-stay-action {
    cursor: pointer
}

.card-footer-actions {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    flex-shrink: 0
}

.card-save-btn,
.booking-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .045);
    color: var(--text-dim);
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
    transition: transform .22s ease, background .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease
}

.card-save-btn {
    padding: .5rem 1rem
}

.card-save-btn:hover,
.booking-save-btn:hover,
.card-save-btn.active,
.booking-save-btn.active {
    border-color: rgba(212, 163, 115, .72);
    background: rgba(212, 163, 115, .13);
    color: var(--gold-light);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .16)
}

.card-save-btn:active,
.booking-save-btn:active {
    transform: scale(.98)
}

.booking-cta-row {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: .75rem;
    margin-bottom: 1rem
}

.booking-save-btn {
    padding: 1.05rem .9rem;
    font-size: .88rem;
    background: rgba(255, 255, 255, .04)
}

.booking-reserve-btn {
    width: 100%;
    justify-content: center;
    padding: 1.1rem;
    font-size: 1rem
}

.slider-track.slide-left,
.slider-track.slide-right {
    will-change: transform;
}

.review-box {
    margin-top: .85rem;
    padding: 1rem;
    border: 1px solid rgba(212, 163, 115, .24);
    border-radius: var(--radius-xs);
    background: rgba(212, 163, 115, .055)
}

.review-box textarea {
    width: 100%;
    min-height: 86px;
    resize: vertical;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .045);
    color: #fff;
    padding: .85rem;
    font-family: 'Inter', sans-serif;
    font-size: .85rem;
    outline: none
}

.review-box textarea:focus {
    border-color: rgba(212, 163, 115, .75)
}

.review-stars {
    display: flex;
    gap: .18rem;
    color: var(--gold);
    margin-bottom: .65rem;
    letter-spacing: .02em
}

.review-star-btn {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, .24);
    font-size: 1.15rem;
    line-height: 1;
    padding: .1rem;
    cursor: pointer;
    transition: color .18s ease, transform .18s ease
}

.review-star-btn.active {
    color: var(--gold)
}

.review-star-btn:hover {
    color: var(--gold-light);
    transform: translateY(-1px) scale(1.08)
}

.review-rating-label {
    font-size: .72rem;
    color: var(--text-muted);
    margin-left: .35rem;
    white-space: nowrap
}

.guest-picker {
    padding: .15rem 1rem .95rem
}

.guest-picker-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .95rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.guest-picker-row:last-child {
    border-bottom: none;
    padding-bottom: 0
}

.guest-picker-title {
    font-size: .9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .12rem
}

.guest-picker-age {
    font-size: .76rem;
    color: var(--text-muted)
}

.guest-stepper {
    display: inline-flex;
    align-items: center;
    gap: .72rem;
    flex-shrink: 0
}

.guest-stepper-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.4px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .04);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font: 600 1rem/1 'Inter', sans-serif;
    transition: all .2s ease
}

.guest-stepper-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 163, 115, .08)
}

.guest-stepper-btn:disabled {
    opacity: .36;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .025)
}

.booking-cta-row.single-action {
    display: block
}

/* ─── HOTEL DETAIL PAGE ─── */
#page-hotel-detail {
    background: var(--bg);
    min-height: 100vh;
    padding-top: 80px
}

.detail-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 6px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative
}

.gallery-main {
    grid-row: 1/3;
    grid-column: 1/2;
    position: relative;
    overflow: hidden
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease
}

.gallery-main:hover img {
    transform: scale(1.04)
}

.gallery-side {
    position: relative;
    overflow: hidden
}

.gallery-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease
}

.gallery-side:hover img {
    transform: scale(1.06)
}

.gallery-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(8, 14, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: .55rem 1.1rem;
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all .2s;
    backdrop-filter: blur(8px)
}

.gallery-btn:hover {
    border-color: var(--gold);
    color: var(--gold)
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    padding: 2.5rem 0 4rem;
    align-items: start
}

/* .detail-left {} */

.detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .5rem
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    color: #fff;
    font-size: .95rem
}

.detail-loc {
    font-size: .9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: .35rem
}

.detail-badge {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    padding: .3rem .85rem;
    border-radius: 100px
}

.detail-divider {
    height: 1px;
    background: var(--border);
    margin: 1.75rem 0
}

.detail-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem
}

.detail-desc {
    color: var(--text-dim);
    line-height: 1.8;
    font-size: .925rem
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    margin-top: 1rem
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: .82rem;
    color: var(--text-dim)
}

.amenity-item .aic {
    font-size: 1.1rem
}

.rooms-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem
}

.room-card {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    transition: all .2s
}

.room-card:hover .room-img {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28)
}

.room-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-xs);
    transition: all .25s ease;
    border: 1px solid var(--border)
}

.room-info {
    padding: .85rem 0 0;
    flex: 1
}

.room-name {
    font-size: .95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .25rem
}

.room-details {
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 0
}

@media (max-width: 640px) {
    .detail-heading-row {
        flex-direction: column
    }

    .detail-actions {
        padding-top: 0
    }

    .rooms-list {
        grid-template-columns: 1fr
    }

    .room-img {
        height: 210px
    }
}



.detail-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: .5rem
}

.detail-actions {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-shrink: 0;
    padding-top: .25rem
}

.detail-action-btn {
    border: 1px solid rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .04);
    color: var(--text-dim);
    border-radius: 999px;
    padding: .52rem .9rem;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease
}

.detail-action-btn:hover,
.detail-action-btn.active {
    border-color: rgba(212, 163, 115, .7);
    background: rgba(212, 163, 115, .12);
    color: var(--gold-light)
}

/* Booking Panel (right side) */
.booking-panel {
    background: var(--card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 1.75rem;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-lg), var(--glow)
}

.panel-price {
    margin-bottom: 1.5rem
}

.panel-price-original {
    font-size: .85rem;
    color: var(--text-muted);
    text-decoration: line-through
}

.panel-price-main {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: #fff;
    line-height: 1
}

.panel-price-main span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif
}

.panel-price-note {
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: .25rem
}

.booking-form-panel {
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1rem
}

.booking-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08)
}

.booking-row:last-child {
    border-bottom: none
}

.booking-field {
    padding: .9rem 1rem
}

.booking-field:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.08)
}

.booking-field-label {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .3rem
}

.booking-field input,
.booking-field select {
    background: none;
    border: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    outline: none;
    width: 100%;
    cursor: pointer
}

.booking-field input::placeholder {
    color: rgba(255, 255, 255, 0.4)
}

.booking-field select option {
    background: #0F172A
}

.panel-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 0;
    font-size: .875rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border)
}

.panel-total-row:last-of-type {
    border-bottom: none;
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
    padding-top: .85rem;
    margin-top: .25rem;
    border-top: 1px solid var(--border)
}

.panel-total-row span {
    color: #fff;
    font-weight: 500
}

.panel-note {
    font-size: .75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: .75rem
}

.panel-rating-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: 1rem;
    font-size: .8rem;
    color: var(--text-muted)
}

.panel-rating-strip .stars {
    color: var(--gold)
}

.detail-back {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--text-muted);
    cursor: pointer;
    font-size: .875rem;
    padding: 1.5rem 0;
    transition: color .2s
}

.detail-back:hover {
    color: var(--gold-light)
}

.host-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm)
}

.host-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-gold);
    flex-shrink: 0
}

.host-name {
    font-weight: 600;
    color: #fff;
    font-size: .95rem
}

.host-badge {
    font-size: .75rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-top: .2rem
}

.host-since {
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: .15rem
}

/* ─── PAYMENT PAGE ─── */
#page-payment {
    background: var(--bg);
    min-height: 100vh;
    padding-top: 90px
}

.payment-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    padding: 2.5rem 0 5rem;
    align-items: start
}

.payment-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 2.5rem
}

.step {
    display: flex;
    align-items: center;
    gap: .5rem
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    border: 2px solid var(--border);
    color: var(--text-muted);
    transition: all .3s
}

.step-num.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 163, 115, 0.1)
}

.step-num.done {
    border-color: var(--gold);
    background: var(--gold);
    color: #fff
}

.step-label {
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-muted)
}

.step-label.active {
    color: var(--gold-light)
}

.step-line {
    flex: 1;
    height: 1px;
    background: var(--border);
    margin: 0 .75rem
}

.payment-section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1.5rem
}

.payment-section-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: .5rem
}

.payment-section-title .psi {
    font-size: 1.1rem
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap
}

.pay-method {
    flex: 1;
    min-width: 100px;
    border: 2px solid var(--border);
    border-radius: var(--radius-xs);
    padding: .85rem 1rem;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    color: var(--text-muted)
}

.pay-method.selected {
    border-color: var(--gold);
    background: rgba(212, 163, 115, 0.08);
    color: var(--gold-light)
}

.pay-method .pm-icon {
    font-size: 1.5rem
}

.pay-method .pm-label {
    font-weight: 500
}

.card-visual {
    background: linear-gradient(135deg, #1A2438 0%, #243044 50%, #1A2438 100%);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    aspect-ratio: 1.6
}

.card-visual::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.15) 0%, transparent 70%)
}

.card-visual-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 6px;
    margin-bottom: 1.5rem
}

.card-visual-number {
    font-size: 1.1rem;
    letter-spacing: .18em;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    margin-bottom: 1.25rem
}

.card-visual-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end
}

.card-visual-label {
    font-size: .6rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: .2rem
}

.card-visual-value {
    font-size: .85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8)
}

.card-visual-logo {
    font-size: 1.75rem;
    opacity: .6
}

.guest-count-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .75rem 0
}

.guest-count-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    font-family: 'Inter', sans-serif
}

.guest-count-btn:hover {
    border-color: var(--gold);
    color: var(--gold)
}

.guest-count-val {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    min-width: 30px;
    text-align: center
}

.guest-type {
    flex: 1;
    font-size: .875rem;
    color: var(--text-dim)
}

/* Order Summary Panel */
.order-panel {
    background: var(--card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 1.75rem;
    position: sticky;
    top: 100px
}

.order-hotel-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-xs);
    margin-bottom: 1rem
}

.order-hotel-name {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    margin-bottom: .2rem
}

.order-hotel-loc {
    font-size: .78rem;
    color: var(--text-muted);
    margin-bottom: 1rem
}

.order-divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 0
}

.order-row {
    display: flex;
    justify-content: space-between;
    font-size: .875rem;
    color: var(--text-muted);
    padding: .35rem 0
}

.order-row span {
    color: rgba(255, 255, 255, 0.75)
}

.order-total {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    padding: .75rem 0;
    border-top: 1px solid var(--border);
    margin-top: .5rem
}

/* ─── SETTINGS PAGE ─── */
#page-settings {
    background: var(--bg);
    min-height: 100vh;
    padding-top: 90px
}

.settings-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
    padding: 2.5rem 0 5rem
}

.settings-sidebar {
    position: sticky;
    top: 100px
}

.settings-nav {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden
}

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .9rem 1.25rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s;
    border-left: 3px solid transparent
}

.settings-nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04)
}

.settings-nav-item.active {
    color: var(--gold);
    background: rgba(212, 163, 115, 0.08);
    border-left-color: var(--gold)
}

.settings-nav-item .si {
    font-size: 1rem;
    width: 18px;
    text-align: center
}

.settings-section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem
}

.settings-section-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border)
}

.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04)
}

.settings-row:last-child {
    border-bottom: none;
    padding-bottom: 0
}

.settings-row-left {
    flex: 1
}

.settings-row-label {
    font-size: .9rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: .2rem
}

.settings-row-desc {
    font-size: .78rem;
    color: var(--text-muted)
}

.toggle {
    position: relative;
    width: 48px;
    height: 26px;
    cursor: pointer;
    flex-shrink: 0
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute
}

.toggle-track {
    position: absolute;
    inset: 0;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.1);
    transition: background .3s
}

.toggle input:checked~.toggle-track {
    background: var(--gold)
}

.toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform .3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3)
}

.toggle input:checked~.toggle-thumb {
    transform: translateX(22px)
}

.lang-options {
    display: flex;
    gap: .75rem;
    margin-top: .75rem;
    flex-wrap: wrap
}

.lang-option {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xs);
    padding: .65rem 1.25rem;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all .2s;
    display: flex;
    align-items: center;
    gap: .5rem
}

.lang-option.selected {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(212, 163, 115, 0.08)
}

.lang-option:hover {
    border-color: var(--border-gold);
    color: var(--text)
}

.settings-page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .4rem
}

.settings-page-sub {
    color: var(--text-muted);
    font-size: .875rem;
    margin-bottom: 2rem
}

.profile-settings-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    max-width: 80px;
    max-height: 80px;
    overflow: hidden;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    flex: 0 0 80px;
    border: 3px solid rgba(212, 163, 115, 0.3)
}

.profile-settings-avatar>img,
.profile-settings-avatar [data-avatar-preview-image] {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

.profile-settings-avatar.has-pending-avatar-preview {
    box-shadow: 0 0 0 4px rgba(212, 163, 115, .14);
}

.profile-settings-avatar [data-avatar-preview-fallback] {
    position: relative;
    z-index: 1;
}

/* ─── TOAST ─── */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--card-2);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-xs);
    box-shadow: var(--shadow-lg);
    font-size: .875rem;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all .3s;
    display: flex;
    align-items: center;
    gap: .75rem;
    border: 1px solid var(--border-gold);
    border-left: 3px solid var(--gold)
}

.toast.show {
    transform: translateY(0);
    opacity: 1
}



@media(max-width:768px) {

    .img-slider,
    .slider-track img {
        height: 230px;
    }
}

/* ─── RESPONSIVE ─── */
@media(max-width:1100px) {

    .detail-layout,
    .payment-layout {
        grid-template-columns: 1fr
    }

    .booking-panel,
    .order-panel {
        position: static
    }

    .detail-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 320px
    }

    .gallery-main {
        grid-row: auto;
        grid-column: auto
    }

    .gallery-side:not(:first-child) {
        display: none
    }
}

@media(max-width:1024px) {

    .hotels-grid,
    .all-hotels-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .testi-grid {
        grid-template-columns: 1fr 1fr
    }

    .dest-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto
    }

    .dest-card {
        grid-column: auto !important;
        grid-row: auto !important;
        height: 220px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .admin-stats {
        grid-template-columns: repeat(2, 1fr)
    }

    .settings-layout {
        grid-template-columns: 1fr
    }

    .settings-sidebar {
        position: static
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:768px) {

    .nav-links,
    .nav-btns {
        display: none
    }

    .hotels-grid,
    .all-hotels-grid,
    .testi-grid,
    .footer-grid,
    .why-grid {
        grid-template-columns: 1fr
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .dest-grid {
        grid-template-columns: 1fr
    }

    .newsletter-form {
        flex-direction: column
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem
    }

    .admin-sidebar {
        display: none
    }

    .admin-stats {
        grid-template-columns: 1fr
    }

    .filter-bar {
        flex-direction: column
    }

    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
        display: grid
    }

    .amenities-grid {
        grid-template-columns: 1fr 1fr
    }
}

/* IMPROVEMENTS */
.stat-num,
.hotel-price,
.hotel-rating,
.admin-stat-number,
.metric-number,
.revenue-amount,
.booking-price,
.dashboard-number {
    font-family: 'Inter', 'Segoe UI', sans-serif !important;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.modal-overlay {
    overflow-y: auto;
    padding: 40px 20px;
}

.modal {
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
}

.modal::-webkit-scrollbar {
    width: 6px;
}

.modal::-webkit-scrollbar-thumb {
    background: rgba(212, 163, 115, .35);
    border-radius: 20px;
}

.auth-modal .form-group {
    margin-bottom: 1.5rem;
}

.auth-modal .btn {
    margin-top: 1rem;
}

.action-buttons {
    display: flex;
    gap: .75rem;
    align-items: center;
}

.action-buttons .btn {
    flex: 1;
    justify-content: center;
}

.dashboard-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.dashboard-card-mini {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 1.25rem;
}

.dashboard-card-mini h4 {
    color: #fff;
    margin-bottom: .5rem;
}

.crud-modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.crud-modal-actions .btn {
    flex: 1;
    justify-content: center;
}

/* CRUD MODAL SYSTEM */
.crud-modal {
    width: min(1120px, 96vw);
    max-width: 1120px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.crud-modal .modal-header {
    padding: 1.5rem 1.75rem;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(212, 163, 115, 0.06), transparent);
}

.crud-modal-body {
    display: grid;
    grid-template-columns: 1.4fr .9fr;
    min-height: 70vh;
}

.crud-panel {
    padding: 1.75rem;
    overflow-y: auto;
}

.crud-panel+.crud-panel {
    border-left: 1px solid var(--border);
    background: rgba(255, 255, 255, .02);
}

.crud-subtitle {
    color: var(--text-muted);
    font-size: .86rem;
    line-height: 1.7;
    margin-top: .35rem;
}

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

.crud-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.crud-span-2 {
    grid-column: span 2;
}

.crud-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xs);
    padding: .85rem 1.1rem;
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    color: #fff;
    outline: none;
    transition: border-color .2s;
    background: rgba(255, 255, 255, 0.05);
}

.form-group textarea:focus {
    border-color: var(--gold);
    background: rgba(212, 163, 115, 0.04);
}

.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.helper-text {
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: .45rem;
    line-height: 1.6;
}

.crud-image-drop {
    border: 1.5px dashed rgba(212, 163, 115, .35);
    background: rgba(212, 163, 115, .05);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.crud-image-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
}

.crud-image-preview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.crud-image-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    aspect-ratio: 1 / .82;
}

.crud-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.crud-image-card .remove {
    position: absolute;
    top: .5rem;
    right: .5rem;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(8, 14, 26, .78);
    color: #fff;
    cursor: pointer;
}

.crud-chip-row {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.crud-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    color: var(--text-dim);
    font-size: .8rem;
}

.crud-chip button {
    border: none;
    background: none;
    color: inherit;
    cursor: pointer;
    font-size: .95rem;
    line-height: 1;
    padding: 0;
}

.crud-actions {
    display: flex;
    gap: .75rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.crud-actions .btn {
    flex: 1;
    justify-content: center;
}

.crud-mini-card {
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1rem;
}

.crud-mini-label {
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .35rem;
}

.crud-mini-value {
    color: #fff;
    font-weight: 600;
    line-height: 1.5;
}

.crud-pill {
    display: inline-flex;
    align-items: center;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: rgba(212, 163, 115, .12);
    color: var(--gold-light);
    border: 1px solid rgba(212, 163, 115, .22);
    font-size: .78rem;
    font-weight: 600;
}

.crud-note-box {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    padding: 1rem;
    color: var(--text-dim);
    line-height: 1.7;
    font-size: .88rem;
}

.crud-room-list {
    display: grid;
    gap: .85rem;
}

.crud-room {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    padding: .9rem;
}

.crud-room-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}

.crud-room-title {
    color: #fff;
    font-weight: 600;
}

.crud-room-remove {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    color: var(--text-muted);
    border-radius: 10px;
    cursor: pointer;
    padding: .25rem .6rem;
}

@media (max-width: 980px) {
    .crud-modal-body {
        grid-template-columns: 1fr;
    }

    .crud-panel+.crud-panel {
        border-left: none;
        border-top: 1px solid var(--border);
    }
}

@media (max-width: 640px) {

    .crud-grid,
    .crud-grid-3 {
        grid-template-columns: 1fr;
    }

    .crud-span-2 {
        grid-column: auto;
    }

    .crud-image-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}



/* FINAL NUMBER TYPOGRAPHY + AIRBNB-LIKE GUEST DROPDOWN */
:root {
    --font-number: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

:is(.panel-price-main, .panel-price-original, .panel-price-note, .hotel-price, .card-price, .card-rating, .hotel-rating, .detail-rating, .stat-num, .admin-stat-val, .admin-table td, .order-row, .order-total, .guest-count-val, .booking-field input, .booking-field select, .price-range-labels, .results-count, .booking-price, .revenue-amount, .dashboard-number, .metric-number) {
    font-family: var(--font-number) !important;
    font-variant-numeric: tabular-nums lining-nums;
    letter-spacing: -0.025em;
}

.panel-price-main {
    font-weight: 750 !important;
    font-size: 2rem !important;
}

.panel-price-main span,
.card-price-sub,
.hotel-price span {
    letter-spacing: 0;
}

.guest-dropdown {
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.guest-dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: transparent;
    border: 0;
    color: #fff;
    text-align: left;
    cursor: pointer;
    padding: .9rem 1rem;
    font-family: var(--font-body);
}

.guest-dropdown-toggle:hover {
    background: rgba(255, 255, 255, .025);
}

.guest-summary-main {
    font-size: .9rem;
    font-weight: 600;
    color: #fff;
}

.guest-summary-sub {
    margin-top: .15rem;
    font-size: .76rem;
    color: var(--text-muted);
}

.guest-chevron {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .035);
    color: var(--text-dim);
    transition: transform .22s ease, border-color .2s ease, color .2s ease, background .2s ease;
    flex-shrink: 0;
}

.guest-dropdown.open .guest-chevron {
    transform: rotate(180deg);
    border-color: rgba(212, 163, 115, .45);
    color: var(--gold-light);
    background: rgba(212, 163, 115, .08);
}

.guest-picker {
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    opacity: 0;
    transition: max-height .28s ease, opacity .22s ease, padding .28s ease;
}

.guest-dropdown.open .guest-picker {
    max-height: 360px;
    opacity: 1;
    padding: .15rem 1rem .95rem;
}

.guest-limit-note {
    padding: .75rem 0 0;
    font-size: .74rem;
    color: var(--text-muted);
    line-height: 1.5;
}



/* HOST PANEL REFINEMENT */
#page-owner .admin-main,
#page-owner .admin-table,
#page-owner .admin-card,
#page-owner .search-bar input,
#page-owner .btn,
#page-owner .admin-action,
#page-owner .form-group input,
#page-owner .form-group select,
#page-owner .form-group textarea {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

#page-owner .admin-title,
#page-owner .admin-card-title {
    letter-spacing: -.02em;
}

/* Premium file input + number field polish */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    --appearance: textfield;
}

.crud-image-head input[type="file"] {
    color: var(--text-dim);
    max-width: 250px;
    font-size: .78rem;
}

.crud-image-head input[type="file"]::file-selector-button,
.crud-file-button {
    border: 1px solid rgba(212, 163, 115, .32);
    background: rgba(212, 163, 115, .09);
    color: var(--gold-light);
    border-radius: 999px;
    padding: .58rem .95rem;
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
    margin-right: .7rem;
}

.crud-image-head input[type="file"]::file-selector-button:hover,
.crud-file-button:hover {
    background: rgba(212, 163, 115, .16);
    border-color: var(--gold);
    color: #fff;
}

.crud-file-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 45px;
}

.crud-file-button input {
    display: none;
}

.host-property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.host-property-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.host-property-info {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.host-property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin: .15rem 0 .95rem;
}

.host-property-meta span {
    display: inline-flex;
    align-items: center;
    padding: .28rem .62rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 163, 115, .18);
    background: rgba(212, 163, 115, .08);
    color: var(--gold-light);
    font-size: .72rem;
    font-weight: 600;
}

.host-property-price-row {
    margin-top: auto;
    padding-top: .95rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.host-property-price {
    display: flex;
    align-items: baseline;
    gap: .1rem;
    white-space: nowrap;
}

.host-property-price .card-price-sub {
    display: inline;
    margin-left: .08rem;
}

.host-status-cell {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: wrap;
}

.host-status-select {
    min-width: 132px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: #fff;
    padding: .42rem .85rem;
    font-size: .78rem;
    outline: none;
}

.host-status-select:focus {
    border-color: var(--gold);
}

.host-review-actions {
    display: flex;
    gap: .45rem;
    flex-wrap: wrap;
}

.availability-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.availability-kpi {
    padding: 1.15rem 1.2rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02));
    border: 1px solid var(--border);
}

.availability-kpi span,
.availability-kpi small {
    display: block;
    color: var(--text-muted);
    font-size: .77rem;
}

.availability-kpi strong {
    display: block;
    margin: .35rem 0 .2rem;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

.availability-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .8fr);
    gap: 1.25rem;
}

.availability-calendar,
.availability-insights {
    margin-bottom: 0;
}

.availability-legend {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: wrap;
}

.availability-legend .legend {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .72rem;
    color: var(--text-muted);
}

.availability-legend .legend::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
}

.availability-legend .legend.open::before {
    background: rgba(16, 185, 129, .8);
}

.availability-legend .legend.booked::before {
    background: rgba(212, 163, 115, .95);
}

.availability-legend .legend.blocked::before {
    background: rgba(239, 68, 68, .85);
}

.availability-month-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0 .9rem;
    color: #fff;
}

.availability-month-head span {
    color: var(--text-muted);
    font-size: .8rem;
}

.availability-weekdays,
.availability-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .55rem;
}

.availability-weekdays span {
    color: var(--text-muted);
    font-size: .72rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.availability-day {
    min-height: 62px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    color: #fff;
    cursor: pointer;
    position: relative;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.availability-day span {
    position: absolute;
    top: .65rem;
    left: .7rem;
    font-size: .85rem;
    font-weight: 600;
}

.availability-day:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 163, 115, .45);
}

.availability-day.open {
    background: rgba(16, 185, 129, .08);
}

.availability-day.booked {
    background: rgba(212, 163, 115, .15);
    border-color: rgba(212, 163, 115, .3);
}

.availability-day.blocked {
    background: rgba(239, 68, 68, .12);
    border-color: rgba(239, 68, 68, .28);
}

.availability-day.muted {
    opacity: .42;
}

.availability-meter {
    margin-top: 1rem;
}

.availability-meter>div {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    color: var(--text-dim);
    font-size: .85rem;
    margin-bottom: .45rem;
}

.availability-meter strong {
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.availability-meter i {
    display: block;
    height: 10px;
    width: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    overflow: hidden;
    position: relative;
}

.availability-meter i::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w);
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(212, 163, 115, .65), rgba(232, 201, 154, .95));
}

.crud-modal {
    border-color: rgba(212, 163, 115, .28);
    box-shadow: 0 26px 90px rgba(0, 0, 0, .62), 0 0 0 1px rgba(212, 163, 115, .08);
}

.crud-modal .modal-header {
    background: radial-gradient(circle at top right, rgba(212, 163, 115, .16), transparent 36%), linear-gradient(180deg, rgba(212, 163, 115, .08), rgba(255, 255, 255, 0));
}

.crud-panel::-webkit-scrollbar {
    width: 8px;
}

.crud-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .025);
    border-radius: 999px;
}

.crud-panel::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(212, 163, 115, .65), rgba(184, 137, 58, .45));
    border-radius: 999px;
    border: 2px solid rgba(8, 14, 26, .58);
}

.crud-panel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(232, 201, 154, .85), rgba(212, 163, 115, .65));
}

/* HOST DASHBOARD POLISH V2 */
#page-owner,
#page-owner .admin-main,
#page-owner .admin-sidebar,
.host-dropdown-menu,
.earnings-table-wrap {
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 163, 115, .65) rgba(255, 255, 255, .035);
}

#page-owner::-webkit-scrollbar,
#page-owner .admin-main::-webkit-scrollbar,
#page-owner .admin-sidebar::-webkit-scrollbar,
.host-dropdown-menu::-webkit-scrollbar,
.earnings-table-wrap::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

#page-owner::-webkit-scrollbar-track,
#page-owner .admin-main::-webkit-scrollbar-track,
#page-owner .admin-sidebar::-webkit-scrollbar-track,
.host-dropdown-menu::-webkit-scrollbar-track,
.earnings-table-wrap::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .025);
    border-radius: 999px;
}

#page-owner::-webkit-scrollbar-thumb,
#page-owner .admin-main::-webkit-scrollbar-thumb,
#page-owner .admin-sidebar::-webkit-scrollbar-thumb,
.host-dropdown-menu::-webkit-scrollbar-thumb,
.earnings-table-wrap::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(232, 201, 154, .75), rgba(184, 137, 58, .5));
    border-radius: 999px;
    border: 2px solid rgba(8, 14, 26, .62);
}

.host-status-cell {
    min-width: 282px;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.host-status-options {
    display: inline-grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .28rem;
    padding: .26rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .09);
    width: 246px;
}

.host-status-chip {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: .72rem;
    font-weight: 700;
    padding: .46rem .55rem;
    cursor: pointer;
    transition: all .2s ease;
    line-height: 1;
}

.host-status-chip:hover {
    color: var(--gold-light);
    background: rgba(212, 163, 115, .08);
}

.host-status-chip.active.pending {
    background: rgba(245, 158, 11, .16);
    color: #fbbf24;
}

.host-status-chip.active.confirmed {
    background: rgba(16, 185, 129, .15);
    color: #34d399;
}

.host-status-chip.active.completed {
    background: rgba(212, 163, 115, .18);
    color: var(--gold-light);
}

.host-review-actions {
    position: relative;
    flex-wrap: nowrap;
}

.host-dropdown {
    position: relative;
}

.host-dropdown-menu {
    position: absolute;
    top: calc(100% + .45rem);
    right: 0;
    min-width: 154px;
    background: #101827;
    border: 1px solid rgba(212, 163, 115, .22);
    border-radius: 14px;
    padding: .35rem;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
    z-index: 25;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: all .18s ease;
}

.host-dropdown.open .host-dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.host-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: .55rem;
    border: 0;
    background: transparent;
    color: var(--text-dim);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: .78rem;
    font-weight: 600;
    padding: .62rem .7rem;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
}

.host-menu-item:hover {
    background: rgba(212, 163, 115, .09);
    color: var(--gold-light);
}

.host-menu-item.danger:hover {
    background: rgba(239, 68, 68, .1);
    color: #f87171;
}

.host-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.host-stat-card,
.earning-card,
.setting-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
    padding: 1.25rem;
}

.host-stat-card .label,
.earning-card .label {
    color: var(--text-muted);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.host-stat-card .value,
.earning-card .value {
    color: #fff;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -.04em;
    margin-top: .55rem;
    font-variant-numeric: tabular-nums;
}

.host-stat-card .note,
.earning-card .note {
    color: var(--text-muted);
    font-size: .78rem;
    margin-top: .35rem;
}

.host-progress-list {
    display: grid;
    gap: .95rem;
}

.host-progress-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 54px;
    align-items: center;
    gap: .9rem;
}

.host-progress-row span {
    color: var(--text-dim);
    font-size: .84rem;
    font-weight: 600;
}

.host-progress-row strong {
    color: #fff;
    font-size: .84rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.host-progress-track {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    overflow: hidden;
}

.host-progress-track i {
    display: block;
    height: 100%;
    width: var(--w);
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(212, 163, 115, .58), rgba(232, 201, 154, .95));
}

.earnings-hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.earnings-balance {
    border: 1px solid rgba(212, 163, 115, .24);
    border-radius: var(--radius);
    padding: 1.55rem;
    background: radial-gradient(circle at top right, rgba(212, 163, 115, .16), transparent 38%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .018));
}

.earnings-balance .big {
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: -.055em;
    color: #fff;
    font-variant-numeric: tabular-nums;
    margin: .55rem 0;
}

.earnings-balance p {
    color: var(--text-muted);
    line-height: 1.65;
    font-size: .86rem;
    max-width: 520px;
}

.earnings-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.earnings-table-wrap {
    overflow: auto;
}

.host-settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
}

.setting-list {
    display: grid;
    gap: .85rem;
    margin-top: 1rem;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .9rem 0;
    border-top: 1px solid var(--border);
}

.setting-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.setting-row div strong {
    display: block;
    color: #fff;
    font-size: .9rem;
    margin-bottom: .18rem;
}

.setting-row div span {
    color: var(--text-muted);
    font-size: .78rem;
    line-height: 1.5;
}

.setting-toggle {
    width: 46px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(212, 163, 115, .24);
    background: rgba(212, 163, 115, .18);
    position: relative;
    flex-shrink: 0;
}

.setting-toggle::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold-light);
}

.setting-toggle.off {
    background: rgba(255, 255, 255, .06);
    border-color: var(--border);
}

.setting-toggle.off::after {
    right: auto;
    left: 4px;
    background: rgba(255, 255, 255, .42);
}

.setting-input {
    width: 100%;
    margin-top: .55rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: .8rem .95rem;
    color: #fff;
    background: rgba(255, 255, 255, .04);
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    outline: none;
}

.setting-input:focus {
    border-color: var(--gold);
}

@media (max-width: 1180px) {

    .host-stats-grid,
    .earnings-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .earnings-hero,
    .host-settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {

    .host-stats-grid,
    .earnings-mini-grid {
        grid-template-columns: 1fr;
    }

    .host-status-cell {
        min-width: 0;
        flex-wrap: wrap;
    }

    .host-status-options {
        width: 100%;
    }

    .host-progress-row {
        grid-template-columns: 1fr;
        gap: .4rem;
    }

    .host-progress-row strong {
        text-align: left;
    }
}

@media (max-width: 1180px) {
    .host-property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .availability-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .availability-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {

    .host-property-grid,
    .availability-kpis {
        grid-template-columns: 1fr;
    }

    .availability-days,
    .availability-weekdays {
        gap: .35rem;
    }

    .availability-day {
        min-height: 52px;
    }
}



/* Admin panel professional scrollbar */
#page-admin,
#page-admin .admin-main,
#page-admin .admin-sidebar,
#adminContent,
#page-admin .admin-card {
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 163, 115, .55) rgba(255, 255, 255, .035);
}

#page-admin::-webkit-scrollbar,
#page-admin .admin-main::-webkit-scrollbar,
#page-admin .admin-sidebar::-webkit-scrollbar,
#adminContent::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

#page-admin::-webkit-scrollbar-track,
#page-admin .admin-main::-webkit-scrollbar-track,
#page-admin .admin-sidebar::-webkit-scrollbar-track,
#adminContent::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .035);
    border-radius: 999px;
}

#page-admin::-webkit-scrollbar-thumb,
#page-admin .admin-main::-webkit-scrollbar-thumb,
#page-admin .admin-sidebar::-webkit-scrollbar-thumb,
#adminContent::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(232, 201, 154, .75), rgba(180, 137, 58, .75));
    border-radius: 999px;
    border: 2px solid rgba(8, 14, 26, .9);
}

#page-admin .admin-table td:last-child {
    white-space: nowrap;
}



/* ─── ADMIN / HOST APP TOPBAR ─── */
.dashboard-shell-topbar {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 0 0 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.dashboard-search {
    width: min(360px, 100%);
    height: 38px;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: 0 .95rem;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.045);
    transition: all .2s ease;
}

.dashboard-search:focus-within {
    border-color: rgba(212, 163, 115, .45);
    background: rgba(212, 163, 115, .045);
    box-shadow: 0 0 0 3px rgba(212, 163, 115, .08);
}

.dashboard-search span {
    color: rgba(226, 232, 240, .48);
    font-size: .92rem;
}

.dashboard-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: .86rem;
    cursor: text;
}

.dashboard-search input::placeholder {
    color: rgba(226, 232, 240, .42);
}

.dashboard-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

.dashboard-notification {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, .82);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
}

.dashboard-notification:hover {
    border-color: rgba(212, 163, 115, .45);
    color: var(--gold-light);
    background: rgba(212, 163, 115, .075);
}

.dashboard-notification::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 2px rgba(18, 20, 31, 1);
}



.dashboard-notification svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.9;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-profile-editor {
    max-width: 640px;
    max-height: 86vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 163, 115, .45) rgba(255, 255, 255, .05);
}

.dashboard-profile-editor::-webkit-scrollbar {
    width: 8px;
}

.dashboard-profile-editor::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .04);
    border-radius: 999px;
}

.dashboard-profile-editor::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
    border-radius: 999px;
}

.profile-editor-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .035);
    margin-bottom: 1.35rem;
}

.profile-editor-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 28% 20%, #f3d6ad 0%, #a88aef 46%, #3c315d 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    border: 1px solid rgba(212, 163, 115, .34);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}

.profile-editor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    width: fit-content;
    padding: .62rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 163, 115, .28);
    background: rgba(212, 163, 115, .08);
    color: var(--gold-light);
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.profile-upload-btn:hover {
    border-color: rgba(212, 163, 115, .55);
    background: rgba(212, 163, 115, .14);
}

.profile-upload-btn input {
    display: none;
}

.profile-editor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

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

.profile-editor-grid textarea {
    width: 100%;
    min-height: 100px;
    resize: vertical;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xs);
    padding: .85rem 1.1rem;
    font-family: inherit;
    font-size: .875rem;
    color: #fff;
    outline: none;
    background: rgba(255, 255, 255, 0.05);
}

.profile-editor-grid textarea:focus {
    border-color: var(--gold);
    background: rgba(212, 163, 115, 0.04);
}

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

    .profile-editor-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

.dashboard-profile-pill {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    min-height: 40px;
    padding: .28rem .85rem .28rem .32rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    transition: all .2s ease;
}

.dashboard-profile-pill:hover {
    border-color: rgba(212, 163, 115, .42);
    background: rgba(212, 163, 115, .065);
}

.dashboard-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 28% 20%, #f3d6ad 0%, #a88aef 46%, #3c315d 100%);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}



.notification-modal,
.admin-action-modal {
    max-width: 560px;
    padding: 0;
    overflow: hidden;
}

.notification-head,
.action-modal-head {
    padding: 1.4rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(212, 163, 115, .06));
}

.notification-title,
.action-modal-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.notification-sub,
.action-modal-sub {
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: .25rem;
}

.notification-list {
    padding: .75rem;
    max-height: 420px;
    overflow-y: auto;
}

.notification-list::-webkit-scrollbar,
.action-modal-body::-webkit-scrollbar {
    width: 8px;
}

.notification-list::-webkit-scrollbar-track,
.action-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .04);
    border-radius: 999px;
}

.notification-list::-webkit-scrollbar-thumb,
.action-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
    border-radius: 999px;
}

.notification-item {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: .85rem;
    align-items: flex-start;
    padding: .95rem;
    border: 1px solid transparent;
    border-radius: var(--radius-xs);
    transition: all .2s ease;
}

.notification-item:hover {
    background: rgba(255, 255, 255, .035);
    border-color: var(--border);
}

.notification-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 163, 115, .12);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
}

.notification-copy strong {
    display: block;
    font-size: .88rem;
    color: #fff;
    margin-bottom: .18rem;
}

.notification-copy span {
    display: block;
    font-size: .78rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.notification-time {
    font-size: .7rem;
    color: rgba(255, 255, 255, .35);
    white-space: nowrap;
    padding-top: .1rem;
}

.notification-footer,
.action-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    background: rgba(255, 255, 255, .02);
}

.action-modal-body {
    padding: 1.5rem;
    max-height: 460px;
    overflow-y: auto;
}

.action-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.action-detail-card {
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    padding: 1rem;
}

.action-detail-label {
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .35rem;
    font-weight: 700;
}

.action-detail-value {
    font-size: .92rem;
    color: #fff;
    line-height: 1.5;
    font-weight: 600;
}

.action-note {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-xs);
    background: rgba(212, 163, 115, .08);
    border: 1px solid var(--border-gold);
    color: var(--text-dim);
    font-size: .82rem;
    line-height: 1.7;
}

.dashboard-profile-name {
    font-size: .84rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .9fr);
    gap: 1.5rem;
    align-items: start;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    margin-top: 1rem;
}

.activity-item {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    gap: .85rem;
    align-items: center;
    padding: .9rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .075);
    background: rgba(255, 255, 255, .032);
}

.activity-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 163, 115, .11);
    border: 1px solid rgba(212, 163, 115, .18);
}

.activity-title {
    color: #fff;
    font-size: .88rem;
    font-weight: 650;
}

.activity-desc,
.activity-time {
    color: var(--text-muted);
    font-size: .76rem;
    margin-top: .14rem;
}

.approval-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .9rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.approval-card:last-child {
    border-bottom: 0;
}

.approval-name {
    color: #fff;
    font-size: .9rem;
    font-weight: 650;
}

.approval-meta {
    color: var(--text-muted);
    font-size: .75rem;
    margin-top: .2rem;
}

.platform-insights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.insight-card {
    padding: 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, .075);
    background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .025));
}

.insight-label {
    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.insight-value {
    margin-top: .65rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 750;
}

.insight-sub {
    margin-top: .25rem;
    color: var(--text-muted);
    font-size: .76rem;
    line-height: 1.55;
}

@media (max-width: 980px) {

    .admin-dashboard-grid,
    .platform-insights {
        grid-template-columns: 1fr;
    }

    .dashboard-shell-topbar {
        align-items: stretch;
        height: auto;
        flex-direction: column;
    }

    .dashboard-search {
        width: 100%;
    }

    .dashboard-actions {
        justify-content: flex-end;
    }
}

/* ─── RESPONSIVE FIX: NAVBAR, FILTER SHEET, DASHBOARD DRAWERS, FOOTER ─── */
.mobile-nav-actions,
.mobile-nav-overlay,
.mobile-nav-drawer,
.mobile-filter-toggle,
.mobile-filter-backdrop,
.dashboard-mobile-menu,
.dashboard-sidebar-backdrop {
    display: none;
}

.mobile-profile-shell {
    position: relative;
}

.mobile-profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(280px, calc(100vw - 28px));
    padding: .45rem 0;
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    background: rgba(19, 28, 46, .985);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .58);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index: 1405;
}

.mobile-profile-dropdown.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-profile-dropdown .dropdown-header {
    padding: .95rem 1rem;
}

.mobile-profile-dropdown .dropdown-item {
    padding: .78rem 1rem;
}

.mobile-nav-auth-actions {
    display: grid;
    gap: .7rem;
    padding: 1rem;
    margin-top: .75rem;
    border-top: 1px solid var(--border);
}

.mobile-nav-auth-actions .btn,
.mobile-nav-auth-actions .nav-login {
    width: 100%;
    justify-content: center;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    width: 100%;
    padding: 1rem 1.15rem;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: transparent;
    color: #fff;
    text-align: left;
    font: 600 .95rem/1.3 'Inter', sans-serif;
    cursor: pointer;
}

.mobile-nav-link:hover {
    background: rgba(212, 163, 115, .08);
    color: var(--gold-light);
}

.mobile-drawer-head,
.mobile-filter-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--border);
}

.mobile-drawer-title,
.mobile-filter-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.mobile-drawer-close,
.mobile-filter-close {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .055);
    color: #fff;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-filter-close:hover,
.mobile-drawer-close:hover {
    color: var(--gold-light);
    border-color: rgba(212, 163, 115, .48);
    background: rgba(212, 163, 115, .10);
}

@media (max-width: 768px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    #navbar {
        padding: .95rem 0;
    }

    #navbar.scrolled {
        padding: .72rem 0;
    }

    .nav-inner {
        min-height: 46px;
        gap: .85rem;
    }

    .logo {
        font-size: 1.55rem;
        flex-shrink: 0;
    }

    .nav-links,
    .nav-btns {
        display: none !important;
    }

    .mobile-nav-actions {
        display: flex;
        align-items: center;
        gap: .55rem;
        margin-left: auto;
    }

    .mobile-menu-trigger,
    .mobile-profile-trigger {
        height: 40px;
        min-width: 40px;
        padding: 0 .8rem;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, .16);
        background: rgba(255, 255, 255, .06);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .35rem;
        cursor: pointer;
        font: 700 .9rem/1 'Inter', sans-serif;
        backdrop-filter: blur(12px);
    }

    .mobile-menu-trigger {
        font-size: 1rem;
    }

    .mobile-profile-trigger.is-avatar {
        width: 40px;
        padding: 0;
        border-color: var(--border-gold);
        background: linear-gradient(135deg, var(--gold), var(--gold-dark));
        color: #fff;
    }

    .mobile-menu-trigger:hover,
    .mobile-profile-trigger:hover {
        border-color: rgba(212, 163, 115, .55);
        color: var(--gold-light);
        background: rgba(212, 163, 115, .12);
    }

    .mobile-profile-trigger.is-avatar:hover {
        color: #fff;
        box-shadow: 0 0 0 3px rgba(212, 163, 115, .18);
    }

    .mobile-nav-overlay,
    .mobile-filter-backdrop,
    .dashboard-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1390;
        background: rgba(3, 7, 18, .68);
        backdrop-filter: blur(6px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .25s ease, visibility .25s ease;
    }

    .mobile-nav-overlay.open,
    .mobile-filter-backdrop.open,
    .dashboard-sidebar-backdrop.open {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-nav-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1400;
        width: min(88vw, 340px);
        background: rgba(12, 20, 35, .985);
        border-left: 1px solid var(--border-gold);
        box-shadow: -24px 0 70px rgba(0, 0, 0, .55);
        transform: translateX(105%);
        transition: transform .3s cubic-bezier(.22, .61, .36, 1);
        overflow-y: auto;
    }

    .mobile-nav-drawer.open {
        transform: translateX(0);
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1.55rem 1rem;
        align-items: start;
    }

    .footer-grid>div:first-child {
        grid-column: 1 / -1;
    }

    .footer-desc {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: .55rem;
    }

    /* All Hotels — filter button + bottom sheet */
    .hotels-browse-layout {
        display: block;
    }

    .mobile-filter-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .55rem;
        width: 100%;
        min-height: 48px;
        margin-bottom: 1rem;
        padding: .85rem 1rem;
        border: 1px solid rgba(212, 163, 115, .34);
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(212, 163, 115, .12), rgba(255, 255, 255, .045));
        color: #fff;
        font: 700 .92rem/1 'Inter', sans-serif;
        cursor: pointer;
    }

    .mobile-filter-toggle:hover {
        color: var(--gold-light);
        border-color: rgba(212, 163, 115, .62);
    }

    .filter-sidebar {
        display: block !important;
        position: fixed !important;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto !important;
        z-index: 1400;
        width: 100% !important;
        max-height: min(86vh, 760px);
        transform: translateY(105%);
        transition: transform .32s cubic-bezier(.22, .61, .36, 1);
        padding: 0;
        overflow: hidden;
        align-self: auto;
    }

    .filter-sidebar.open {
        transform: translateY(0);
    }

    .filter-panel {
        height: 100%;
        max-height: inherit;
        overflow-y: auto;
        padding: 0 1rem 1.25rem;
        border-radius: 28px 28px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        box-shadow: 0 -28px 80px rgba(0, 0, 0, .58);
    }

    .filter-panel-header {
        position: sticky;
        top: 0;
        z-index: 2;
        margin: 0 -1rem 1rem;
        padding: .85rem 1rem;
        background: rgba(19, 28, 46, .98);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--border);
    }

    .filter-panel .mobile-filter-close {
        display: inline-flex;
    }

    .filter-stack {
        gap: 1rem;
    }

    .filter-actions {
        position: sticky;
        bottom: -1.25rem;
        z-index: 2;
        margin: 1rem -1rem -1.25rem;
        padding: 1rem;
        background: rgba(19, 28, 46, .985);
        border-top: 1px solid var(--border);
    }

    .hotels-results {
        width: 100%;
    }

    /* Admin / Host dashboard — drawer sidebar + compact content */
    .admin-layout {
        display: block !important;
        min-height: auto;
    }

    .admin-sidebar {
        display: flex !important;
        position: fixed !important;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1410;
        width: min(88vw, 318px);
        height: 100vh;
        transform: translateX(-105%);
        transition: transform .3s cubic-bezier(.22, .61, .36, 1);
        box-shadow: 24px 0 70px rgba(0, 0, 0, .58);
    }

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

    .admin-main {
        width: 100%;
        min-width: 0;
        padding: 1rem 1rem 2rem !important;
        overflow-x: hidden;
    }

    .dashboard-shell-topbar {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: .85rem;
        align-items: center;
        height: auto;
        padding-bottom: 1rem;
    }

    .dashboard-mobile-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 14px;
        background: rgba(255, 255, 255, .055);
        color: #fff;
        font-size: 1.1rem;
        cursor: pointer;
    }

    .dashboard-mobile-menu:hover {
        border-color: rgba(212, 163, 115, .55);
        color: var(--gold-light);
        background: rgba(212, 163, 115, .10);
    }

    .dashboard-search {
        width: 100%;
        min-width: 0;
    }

    .dashboard-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
        width: 100%;
    }

    .dashboard-profile-name {
        display: none;
    }

    .admin-title {
        font-size: 1.6rem;
    }

    .admin-card,
    .host-dashboard-card,
    .host-panel,
    .earnings-card {
        padding: 1rem !important;
        border-radius: 18px;
    }

    .admin-stats,
    .host-stats-grid,
    .earnings-kpi-grid,
    .admin-dashboard-grid,
    .platform-insights {
        grid-template-columns: 1fr !important;
    }

    .admin-stat {
        padding: 1.1rem;
    }

    .admin-table {
        min-width: 680px;
    }

    .admin-card {
        overflow-x: auto;
    }

    .admin-card::-webkit-scrollbar,
    .filter-panel::-webkit-scrollbar,
    .mobile-nav-drawer::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    .admin-card::-webkit-scrollbar-track,
    .filter-panel::-webkit-scrollbar-track,
    .mobile-nav-drawer::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, .035);
        border-radius: 999px;
    }

    .admin-card::-webkit-scrollbar-thumb,
    .filter-panel::-webkit-scrollbar-thumb,
    .mobile-nav-drawer::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, rgba(232, 201, 154, .75), rgba(180, 137, 58, .65));
        border-radius: 999px;
        border: 2px solid rgba(8, 14, 26, .9);
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .footer-col h4 {
        font-size: .68rem;
    }

    .footer-col ul li a {
        font-size: .8rem;
    }

    .dashboard-shell-topbar {
        gap: .7rem;
    }

    .dashboard-actions {
        justify-content: space-between;
    }

    .mobile-menu-trigger,
    .mobile-profile-trigger {
        height: 38px;
        min-width: 38px;
    }
}


/* ─── TESTIMONIAL CARD ALIGNMENT ─── */
.testi-grid {
    align-items: stretch;
}

.testi-card {
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.testi-quote {
    flex: 1;
}

.testi-author {
    margin-top: auto;
    padding-top: 1.15rem;
}

.testi-name,
.testi-trip {
    line-height: 1.35;
}

@media (max-width: 768px) {
    .testi-card {
        min-height: auto;
    }
}

/* Server-rendered PHP overrides */
.php-page {
    display: block;
    min-height: 100vh;
}

.site-main {
    padding-top: 88px;
}

body.dashboard-body .site-main {
    padding-top: 0;
}

.auth-shell {
    min-height: calc(100vh - 88px);
    display: grid;
    place-items: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #080E1A, #0F172A);
}

.auth-card {
    width: min(100%, 520px);
    background: var(--card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.auth-card .btn {
    justify-content: center;
    width: 100%;
}

.alert {
    padding: 1rem 1.15rem;
    border-radius: 16px;
    margin: 1rem 0;
    border: 1px solid var(--border);
    font-size: .92rem;
}

.alert-success {
    background: rgba(16, 185, 129, .12);
    border-color: rgba(16, 185, 129, .25);
    color: #a7f3d0;
}

.alert-error {
    background: rgba(239, 68, 68, .12);
    border-color: rgba(239, 68, 68, .25);
    color: #fecaca;
}

.alert-info {
    background: rgba(59, 130, 246, .12);
    border-color: rgba(59, 130, 246, .25);
    color: #bfdbfe;
}

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

.table-wrap {
    overflow: auto;
    border-radius: 18px;
    border: 1px solid var(--border);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
}

.data-table th,
.data-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    text-align: left;
    font-size: .9rem;
}

.data-table th {
    color: var(--text-muted);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.data-table td {
    color: var(--text-dim);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.metric-card,
.surface-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
}

.metric-card strong {
    display: block;
    color: #fff;
    font-size: 2rem;
    font-variant-numeric: tabular-nums;
}

.metric-card span {
    color: var(--text-muted);
    font-size: .85rem;
}

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

.dashboard-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
    background: var(--bg);
}

.dashboard-content {
    padding: 2rem;
}

.dashboard-sidebar {
    background: #060B14;
    border-right: 1px solid var(--border);
    padding: 2rem 1.25rem;
    position: sticky;
    top: 0;
    height: 100vh;
}

.dashboard-sidebar .brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 2rem;
}

.dashboard-nav {
    display: grid;
    gap: .45rem;
}

.dashboard-nav a {
    color: var(--text-dim);
    text-decoration: none;
    padding: .85rem 1rem;
    border-radius: 14px;
    display: block;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    background: rgba(212, 163, 115, .12);
    color: var(--gold-light);
}

.soft-list {
    display: grid;
    gap: .9rem;
}

.soft-item {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, .025);
}

.inline-actions {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    align-items: center;
}

.muted {
    color: var(--text-muted);
}

.price-chip {
    display: inline-flex;
    padding: .3rem .7rem;
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    color: var(--gold-light);
    font-size: .8rem;
}

.review-stars-static {
    color: var(--gold);
    letter-spacing: .08em;
}

.empty-state {
    padding: 2rem;
    text-align: center;
    border: 1px dashed var(--border-gold);
    border-radius: 18px;
    color: var(--text-muted);
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 2rem;
    align-items: start;
}

.booking-summary {
    position: sticky;
    top: 110px;
}

.booking-summary .line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: .75rem 0;
    color: var(--text-dim);
}

.booking-summary .total {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.form-control textarea {
    width: 100%;
    min-height: 120px;
    border: 1.5px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-xs);
    padding: .85rem 1.1rem;
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    color: #fff;
    outline: none;
    background: rgba(255, 255, 255, .05);
}

.form-control textarea:focus {
    border-color: var(--gold);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: .25rem .7rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: capitalize;
}

.badge.pending {
    background: rgba(245, 158, 11, .14);
    color: #fbbf24;
}

.badge.confirmed,
.badge.approved,
.badge.paid,
.badge.active {
    background: rgba(16, 185, 129, .14);
    color: #34d399;
}

.badge.completed {
    background: rgba(59, 130, 246, .14);
    color: #93c5fd;
}

.badge.cancelled,
.badge.rejected,
.badge.hidden,
.badge.suspended,
.badge.unpaid {
    background: rgba(239, 68, 68, .14);
    color: #fca5a5;
}

.badge.flagged {
    background: rgba(244, 114, 182, .14);
    color: #f9a8d4;
}

.nav-form {
    display: inline;
}

.link-button {
    border: none;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.profile-hero {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.profile-avatar-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.gallery-strip {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: .75rem;
    margin-bottom: 2rem;
}

.gallery-strip img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
}

.gallery-strip img:nth-child(n+2) {
    height: 154px;
}

.booking-box {
    background: var(--card);
    border: 1px solid var(--border-gold);
    padding: 1.5rem;
    border-radius: var(--radius);
    position: sticky;
    top: 110px;
}

.room-select-list {
    display: grid;
    gap: .85rem;
    margin: 1rem 0;
}

.room-choice {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, .025);
}

.room-choice img {
    width: 96px;
    height: 76px;
    object-fit: cover;
    border-radius: 12px;
}

.room-choice input {
    margin-top: .35rem;
}

.search-toolbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.search-toolbar .btn {
    align-self: end;
    justify-content: center;
}

.section-space {
    padding: 4rem 0;
}

.text-link {
    color: var(--gold-light);
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.review-form-card {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    background: rgba(212, 163, 115, .05);
}

.kicker {
    display: inline-block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 700;
    font-size: .72rem;
    margin-bottom: .7rem;
}

.inline-checkbox {
    display: flex;
    gap: .65rem;
    align-items: center;
    color: var(--text-dim);
    font-size: .9rem;
}

.split-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.filter-form {
    display: grid;
    gap: 1rem;
}

.action-panel {
    display: flex;
    gap: .75rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-compact {
    padding: 3rem 0 1.5rem;
    background: linear-gradient(135deg, var(--bg-2), var(--bg));
}

.public-nav-spacer {
    height: 88px;
}

@media (max-width:1100px) {

    .card-grid,
    .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .checkout-grid,
    .grid-2,
    .detail-layout,
    .hotels-browse-layout,
    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: relative;
        height: auto;
    }

    .booking-summary,
    .booking-box {
        position: static;
    }

    .gallery-strip {
        grid-template-columns: 1fr;
    }

    .gallery-strip img,
    .gallery-strip img:nth-child(n+2) {
        height: 240px;
    }

    .search-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:760px) {

    .form-row,
    .card-grid,
    .metric-grid,
    .search-toolbar,
    .footer-grid,
    .stats-grid,
    .why-grid,
    .testi-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .container {
        padding: 0 16px;
    }

    .dashboard-content {
        padding: 1.25rem;
    }

    .detail-gallery,
    .rooms-list,
    .amenities-grid,
    .dest-grid {
        display: block;
    }

    .all-hotels-grid,
    .hotels-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-card {
        padding: 2rem 1.25rem;
    }

    .hero-h1 {
        font-size: 2.7rem;
    }

    .hotel-card-lg {
        margin-bottom: 1rem;
    }
}

/* ===== Tamago PHP view fidelity overrides ===== */
.server-page .app-flash-zone {
    position: relative;
    z-index: 30;
    padding-top: 0
}

.home-page .app-flash-zone {
    position: absolute;
    left: 0;
    right: 0;
    top: 96px
}

.hotel-card-link,
.hotel-result-link,
.slider-image-link {
    display: block;
    color: inherit;
    text-decoration: none
}

.hero-primary-cta,
.hero-secondary-cta {
    padding: .9rem 2rem;
    font-size: .95rem
}

.home-review-count {
    font-size: .74rem;
    color: var(--text-muted);
    font-weight: 600
}

.why-copy {
    text-align: center;
    max-width: 560px;
    margin: 0 auto
}

.why-sub-centered {
    margin: 0 auto
}

.testimonials-heading {
    text-align: center;
    margin-bottom: 3rem
}

.newsletter-actions {
    justify-content: center
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px
}

.mobile-menu-cta {
    justify-content: center;
    margin: .8rem 1.15rem 0
}

.mobile-nav-drawer.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto
}

.mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: auto
}

.hotels-page-hero {
    background: linear-gradient(to bottom, var(--bg-2), var(--bg));
    padding-top: 90px
}

.hotels-page-copy {
    padding-top: 2rem;
    padding-bottom: 1.5rem
}

.breadcrumbs-line {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .5rem;
    color: var(--text-muted);
    font-size: .875rem
}

.breadcrumbs-line a {
    color: var(--text-muted);
    text-decoration: none
}

.breadcrumbs-line strong {
    color: var(--gold-light);
    font-weight: 500
}

.hotels-results-shell {
    padding-top: 1.5rem;
    padding-bottom: 5rem
}

.price-range-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem
}

.filter-actions .btn {
    flex: 1;
    justify-content: center
}

.visually-hidden-checkbox {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important
}

.filter-active-tag a {
    color: inherit;
    text-decoration: none;
    font-size: .95rem;
    margin-left: .2rem
}

.card-book-btn {
    font-size: .78rem;
    padding: .5rem 1rem
}

.slider-image-link {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%
}

.slider-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.slider-dot {
    border: none
}

.detail-page-wrap {
    padding-top: 110px;
    padding-bottom: 5rem
}

.detail-back-row {
    margin-bottom: 1rem
}

.detail-back-row a,
.back-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: .88rem
}

.detail-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap
}

.detail-action-btn {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .55rem 1rem;
    color: var(--text-dim);
    text-decoration: none;
    background: rgba(255, 255, 255, .04)
}

.detail-rating span {
    color: var(--text-muted);
    font-weight: 400;
    font-size: .85rem
}

.detail-highlights {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem
}

.detail-highlights>div {
    flex: 1;
    text-align: center
}

.detail-highlights strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: .25rem
}

.detail-highlights span {
    font-size: .8rem;
    color: var(--text-muted)
}

.host-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .03);
    margin-bottom: 1.75rem
}

.compact-avatar {
    width: 56px;
    height: 56px;
    font-size: 1rem
}

.host-name {
    font-size: .95rem;
    font-weight: 700;
    color: #fff
}

.host-badge {
    font-size: .78rem;
    color: var(--gold-light);
    margin-top: .15rem
}

.host-since {
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: .25rem;
    line-height: 1.5
}

.detail-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1rem
}

.detail-review-card {
    padding: 1.25rem;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm)
}

.detail-review-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem
}

.detail-review-head strong {
    display: block;
    color: #fff;
    font-size: .86rem
}

.detail-review-head span {
    display: block;
    color: var(--text-muted);
    font-size: .74rem;
    margin-top: .1rem
}

.detail-review-stars {
    margin-bottom: .5rem
}

.detail-review-card p {
    font-size: .84rem;
    color: var(--text-dim);
    line-height: 1.7
}

.host-reply-box {
    margin-top: .9rem;
    padding: .8rem;
    border-radius: 12px;
    background: rgba(212, 163, 115, .08);
    border: 1px solid var(--border-gold);
    font-size: .8rem;
    color: var(--text-dim);
    line-height: 1.6
}

.booking-panel-form {
    margin-top: 1rem
}

.booking-room-selection {
    display: block;
    padding: 1rem;
    border-top: 1px solid var(--border)
}

.room-choice strong {
    display: block;
    color: #fff;
    font-size: .86rem
}

.room-choice small {
    display: block;
    color: var(--text-muted);
    font-size: .76rem;
    margin-top: .2rem;
    line-height: 1.5
}

.guest-count-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    padding: 1rem;
    border-top: 1px solid var(--border)
}

.guest-count-grid .booking-field,
.booking-request-field {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: .8rem;
    background: rgba(255, 255, 255, .03)
}

.booking-request-field {
    display: block;
    margin: 0 1rem 1rem
}

.booking-request-field textarea {
    width: 100%;
    min-height: 88px;
    border: none;
    background: transparent;
    color: #fff;
    resize: vertical;
    outline: none;
    font: inherit
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(4, 8, 18, .88);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease
}

.gallery-modal.open {
    opacity: 1;
    pointer-events: auto
}

.gallery-modal-panel {
    position: relative;
    width: min(980px, 100%);
    background: var(--card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg)
}

.gallery-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(8, 14, 26, .85);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer
}

.gallery-modal-main {
    width: 100%;
    height: min(62vh, 560px);
    object-fit: cover;
    border-radius: 18px
}

.gallery-thumb-row {
    display: flex;
    gap: .7rem;
    overflow: auto;
    padding-top: 1rem
}

.gallery-thumb {
    border: 2px solid transparent;
    background: none;
    border-radius: 12px;
    padding: 0;
    cursor: pointer
}

.gallery-thumb.active {
    border-color: var(--gold)
}

.gallery-thumb img {
    display: block;
    width: 96px;
    height: 68px;
    object-fit: cover;
    border-radius: 10px
}

.payment-page-wrap {
    padding-top: 110px;
    padding-bottom: 5rem
}


.payment-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-top: .75rem
}

.payment-top {
    margin-bottom: 1.75rem
}

.payment-two-cols,
.payment-booking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem
}

.payment-card-inputs {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem
}

.payment-card-inputs .form-group {
    margin: 0
}

.payment-redirect-note,
.payment-complete-banner {
    padding: 1rem;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border-gold);
    background: rgba(212, 163, 115, .08);
    color: var(--text-dim);
    font-size: .88rem;
    line-height: 1.7;
    margin-top: 1rem
}

.payment-booking-grid>div {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, .03)
}

.payment-booking-grid span {
    display: block;
    color: var(--text-muted);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .35rem
}

.payment-booking-grid strong {
    color: #fff;
    font-size: .9rem
}

.cancellation-section {
    background: rgba(16, 185, 129, .05);
    border-color: rgba(16, 185, 129, .2)
}

.cancellation-section p {
    font-size: .875rem;
    color: var(--text-dim);
    line-height: 1.7
}

.payment-submit {
    width: 100%;
    justify-content: center;
    padding: 1.2rem;
    font-size: 1rem;
    border-radius: var(--radius-xs)
}

.order-chip-row {
    display: flex;
    gap: .45rem;
    flex-wrap: wrap;
    margin-top: .65rem
}

.detail-badge.soft {
    background: rgba(255, 255, 255, .08)
}

.order-title {
    font-size: .875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .75rem
}

.settings-page-wrap {
    padding-top: 110px;
    padding-bottom: 5rem
}

.settings-page-head {
    padding-top: 1rem;
    margin-bottom: 1.5rem
}

.settings-main-stack {
    display: grid;
    gap: 1.5rem
}

.settings-nav-item {
    text-decoration: none
}

.profile-settings-head {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem
}

.profile-display-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff
}

.profile-email-line {
    font-size: .85rem;
    color: var(--text-muted);
    margin-top: .15rem
}

.profile-form-grid,
.host-application-form {
    display: grid;
    gap: 1.25rem
}

.form-double,
.form-triple {
    display: grid;
    gap: 1.25rem
}

.form-double {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.form-triple {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.form-group textarea {
    width: 100%;
    border: 1.5px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-xs);
    padding: .85rem 1.1rem;
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    color: #fff;
    outline: none;
    transition: border-color .2s;
    background: rgba(255, 255, 255, .05);
    resize: vertical
}

.form-group textarea:focus {
    border-color: var(--gold)
}

.settings-actions {
    display: flex;
    gap: 1rem
}

.host-application-status {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xs);
    background: rgba(212, 163, 115, .06);
    margin-bottom: 1.25rem
}

.host-application-status p {
    color: var(--text-dim);
    font-size: .88rem;
    line-height: 1.7
}

.booking-settings-list {
    display: grid;
    gap: 1rem
}

.booking-row-card {
    display: block
}

.booking-row-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem
}

.booking-status-stack {
    display: flex;
    gap: .45rem;
    flex-wrap: wrap;
    justify-content: flex-end
}

.booking-row-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1rem
}

.review-head-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem
}

.review-form-title {
    font-size: .82rem;
    font-weight: 700;
    color: #fff
}

.review-form-sub {
    font-size: .74rem;
    color: var(--text-muted);
    margin-top: .12rem
}

.rating-select {
    font-size: .76rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: .45rem
}

.rating-select select {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    border-radius: 999px;
    padding: .42rem .7rem
}

.review-submit-row {
    display: flex;
    justify-content: flex-end;
    margin-top: .75rem
}

.review-submitted-note {
    margin-top: 1rem;
    padding: .85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-dim);
    font-size: .82rem;
    background: rgba(255, 255, 255, .03)
}

.dashboard-mobile-head {
    display: none
}

.admin-card-sub {
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: .25rem
}

.admin-table-wrap {
    overflow: auto
}

.muted {
    color: var(--text-muted);
    font-size: .78rem
}

.inline-dashboard-form {
    display: inline-flex;
    margin: .15rem
}

.dashboard-review-list {
    display: grid;
    gap: 1rem
}

.dashboard-review-card {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .03)
}

.dashboard-review-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: .85rem
}

.dashboard-review-head strong {
    display: block;
    color: #fff
}

.dashboard-review-head span:not(.admin-badge) {
    display: block;
    color: var(--text-muted);
    font-size: .8rem;
    margin-top: .2rem
}

.dashboard-review-card p {
    color: var(--text-dim);
    font-size: .88rem;
    line-height: 1.7
}

.host-reply-form {
    display: grid;
    gap: .8rem;
    margin-top: 1rem
}

.host-reply-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    color: #fff;
    padding: .85rem;
    font: inherit;
    resize: vertical
}

.inline-admin-actions {
    display: flex;
    gap: .75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem
}

.inline-admin-actions form {
    display: inline-flex
}

.inline-reject-form {
    gap: .7rem;
    align-items: center;
    flex-wrap: wrap
}

.danger-outline {
    border-color: rgba(239, 68, 68, .45) !important;
    color: #ef4444 !important
}

.review-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, max-content));
    gap: .75rem
}

.dashboard-sidebar-backdrop.open {
    opacity: 1;
    pointer-events: auto
}

@media (max-width:1100px) {

    .detail-review-grid,
    .payment-layout,
    .settings-layout,
    .detail-layout {
        grid-template-columns: 1fr
    }

    .booking-panel {
        position: static
    }

    .admin-layout {
        display: block
    }

    .admin-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 1002;
        transform: translateX(-105%);
        transition: transform .25s ease;
        height: 100vh
    }

    .admin-sidebar.mobile-open {
        transform: translateX(0)
    }

    .admin-main {
        padding: 1.25rem
    }

    .dashboard-mobile-head {
        display: flex;
        align-items: center;
        gap: .8rem;
        margin-bottom: 1rem;
        color: #fff;
        font-weight: 700
    }

    .dashboard-mobile-head button {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        border: 1px solid var(--border);
        background: rgba(255, 255, 255, .05);
        color: #fff;
        font-size: 1rem
    }

    .dashboard-sidebar-backdrop {
        display: block
    }
}

@media (max-width:760px) {

    .hero-primary-cta,
    .hero-secondary-cta {
        width: 100%;
        justify-content: center
    }

    .section-header {
        display: grid;
        gap: 1.25rem
    }

    .detail-highlights {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem
    }

    .detail-review-grid,
    .payment-two-cols,
    .payment-booking-grid,
    .form-double,
    .form-triple,
    .guest-count-grid,
    .review-actions-grid {
        grid-template-columns: 1fr
    }

    .booking-row-top,
    .review-head-row,
    .dashboard-review-head {
        display: grid
    }

    .price-range-inputs {
        grid-template-columns: 1fr
    }

    .host-card {
        align-items: flex-start
    }

    .payment-steps {
        overflow-x: auto;
        padding-bottom: .5rem
    }

    .gallery-modal-main {
        height: 42vh
    }
}

/* =========================================================
   QA REVISION — FRONTEND PARITY & ACCOUNT SETTINGS
   ========================================================= */

a,
a:hover,
a:focus,
.btn,
.nav-login,
.nav-host-cta,
.dropdown-item,
.settings-nav-item,
.detail-action-btn,
.saved-detail-link,
.text-link {
    text-decoration: none !important;
}

#navbar {
    background: transparent;
    box-shadow: none;
    border: 0;
}

#navbar.scrolled {
    background: rgba(8, 14, 26, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: none;
    border: 0;
}

.nav-links {
    gap: 2.35rem;
}

.nav-login {
    min-height: 42px;
    padding: .48rem 1.38rem;
    background: rgba(8, 14, 26, .18);
    color: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .28);
    line-height: 1;
}

.nav-register-btn {
    min-height: 42px;
    padding: .58rem 1.58rem;
    line-height: 1;
}

.nav-host-cta {
    padding: .52rem .72rem;
    border: 0 !important;
    box-shadow: none !important;
}

.hero-bg {
    width: 100%;
    min-width: 100%;
    background-position: center center;
}

.hotels-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-section .container,
.dest-section .container {
    position: relative;
}

.why-copy {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.why-sub-centered {
    margin: 1rem auto 0;
    max-width: 620px;
}

.why-grid {
    margin-top: 3.35rem;
    gap: 2rem;
}

.dest-section .section-sub {
    max-width: 620px;
}

.hotels-page-hero {
    background: transparent !important;
    padding-top: 92px !important;
}

.hotels-page-copy {
    padding-top: 1.4rem !important;
    padding-bottom: 1.35rem !important;
}

.hotels-results-shell {
    padding-top: .5rem !important;
}

.card-name {
    color: #fff;
}

.card-footer-actions {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    flex-shrink: 0;
}

.inline-action-form {
    margin: 0;
}

.card-book-btn {
    min-height: 40px;
    border-radius: 999px;
    font-size: .78rem !important;
    padding: .5rem 1.1rem !important;
    white-space: nowrap;
}

.card-save-btn {
    min-height: 40px;
    text-decoration: none;
    white-space: nowrap;
}

.slider-caret-left {
    transform: rotate(90deg);
}

.slider-caret-right {
    transform: rotate(-90deg);
}

.detail-page-wrap {
    padding-top: 92px !important;
}

.detail-back-row {
    margin-bottom: .8rem !important;
}

.detail-action-btn {
    appearance: none;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.amenities-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.amenities-detail-grid .amenity-item {
    min-height: 48px;
    gap: .72rem;
    padding: .78rem 1rem;
}

.amenities-detail-grid .aic {
    width: 18px;
    text-align: center;
    font-size: 1rem;
}

.rooms-list-minimal .room-name {
    font-size: .88rem;
    font-weight: 700;
}

.rooms-list-minimal .room-details {
    font-size: .76rem;
}

.detail-booking-panel .booking-panel-form {
    margin-top: 1rem;
}

.guest-booking-row {
    display: block !important;
    border-bottom: 0 !important;
}

.booking-guest-field {
    display: block;
    width: 100%;
    border-right: 0 !important;
    padding: 0 !important;
}

.guest-dropdown {
    width: 100%;
}

.guest-dropdown-toggle {
    width: 100%;
}

.guest-count-val {
    min-width: 1rem;
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.auth-image-shell {
    position: relative;
    min-height: 100vh;
    padding-top: 92px;
    background:
        linear-gradient(135deg, rgba(4, 8, 18, .84), rgba(8, 14, 26, .78)),
        url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?w=1600&q=80') center/cover no-repeat;
}

.auth-modal-card {
    position: relative;
    width: min(100%, 392px);
    padding: 2rem 2.2rem 1.85rem;
    border-radius: 18px;
    background: rgba(19, 28, 46, .98);
    border: 1px solid rgba(212, 163, 115, .22);
}

.auth-modal-card.register-card {
    width: min(100%, 470px);
}

.auth-title {
    margin: 0 0 1.65rem;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.95rem;
    font-weight: 600;
    letter-spacing: -.02em;
}

.auth-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.auth-form-group {
    margin: 0 !important;
}

.auth-form-group label {
    margin-bottom: .55rem;
}

.auth-submit-btn,
.auth-google-btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
}

.auth-forgot {
    margin-top: -.2rem;
    text-align: right;
    font-size: .78rem;
}

.auth-forgot a,
.auth-switch a {
    color: var(--gold-light);
    font-weight: 600;
}

.auth-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.45rem 0;
    color: var(--text-muted);
    font-size: .76rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, .08);
}

.auth-divider span {
    padding: 0 .9rem;
}

.auth-google-btn {
    color: var(--text-dim);
    cursor: default;
}

.auth-switch {
    margin-top: 1.45rem;
    text-align: center;
}

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

.password-field-wrap input {
    padding-right: 3rem !important;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: .85rem;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: rgba(226, 232, 240, .72);
    cursor: pointer;
    font-size: .95rem;
}

.settings-page-wrap {
    padding-top: 92px !important;
}

.settings-page-head {
    margin-top: 0;
    margin-bottom: 2.55rem !important;
}

.settings-page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.15rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -.025em;
}

.settings-page-sub {
    margin-top: .45rem;
}

.settings-layout {
    align-items: start;
    gap: 2.35rem;
}

.settings-sidebar {
    border-radius: 20px;
}

.settings-nav-item {
    min-height: 48px;
}

.settings-nav-item.active {
    border-left: 3px solid var(--gold);
}

.profile-settings-card,
.preference-settings-card,
.bookings-settings-card,
.saved-settings-card,
.danger-zone-card {
    padding: 2rem 2.15rem;
}

.profile-card-divider {
    height: 1px;
    background: rgba(255, 255, 255, .08);
    margin: .95rem 0 1.65rem;
}

.profile-polish-head {
    margin-bottom: 1.8rem !important;
}

.profile-membership-line {
    margin-top: .18rem;
    color: var(--text-muted);
    font-size: .82rem;
}

.profile-photo-button {
    margin-top: .7rem;
    min-height: 30px;
    padding: .3rem .85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .045);
    color: var(--text-dim);
    font-size: .72rem;
    font-weight: 600;
    cursor: default;
}

.profile-polish-form {
    gap: 1rem;
}

.profile-actions-row {
    margin-top: .18rem;
}

.saved-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.saved-row {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: .95rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    border-radius: 16px;
}

.saved-row-image {
    width: 92px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
}

.saved-row-title {
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
}

.saved-row-subtitle,
.saved-row-location {
    color: var(--text-muted);
    font-size: .82rem;
    margin-top: .18rem;
}

.saved-row-actions {
    display: grid;
    justify-items: end;
    gap: .6rem;
}

.saved-detail-link {
    color: var(--gold-light);
    font-size: .82rem;
    font-weight: 600;
}

.bookings-compact-list {
    margin-top: 1.1rem;
}

.review-box-polish {
    margin-top: .95rem;
}

.review-head-stack {
    margin-bottom: .45rem;
}

.review-stars-picker {
    align-items: center;
}

.language-form-grid,
.security-password-form,
.toggle-preferences-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.1rem;
}

.preference-note {
    border: 1px solid rgba(212, 163, 115, .22);
    background: rgba(212, 163, 115, .06);
    color: var(--gold-light);
    border-radius: 14px;
    padding: .85rem 1rem;
    font-size: .84rem;
}

.field-caption {
    color: var(--text-muted);
    font-size: .78rem;
    margin-bottom: .45rem;
}

.settings-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.settings-toggle-row:last-of-type {
    border-bottom: 0;
}

.settings-toggle-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    flex: 0 0 auto;
}

.settings-row-desc span {
    color: var(--text-muted);
}

.danger-zone-card {
    border-color: rgba(239, 68, 68, .22) !important;
}

.danger-zone-title {
    color: #fca5a5;
}

.danger-zone-row {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(239, 68, 68, .18);
    background: rgba(239, 68, 68, .05);
    border-radius: 16px;
}

.danger-delete-btn {
    min-height: 40px;
    padding: .55rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(239, 68, 68, .45);
    background: rgba(239, 68, 68, .12);
    color: #fca5a5;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 980px) {
    .hotels-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .amenities-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .saved-row {
        grid-template-columns: 72px 1fr;
    }

    .saved-row-actions {
        grid-column: 1 / -1;
        justify-items: start;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 720px) {

    .hotels-grid,
    .amenities-detail-grid,
    .form-double,
    .auth-name-grid {
        grid-template-columns: 1fr;
    }

    .auth-modal-card,
    .auth-modal-card.register-card {
        width: min(100%, 420px);
        padding: 1.65rem 1.35rem;
    }

    .settings-page-title {
        font-size: 1.8rem;
    }

    .profile-settings-card,
    .preference-settings-card,
    .bookings-settings-card,
    .saved-settings-card,
    .danger-zone-card {
        padding: 1.45rem;
    }

    .danger-zone-row,
    .settings-toggle-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* QA patch: auth flash placement */
.auth-flash-zone {
    position: fixed;
    top: 1.15rem;
    left: 50%;
    width: min(560px, calc(100% - 2rem));
    transform: translateX(-50%);
    z-index: 10020;
    padding: 0;
}

/* QA hotfix: Home navbar must float on top of hero with no dark strip until scroll */
body.home-page .site-main {
    padding-top: 0 !important;
}

body.home-page #navbar:not(.scrolled) {
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

body.home-page #navbar:not(.scrolled)::before,
body.home-page #navbar:not(.scrolled)::after {
    display: none !important;
    content: none !important;
}

body.home-page #navbar:not(.scrolled) .nav-login {
    background: rgba(8, 14, 26, 0.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.home-page #navbar:not(.scrolled) .nav-host-cta {
    background: transparent !important;
}

/* =========================================================
   QA NAVBAR + PAGE HEADER REFINEMENT
   Matches Tamago SPA behavior: transparent home nav, solid animated inner pages.
   ========================================================= */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.08rem 0;
    transition: background .4s ease, backdrop-filter .4s ease, -webkit-backdrop-filter .4s ease, box-shadow .4s ease, padding .4s ease, border-color .4s ease;
}

body:not(.home-page) #navbar {
    background: linear-gradient(180deg, rgba(8, 14, 26, .96), rgba(8, 14, 26, .88));
    border-bottom: 1px solid rgba(212, 163, 115, .12);
    box-shadow: 0 1px 0 rgba(212, 163, 115, .06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#navbar.scrolled,
body:not(.home-page) #navbar.scrolled {
    padding: .86rem 0;
    background: rgba(8, 14, 26, .92) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid rgba(212, 163, 115, .18) !important;
    box-shadow: 0 1px 0 rgba(212, 163, 115, .12) !important;
}

body.home-page #navbar:not(.scrolled) {
    background: transparent !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 1.25rem 0;
}

.nav-inner {
    min-height: 42px;
}

.nav-links a,
.nav-login,
.nav-host-cta,
.nav-register-btn,
.detail-action-btn,
.btn,
.card-save-btn,
.card-book-btn,
.saved-detail-link,
.back-link,
.detail-back-row a,
.breadcrumbs-line a {
    text-decoration: none !important;
}

/* Inner page header gradient under fixed navbar */
.site-main {
    padding-top: 0 !important;
}

body.dashboard-body .site-main {
    padding-top: 0 !important;
}

.page-server-hotels .hotels-page-hero {
    background:
        radial-gradient(circle at 88% 0%, rgba(212, 163, 115, .08), transparent 34%),
        linear-gradient(180deg, #0f172a 0%, #0b1220 46%, #080e1a 100%) !important;
    padding-top: 116px !important;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.page-server-hotels .hotels-page-copy {
    padding-top: 2.15rem !important;
    padding-bottom: 2.25rem !important;
}

.page-server-hotels .breadcrumbs-line {
    margin-bottom: .72rem !important;
}

.page-server-hotels .hotels-page-title {
    margin-bottom: .58rem !important;
}

.page-server-hotels .hotels-results-shell {
    padding-top: 2.35rem !important;
}

/* Detail page should start closer to navbar, not too low */
.page-server-detail .detail-page-wrap {
    padding-top: 100px !important;
    padding-bottom: 5rem !important;
}

.page-server-detail .detail-back-row {
    margin-bottom: 1rem !important;
}

.page-server-detail .detail-back-row a {
    color: var(--text-muted);
    font-weight: 600;
}

.page-server-detail .detail-back-row a:hover {
    color: var(--gold-light);
}

@media (max-width: 760px) {
    .page-server-hotels .hotels-page-hero {
        padding-top: 98px !important;
    }

    .page-server-hotels .hotels-page-copy {
        padding-top: 1.45rem !important;
        padding-bottom: 1.55rem !important;
    }

    .page-server-hotels .hotels-results-shell {
        padding-top: 1.35rem !important;
    }

    .page-server-detail .detail-page-wrap {
        padding-top: 90px !important;
    }
}


/* =========================================================
   FINAL QA PATCH — navbar line, page header spacing, booking flow
   ========================================================= */
#navbar {
    padding: 1.16rem 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    transition: background .4s ease, backdrop-filter .4s ease, -webkit-backdrop-filter .4s ease, box-shadow .4s ease, padding .4s ease !important;
}

body:not(.home-page) #navbar:not(.scrolled) {
    background: linear-gradient(180deg, rgba(8, 14, 26, .96), rgba(8, 14, 26, .88)) !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

#navbar.scrolled,
body:not(.home-page) #navbar.scrolled {
    padding: .9rem 0 !important;
    background: rgba(8, 14, 26, .92) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 0 !important;
    box-shadow: 0 1px 0 rgba(232, 201, 154, .10) !important;
}

body.home-page #navbar:not(.scrolled) {
    background: transparent !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 1.25rem 0 !important;
}

/* Navbar auth sizing/alignment to match the Tamago home reference */
.nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.03em;
}

.nav-links {
    justify-self: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 700;
    color: rgba(255, 255, 255, .72);
}

.nav-btns {
    justify-self: end;
    gap: .55rem;
}

.nav-login,
.nav-register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    line-height: 1;
    font-size: .8rem;
    font-weight: 700;
}

.nav-login {
    min-width: 68px;
    padding: .42rem 1rem;
}

.nav-register-btn {
    min-width: 84px;
    padding: .42rem 1rem;
    background: linear-gradient(135deg, #d7a24c, #c58b35);
    box-shadow: none;
}

.nav-register-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(212, 163, 115, .28);
}

@media (max-width: 768px) {
    .nav-inner {
        display: flex;
    }

    .logo {
        font-size: 1.55rem;
    }
}

.page-server-hotels .hotels-page-hero {
    background:
        radial-gradient(circle at 88% 0%, rgba(212, 163, 115, .08), transparent 34%),
        linear-gradient(180deg, #0f172a 0%, #0b1220 48%, #080e1a 100%) !important;
    padding-top: 88px !important;
    border-bottom: 0 !important;
}

.page-server-hotels .hotels-page-copy {
    padding-top: 1.35rem !important;
    padding-bottom: 1.35rem !important;
}

.page-server-hotels .hotels-page-sub {
    margin-bottom: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.page-server-hotels .breadcrumbs-line {
    margin-bottom: .55rem !important;
}

.page-server-hotels .hotels-results-shell {
    padding-top: 2rem !important;
}

.page-server-detail .detail-page-wrap {
    padding-top: 82px !important;
    padding-bottom: 5rem !important;
}

.page-server-detail .detail-back-row {
    margin-bottom: .75rem !important;
}

.booking-reserve-btn[disabled],
.payment-submit[disabled] {
    opacity: .72;
    cursor: progress;
}

@media (max-width: 760px) {
    .page-server-hotels .hotels-page-hero {
        padding-top: 82px !important;
    }

    .page-server-hotels .hotels-page-copy {
        padding-top: 1.1rem !important;
        padding-bottom: 1.2rem !important;
    }

    .page-server-detail .detail-page-wrap {
        padding-top: 78px !important;
    }
}

/* Keep checkout back link visibly below the fixed navbar. */
.page-server-payment .payment-page-wrap {
    padding-top: 34px !important;
}

.page-server-payment .payment-top {
    margin-top: 0 !important;
}

@media (max-width: 760px) {
    .page-server-payment .payment-page-wrap {
        padding-top: 28px !important;
    }
}

/* Keep hotel detail back link below the fixed navbar. */
.page-server-detail .detail-page-wrap {
    padding-top: 34px !important;
}

.page-server-detail .detail-back-row {
    margin-top: 0 !important;
}

@media (max-width: 760px) {
    .page-server-detail .detail-page-wrap {
        padding-top: 28px !important;
    }
}


/* Dashboard topbar dropdowns and separated host dashboard pages */
.dashboard-dropdown {
    position: relative;
}

.dashboard-dropdown-panel {
    position: absolute;
    top: calc(100% + .75rem);
    right: 0;
    width: min(390px, calc(100vw - 2rem));
    border: 1px solid rgba(212, 163, 115, .22);
    border-radius: 18px;
    background: #101827;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 90;
    overflow: hidden;
}

.dashboard-dropdown.open .dashboard-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.dashboard-dropdown-head,
.dashboard-profile-menu-head {
    display: grid;
    gap: .18rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(212, 163, 115, .06));
}

.dashboard-dropdown-head strong,
.dashboard-profile-menu-head strong {
    color: #fff;
    font-size: .92rem;
}

.dashboard-dropdown-head span,
.dashboard-profile-menu-head span {
    color: var(--text-muted);
    font-size: .76rem;
    line-height: 1.45;
}

.dashboard-dropdown-list {
    display: grid;
    gap: .45rem;
    padding: .75rem;
    max-height: 360px;
    overflow-y: auto;
}

.dashboard-dropdown-notification {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: .8rem;
    align-items: start;
    padding: .8rem;
    border: 1px solid transparent;
    border-radius: 14px;
    background: rgba(255, 255, 255, .025);
}

.dashboard-dropdown-notification:hover {
    border-color: var(--border-gold);
    background: rgba(212, 163, 115, .06);
}

.dashboard-dropdown-notification .notification-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 163, 115, .12);
    border: 1px solid var(--border-gold);
}

.dashboard-dropdown-notification strong {
    display: block;
    color: #fff;
    font-size: .86rem;
    margin-bottom: .18rem;
}

.dashboard-dropdown-notification p,
.dashboard-dropdown-notification small {
    margin: 0;
    color: var(--text-muted);
    font-size: .76rem;
    line-height: 1.5;
}

.dashboard-dropdown-notification small {
    display: block;
    margin-top: .25rem;
    color: rgba(255, 255, 255, .42);
}

.dashboard-dropdown-empty {
    padding: 1rem 1.1rem;
    color: var(--text-muted);
    font-size: .82rem;
}

.dashboard-profile-panel {
    width: min(280px, calc(100vw - 2rem));
}

.dashboard-profile-panel a,
.dashboard-profile-panel button {
    display: flex;
    width: 100%;
    align-items: center;
    gap: .55rem;
    border: 0;
    background: transparent;
    color: var(--text-dim);
    font: 600 .82rem/1.4 'Inter', sans-serif;
    text-decoration: none;
    text-align: left;
    padding: .82rem 1.1rem;
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}

.dashboard-profile-panel a:hover,
.dashboard-profile-panel button:hover {
    background: rgba(212, 163, 115, .08);
    color: var(--gold-light);
}

.dashboard-profile-panel form {
    margin: 0;
    border-top: 1px solid var(--border);
}

.host-dashboard-card .img-slider,
.host-property-card .img-slider {
    height: 218px;
}

.review-reply-preview {
    margin-top: 1rem;
    padding: .95rem 1rem;
    border: 1px solid rgba(212, 163, 115, .22);
    border-radius: 14px;
    background: rgba(212, 163, 115, .06);
}

.review-reply-preview strong {
    display: block;
    color: var(--gold-light);
    font-size: .8rem;
    margin-bottom: .35rem;
}

.review-reply-preview p {
    margin: 0;
    color: var(--text-dim);
    font-size: .84rem;
}

.dashboard-search-empty {
    display: none;
    margin-bottom: 1.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, .035);
    color: var(--text-muted);
    font-size: .86rem;
}

.dashboard-search-empty.show {
    display: block;
}

[data-dashboard-searchable].dashboard-search-hidden {
    display: none !important;
}

@media (max-width: 760px) {
    .dashboard-dropdown-panel {
        right: -1rem;
    }

    .host-property-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── HOST DASHBOARD TABLE / MODAL POLISH ─── */
.dashboard-profile-avatar-only {
    width: 46px;
    height: 46px;
    min-width: 46px;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
}

.dashboard-profile-avatar-only .dashboard-avatar {
    margin: 0;
}

.dashboard-dropdown-notification {
    width: 100%;
    border: 1px solid transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
    transition: border-color .2s ease, background .2s ease, opacity .2s ease;
}

.dashboard-dropdown-notification.read {
    opacity: .66;
    background: rgba(255, 255, 255, .015);
}

.dashboard-dropdown-notification.read strong::after {
    content: ' · Read';
    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 500;
}

.dashboard-notification-copy {
    display: block;
    min-width: 0;
}

.dashboard-notification-footer {
    padding: .75rem 1rem 1rem;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, .018);
}

.dashboard-notification-footer button {
    width: 100%;
    min-height: 40px;
    border: 1px solid rgba(212, 163, 115, .24);
    border-radius: 999px;
    background: rgba(212, 163, 115, .08);
    color: var(--gold-light);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    transition: all .2s ease;
}

.dashboard-notification-footer button:hover {
    background: rgba(212, 163, 115, .14);
    border-color: rgba(212, 163, 115, .45);
}

.host-panel-main {
    padding-top: 1.75rem;
}

.host-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 2rem;
}

.host-page-head-simple {
    margin-bottom: 1.75rem;
}

.host-page-action {
    flex: 0 0 auto;
    min-width: 142px;
    justify-content: center;
    margin-top: .15rem;
}

.host-table-card {
    padding: 1.75rem 1.8rem;
    border-radius: 18px;
    background: #131d2f;
}

.host-table-head {
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.host-inline-search {
    width: min(266px, 100%);
    min-height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .045);
}

.host-inline-search span {
    color: rgba(255, 255, 255, .28);
    font-size: .9rem;
}

.host-inline-search input {
    width: 100%;
}

.host-table-wrap {
    overflow-x: auto;
}

.host-reference-table {
    min-width: 850px;
}

.host-reference-table th {
    padding-top: .85rem;
    padding-bottom: .85rem;
    color: rgba(148, 163, 184, .56);
    font-size: .69rem;
    letter-spacing: .095em;
}

.host-reference-table td {
    height: 57px;
    color: #9fb0cc;
    font-size: .82rem;
}

.host-reference-table tbody tr:hover td {
    background: rgba(255, 255, 255, .024);
}

.host-cell-strong {
    color: #fff !important;
    font-weight: 700;
}

.host-cell-price,
.host-booking-code {
    color: #e4ad63 !important;
    font-weight: 700;
}

.host-cell-total {
    color: #fff !important;
    font-weight: 800;
}

.host-row-actions {
    display: inline-flex;
    align-items: center;
    gap: .48rem;
    white-space: nowrap;
}

.host-row-actions .admin-action,
.host-bookings-table .admin-action,
.host-reviews-table .admin-action {
    min-height: 28px;
    padding: .28rem .72rem;
    border-radius: 9px;
    color: #b7c8e6;
}

.host-bookings-table {
    min-width: 950px;
}

.host-reviews-card {
    margin-top: 1.85rem;
}

.host-review-stats {
    margin-bottom: 1.85rem;
}

.host-reviews-table {
    min-width: 1080px;
}

.host-rating-stars {
    color: #e4ad63 !important;
    letter-spacing: .04em;
    white-space: nowrap;
    font-weight: 700;
}

.host-review-comment {
    max-width: 340px;
    color: #aab8cf !important;
    line-height: 1.55;
}

.dashboard-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(4, 8, 18, .78);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}

.dashboard-modal-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dashboard-modal-card {
    position: relative;
    width: min(760px, 100%);
    max-height: min(88vh, 900px);
    overflow: auto;
    padding: 2rem;
    border: 1px solid rgba(212, 163, 115, .24);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(19, 29, 47, .985), rgba(12, 20, 34, .985));
    box-shadow: 0 30px 90px rgba(0, 0, 0, .58);
    transform: translateY(12px) scale(.985);
    transition: transform .22s ease;
}

.dashboard-modal-overlay.open .dashboard-modal-card {
    transform: translateY(0) scale(1);
}

.compact-dashboard-modal {
    width: min(610px, 100%);
}

.booking-manage-modal,
.review-reply-modal {
    width: min(720px, 100%);
}

.dashboard-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    cursor: pointer;
    font: 500 1.4rem/1 'Inter', sans-serif;
}

.dashboard-modal-head {
    padding-right: 3rem;
    margin-bottom: 1.35rem;
}

.dashboard-modal-head h2 {
    margin: 0 0 .35rem;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    font-weight: 650;
}

.dashboard-modal-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: .86rem;
    line-height: 1.6;
}

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

.dashboard-span-2 {
    grid-column: 1 / -1;
}

.dashboard-modal-card .form-group {
    margin: 0;
}

.dashboard-modal-card textarea,
.dashboard-modal-card input,
.dashboard-modal-card select {
    width: 100%;
}

.dashboard-modal-card textarea {
    min-height: 120px;
    resize: vertical;
}

.dashboard-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    margin-top: 1.5rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border);
}

.dashboard-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    margin: 1.25rem 0;
}

.dashboard-preview-grid>div {
    min-height: 74px;
    padding: .9rem 1rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: rgba(255, 255, 255, .035);
}

.dashboard-preview-grid span {
    display: block;
    margin-bottom: .28rem;
    color: var(--text-muted);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.dashboard-preview-grid strong {
    display: block;
    color: #fff;
    font-size: .92rem;
    font-weight: 750;
    line-height: 1.45;
}

.dashboard-preview-description,
.dashboard-delete-summary,
.dashboard-readonly-note,
.review-reply-preview-card {
    padding: 1rem;
    border: 1px solid rgba(212, 163, 115, .18);
    border-radius: 16px;
    background: rgba(212, 163, 115, .07);
    color: var(--text-dim);
    line-height: 1.7;
    font-size: .86rem;
}

.dashboard-delete-summary {
    color: #fff;
    font-weight: 700;
}

.dashboard-booking-note {
    margin-top: 1.2rem !important;
}

.booking-status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1rem;
}

.booking-status-actions .btn {
    justify-content: center;
    min-width: 116px;
}

.review-reply-preview-card {
    display: grid;
    gap: .45rem;
    margin-bottom: 1rem;
}

.review-reply-preview-card strong {
    color: #fff;
    font-size: .92rem;
}

.review-reply-preview-card span {
    color: #e4ad63;
    font-weight: 800;
    letter-spacing: .04em;
}

.review-reply-preview-card p {
    margin: 0;
}

.danger-dashboard-modal .dashboard-modal-head h2 {
    color: #fff;
}

.dashboard-search-hidden {
    display: none !important;
}

@media (max-width: 980px) {

    .host-page-head,
    .host-table-head {
        align-items: stretch;
        flex-direction: column;
    }

    .host-page-action,
    .host-inline-search {
        width: 100%;
    }

    .dashboard-modal-card {
        padding: 1.35rem;
    }

    .dashboard-form-grid,
    .dashboard-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── HOST DASHBOARD REFINEMENT: EDITOR MODAL, NOTIFICATIONS, REVIEW MENU, SCROLLBARS ─── */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 163, 115, .72) rgba(255, 255, 255, .035);
}

*::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

*::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .035);
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(232, 201, 154, .82), rgba(184, 137, 58, .58));
    border-radius: 999px;
    border: 2px solid rgba(8, 14, 26, .72);
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(232, 201, 154, .95), rgba(212, 163, 115, .76));
}

.dashboard-notification::after {
    opacity: 0;
    transform: scale(.4);
    transition: opacity .18s ease, transform .18s ease;
}

.dashboard-notification.has-unread::after {
    opacity: 1;
    transform: scale(1);
}

.dashboard-dropdown-list {
    max-height: 344px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.host-dashboard-polished,
.dashboard-dropdown-panel,
.dashboard-modal-card {
    letter-spacing: .006em;
    word-spacing: .045em;
}

.host-reference-table td,
.host-reference-table th,
.dashboard-dropdown-notification p,
.dashboard-dropdown-notification small,
.dashboard-modal-head p,
.dashboard-preview-description,
.review-reply-preview-card,
.property-editor-helper {
    line-height: 1.65;
}

.tamago-property-editor {
    width: min(720px, 100%);
    max-height: min(92vh, 940px);
    padding: 0;
    overflow: hidden;
    background: linear-gradient(155deg, rgba(22, 31, 48, .995), rgba(12, 20, 34, .995));
}

.tamago-property-editor .dashboard-modal-close {
    z-index: 4;
}

.property-editor-head {
    margin: 0;
    padding: 1.7rem 1.8rem 1.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0));
}

.property-editor-head h2 {
    font-size: 1.8rem;
}

.property-editor-head p {
    max-width: 640px;
}

.tamago-property-editor form {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    max-height: calc(min(92vh, 940px) - 102px);
}

.property-editor-scroll {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.55rem 1.8rem 1.45rem;
}

.property-editor-grid {
    gap: 1.15rem 1rem;
}

.tamago-property-editor .form-group label,
.property-section-label,
.property-editor-section-head span {
    display: block;
    margin-bottom: .52rem;
    color: #7788a6;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .105em;
    text-transform: uppercase;
}

.tamago-property-editor .form-group input,
.tamago-property-editor .form-group select,
.tamago-property-editor .form-group textarea {
    border-color: rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .045);
    min-height: 48px;
    padding: .86rem 1rem;
    color: #e8edf5;
    font-size: .86rem;
    font-weight: 560;
}

.tamago-property-editor .form-group textarea {
    min-height: 102px;
}

.tamago-property-editor .form-group input::placeholder,
.tamago-property-editor .form-group textarea::placeholder {
    color: rgba(170, 184, 207, .48);
}

.property-editor-helper {
    display: block;
    margin-top: .55rem;
    color: #73839f;
    font-size: .72rem;
}

.property-editor-section {
    margin-top: 1.2rem;
}

.property-media-block {
    padding: 1rem 1.05rem .95rem;
    border: 1px dashed rgba(212, 163, 115, .42);
    border-radius: 16px;
    background: rgba(255, 255, 255, .02);
}

.property-editor-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .8rem;
}

.property-editor-section-head div span {
    margin-bottom: .25rem;
}

.property-editor-section-head strong {
    display: block;
    color: #fff;
    font-size: .86rem;
    font-weight: 800;
}

.property-upload-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .48rem;
    min-height: 42px;
    padding: .68rem 1rem;
    border: 1px solid rgba(212, 163, 115, .45);
    border-radius: 999px;
    background: rgba(212, 163, 115, .08);
    color: var(--gold-light);
    cursor: pointer;
    font-size: .76rem;
    font-weight: 800;
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.property-upload-button:hover {
    background: rgba(212, 163, 115, .14);
    border-color: rgba(232, 201, 154, .72);
    transform: translateY(-1px);
}

.property-upload-button input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.property-upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: .48rem;
    min-height: 58px;
    align-items: center;
    padding: .78rem .9rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .032);
    color: #95a6c3;
    font-size: .78rem;
    line-height: 1.55;
}

.property-upload-preview.has-files span {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: .38rem .62rem;
    border: 1px solid rgba(212, 163, 115, .24);
    border-radius: 999px;
    background: rgba(212, 163, 115, .08);
    color: var(--gold-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.amenity-editor-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .58rem;
    min-height: 34px;
    margin-bottom: .8rem;
}

.amenity-editor-chip {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    min-height: 34px;
    padding: .42rem .68rem;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 999px;
    background: rgba(255, 255, 255, .045);
    color: #b4c1d9;
    font-size: .76rem;
    font-weight: 700;
}

.amenity-editor-chip button {
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #b4c1d9;
    cursor: pointer;
    font: 700 .8rem/1 'Inter', sans-serif;
}

.amenity-editor-compose {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .68rem;
    align-items: center;
    padding: .58rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: rgba(255, 255, 255, .03);
}

.amenity-editor-input {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    padding: 0 .82rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(8, 14, 26, .45);
}

.amenity-editor-input span {
    color: var(--gold-light);
    font-weight: 900;
}

.amenity-editor-input input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: 650 .8rem/1.2 'Inter', sans-serif;
}

.amenity-editor-input input::placeholder {
    color: rgba(170, 184, 207, .52);
}

.amenity-editor-add {
    min-height: 42px;
    padding-inline: 1rem;
    border-radius: 999px;
}

.property-room-list {
    display: grid;
    gap: .8rem;
    margin-bottom: .82rem;
}

.property-room-card {
    padding: .92rem 1rem 1rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: rgba(255, 255, 255, .025);
}

.property-room-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: .72rem;
}

.property-room-card-head strong {
    color: #fff;
    font-size: .84rem;
    font-weight: 850;
}

.property-room-card-head .admin-action {
    min-height: 28px;
    border-radius: 999px;
    font-size: .71rem;
}

.property-room-grid {
    gap: .9rem .78rem;
}

.room-upload-button {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
}

.property-add-room {
    width: 100%;
    min-height: 42px;
    border-radius: 999px;
    justify-content: flex-start;
    padding-inline: 1rem;
}

.property-editor-actions {
    margin: 0;
    padding: 1rem 1.8rem 1.05rem;
    background: rgba(12, 20, 34, .98);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.property-editor-actions .btn {
    flex: 1;
    justify-content: center;
    min-height: 44px;
}

.host-review-action-row {
    display: inline-flex;
    align-items: center;
    gap: .52rem;
    white-space: nowrap;
}

.host-review-manage {
    position: relative;
}

.host-review-manage-toggle span {
    margin-left: .26rem;
    font-size: .72rem;
}

.host-review-menu {
    position: absolute;
    top: calc(100% + .48rem);
    right: 0;
    z-index: 45;
    display: none;
    width: 164px;
    padding: .48rem;
    border: 1px solid rgba(212, 163, 115, .24);
    border-radius: 14px;
    background: #111a2a;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .42);
}

.host-review-manage.open .host-review-menu {
    display: grid;
    gap: .18rem;
}

.host-review-menu form {
    margin: 0;
}

.host-review-menu button {
    display: flex;
    width: 100%;
    min-height: 34px;
    align-items: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #b5c3db;
    cursor: pointer;
    padding: .5rem .58rem;
    font: 760 .76rem/1.35 'Inter', sans-serif;
    text-align: left;
}

.host-review-menu button:hover {
    background: rgba(212, 163, 115, .09);
    color: var(--gold-light);
}

.host-review-menu button.danger:hover {
    background: rgba(239, 68, 68, .12);
    color: #fb7185;
}

.host-bookings-table .admin-action {
    min-width: 86px;
}

@media (max-width: 760px) {

    .property-editor-head,
    .property-editor-scroll,
    .property-editor-actions {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .property-editor-section-head,
    .amenity-editor-compose {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .property-editor-section-head {
        flex-direction: column;
    }

    .property-upload-button,
    .amenity-editor-add {
        width: 100%;
    }

    .property-editor-actions {
        flex-direction: column-reverse;
    }
}


/* Admin multi-page and universal avatar polish */
.nav-avatar img,
.mobile-profile-trigger.is-avatar img,
.dashboard-avatar img,
.profile-settings-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.profile-photo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.admin-metric-row {
    margin-top: .2rem;
}

.admin-two-column-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.pending-approval-list {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.pending-approval-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .95rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.pending-approval-row:last-child {
    border-bottom: none;
}

.pending-approval-row strong {
    display: block;
    color: #fff;
    font-size: .92rem;
    letter-spacing: .01em;
}

.pending-approval-row span {
    display: block;
    margin-top: .18rem;
    color: var(--text-muted);
    font-size: .78rem;
    line-height: 1.55;
}

.compact-actions {
    gap: .45rem;
    flex-wrap: nowrap;
}

.compact-actions form {
    margin: 0;
}

.admin-mini-insights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.admin-mini-insights .dashboard-card-mini {
    min-height: 118px;
}

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

.admin-settings-card {
    margin-bottom: 0;
}

.settings-stack {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.setting-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.setting-toggle-row:last-child {
    border-bottom: none;
}

.setting-toggle-row strong {
    display: block;
    color: #fff;
    font-size: .9rem;
    line-height: 1.4;
    letter-spacing: .01em;
}

.setting-toggle-row small {
    display: block;
    color: var(--text-muted);
    font-size: .78rem;
    line-height: 1.55;
    margin-top: .22rem;
}

.setting-toggle-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    flex: 0 0 auto;
}

.settings-summary-list {
    display: grid;
    gap: .9rem;
    margin-top: 1rem;
}

.settings-summary-list>div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem .9rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
}

.settings-summary-list span {
    color: var(--text-dim);
    font-size: .84rem;
    line-height: 1.5;
}

.settings-summary-list strong {
    color: #fff;
    font-size: .95rem;
}

.admin-nav-item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    font-size: 1rem;
}

@media(max-width: 1080px) {

    .admin-two-column-grid,
    .admin-settings-grid {
        grid-template-columns: 1fr;
    }

    .admin-mini-insights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width: 720px) {
    .admin-mini-insights {
        grid-template-columns: 1fr;
    }

    .pending-approval-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .compact-actions {
        flex-wrap: wrap;
    }
}

/* ─── Admin/Profile final integration refinements ─── */
.dashboard-notification-panel {
    display: flex;
    flex-direction: column;
    max-height: min(72vh, 560px);
}

.dashboard-notification-panel .dashboard-dropdown-list {
    flex: 1 1 auto;
    min-height: 0;
    max-height: min(52vh, 390px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.admin-mini-insights {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    align-items: stretch;
}

.admin-mini-insights .dashboard-card-mini {
    width: 100%;
}

.admin-table td .admin-table-actions,
.pending-approval-row .admin-table-actions {
    margin-top: 0;
    align-items: center;
    justify-content: flex-start;
}

.admin-table td:last-child {
    vertical-align: middle;
}

.admin-table-actions .admin-action,
.admin-table-actions form {
    align-self: center;
}

.admin-user-profile-card {
    width: min(448px, 100%);
}

.admin-user-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    margin: 1rem 0;
}

.admin-user-profile-grid>div,
.admin-user-profile-note {
    min-height: 76px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 12px;
    padding: .85rem .95rem;
    background: rgba(255, 255, 255, .035);
}

.admin-user-profile-grid span,
.admin-user-profile-note span {
    display: block;
    color: var(--text-muted);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
    margin-bottom: .35rem;
}

.admin-user-profile-grid strong,
.admin-user-profile-note strong {
    display: block;
    color: #fff;
    font-size: .9rem;
    font-weight: 750;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.admin-user-profile-note {
    min-height: auto;
    margin-top: .25rem;
    border-color: rgba(212, 163, 115, .22);
    background: rgba(212, 163, 115, .065);
}

.profile-crop-selection {
    display: none;
    padding: .78rem .95rem;
    border: 1px solid rgba(212, 163, 115, .28);
    border-radius: 14px;
    background: rgba(212, 163, 115, .08);
    color: var(--gold-light);
    font-size: .82rem;
    line-height: 1.55;
}

.profile-crop-selection:not(:empty) {
    display: block;
}

.avatar-crop-overlay {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background: rgba(4, 8, 18, .88);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}

.avatar-crop-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.avatar-crop-card {
    position: relative;
    width: min(560px, 100%);
    max-height: min(92vh, 780px);
    overflow-y: auto;
    padding: 1.55rem;
    border: 1px solid rgba(212, 163, 115, .28);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(19, 29, 47, .99), rgba(12, 20, 34, .99));
    box-shadow: 0 32px 90px rgba(0, 0, 0, .62);
}

.avatar-crop-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    cursor: pointer;
    font: 500 1.3rem/1 'Inter', sans-serif;
}

.avatar-crop-head {
    padding-right: 3rem;
    margin-bottom: 1.1rem;
}

.avatar-crop-head h2 {
    margin: 0 0 .35rem;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
}

.avatar-crop-head p {
    margin: 0;
    color: var(--text-dim);
    font-size: .86rem;
    line-height: 1.65;
}

.avatar-crop-stage {
    display: grid;
    place-items: center;
    padding: 1rem;
    border: 1px dashed rgba(212, 163, 115, .34);
    border-radius: 22px;
    background: rgba(255, 255, 255, .035);
}

.avatar-crop-stage canvas {
    display: block;
    width: min(420px, 100%);
    height: auto;
    border-radius: 22px;
    cursor: grab;
    touch-action: none;
    background: #0f172a;
}

.avatar-crop-stage canvas:active {
    cursor: grabbing;
}

.avatar-crop-zoom {
    display: grid;
    gap: .55rem;
    margin-top: 1rem;
    color: var(--text-dim);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.avatar-crop-zoom input {
    width: 100%;
}

.avatar-crop-actions {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.room-current-image {
    display: grid;
    gap: .35rem;
    margin-top: .62rem;
    padding: .62rem .72rem;
    border: 1px solid rgba(212, 163, 115, .22);
    border-radius: 12px;
    background: rgba(212, 163, 115, .065);
}

.room-current-image span {
    color: var(--text-muted);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.room-current-image code {
    color: var(--gold-light);
    font-family: 'Inter', monospace;
    font-size: .76rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    white-space: normal;
}

@media (max-width: 1120px) {
    .admin-mini-insights {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
}

@media (max-width: 720px) {

    .admin-mini-insights,
    .admin-user-profile-grid {
        grid-template-columns: 1fr;
    }

    .avatar-crop-actions {
        flex-direction: column-reverse;
    }
}


/* =========================================================
   Mobile-first public page refinement — May 2026
   ========================================================= */
.mobile-logout-form {
    width: 100%;
    margin: 0;
}

.mobile-logout-btn {
    width: 100%;
}

.detail-gallery-slider-controls,
.gallery-btn-mobile {
    display: none;
}

/* Keep caret-based sliders discoverable across devices. */
.img-slider .slider-btn {
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .img-slider .slider-btn {
        opacity: .92;
    }

    .img-slider:hover .slider-btn {
        opacity: 1;
    }
}

@media (max-width: 980px) {
    .page-server-home .dest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 1rem;
    }

    .page-server-home .dest-card {
        grid-column: auto !important;
        grid-row: auto !important;
        height: clamp(220px, 46vw, 310px);
    }

    .detail-gallery {
        position: relative;
        overflow: hidden;
    }

    .detail-gallery-slider-controls {
        position: absolute;
        inset: 0;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 .85rem;
        pointer-events: none;
    }

    .detail-gallery-slide-btn {
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, .22);
        border-radius: 999px;
        background: rgba(8, 14, 26, .82);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        backdrop-filter: blur(12px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
        pointer-events: auto;
        transition: transform .2s ease, border-color .2s ease, background .2s ease;
    }

    .detail-gallery-slide-btn:hover {
        transform: translateY(-1px);
        border-color: rgba(212, 163, 115, .68);
        background: rgba(212, 163, 115, .18);
    }

    .detail-gallery-slide-btn .asset-icon {
        width: 16px;
        height: 16px;
    }

    .gallery-btn-mobile {
        position: absolute;
        right: .9rem;
        bottom: .9rem;
        z-index: 4;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: .55rem .95rem;
        border-radius: 999px;
        font-weight: 650;
    }

    .gallery-btn-desktop {
        display: none;
    }
}

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    #navbar {
        padding-top: max(.82rem, env(safe-area-inset-top));
    }

    .mobile-nav-drawer {
        padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    }

    .mobile-nav-link,
    .mobile-menu-cta {
        flex-shrink: 0;
    }

    /* All Hotels cards and slider controls */
    .page-server-hotels .hotels-page-hero {
        padding-top: 1rem;
    }

    .page-server-hotels .hotels-page-copy {
        padding-top: 1.1rem;
        padding-bottom: .55rem;
    }

    .page-server-hotels .hotels-page-title {
        font-size: clamp(1.8rem, 8vw, 2.35rem);
        line-height: 1.12;
    }

    .page-server-hotels .all-hotels-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .page-server-hotels .hotel-card-lg,
    .page-server-hotels .filter-panel,
    .page-server-hotels .mobile-filter-toggle {
        border-radius: 20px;
    }

    .page-server-hotels .img-slider,
    .page-server-hotels .slider-track img {
        height: clamp(210px, 58vw, 268px);
    }

    .page-server-hotels .slider-btn {
        width: 38px;
        height: 38px;
        opacity: 1;
        border-color: rgba(255, 255, 255, .22);
    }

    .page-server-hotels .slider-btn.prev {
        left: .7rem;
    }

    .page-server-hotels .slider-btn.next {
        right: .7rem;
    }

    .page-server-hotels .slider-btn .asset-icon {
        width: 15px;
        height: 15px;
    }

    .page-server-hotels .card-info {
        padding: 1rem;
    }

    .page-server-hotels .card-top,
    .page-server-hotels .card-footer {
        gap: .75rem;
    }

    .page-server-hotels .card-top {
        align-items: flex-start;
    }

    .page-server-hotels .card-name {
        min-width: 0;
        line-height: 1.35;
    }

    .page-server-hotels .card-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .page-server-hotels .card-footer-actions {
        width: 100%;
        justify-content: space-between;
    }

    .page-server-hotels .card-book-btn,
    .page-server-hotels .card-save-btn {
        justify-content: center;
    }

    /* Hotel Detail */
    .detail-page-wrap {
        padding-top: 92px !important;
    }

    .detail-back-row {
        margin-bottom: .9rem !important;
    }

    .detail-gallery {
        grid-template-columns: 1fr !important;
        grid-template-rows: clamp(220px, 60vw, 292px) !important;
        border-radius: 22px;
    }

    .gallery-main,
    .gallery-main img {
        height: 100%;
        min-height: 0;
    }

    .gallery-main img {
        object-fit: cover;
    }

    .gallery-side {
        display: none !important;
    }

    .detail-gallery-slider-controls {
        padding: 0 .72rem;
    }

    .detail-gallery-slide-btn {
        width: 38px;
        height: 38px;
    }

    .gallery-btn-mobile {
        right: .72rem;
        bottom: .72rem;
        font-size: .76rem;
    }

    .gallery-modal {
        padding: 1rem;
    }

    .gallery-modal-panel {
        width: 100%;
        max-height: calc(100vh - 2rem);
        padding: 1rem;
        border-radius: 22px;
    }

    .gallery-modal-main {
        width: 100%;
        height: min(48vh, 420px);
        border-radius: 18px;
    }

    .gallery-thumb-row {
        overflow-x: auto;
        scroll-snap-type: x proximity;
        padding-bottom: .4rem;
    }

    .gallery-thumb {
        scroll-snap-align: start;
        flex: 0 0 auto;
    }

    .detail-layout {
        gap: 1.4rem;
        padding-top: 1.35rem;
    }

    .detail-heading-row {
        display: grid;
        gap: .8rem;
    }

    .detail-title {
        font-size: clamp(1.8rem, 8vw, 2.35rem);
        line-height: 1.14;
    }

    .detail-actions {
        justify-content: flex-start;
    }

    .detail-meta {
        gap: .8rem 1rem;
        margin-bottom: 1.1rem;
    }

    .detail-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .8rem;
    }

    .detail-highlights>div {
        min-height: 74px;
        padding: .9rem;
    }

    .host-card {
        gap: .85rem;
        padding: 1rem;
    }

    .amenities-grid.amenities-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: .72rem !important;
    }

    .amenities-detail-grid .amenity-item {
        min-height: 54px;
        padding: .75rem .82rem;
        line-height: 1.35;
    }

    .rooms-list.rooms-list-minimal {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-top: 1rem;
    }

    .rooms-list-minimal .room-card {
        overflow: hidden;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: rgba(255, 255, 255, .03);
    }

    .rooms-list-minimal .room-card:hover .room-img {
        transform: none;
        box-shadow: none;
    }

    .rooms-list-minimal .room-img {
        height: clamp(180px, 52vw, 240px);
        border-radius: 0;
        object-fit: cover;
    }

    .rooms-list-minimal .room-info {
        padding: .95rem 1rem 1rem;
    }

    .rooms-list-minimal .room-name {
        font-size: .95rem;
        line-height: 1.35;
    }

    .rooms-list-minimal .room-details {
        margin-top: .28rem;
        font-size: .8rem;
        line-height: 1.5;
    }

    .detail-booking-panel {
        padding: 1.15rem;
        border-radius: 22px;
    }

    .booking-row {
        grid-template-columns: 1fr !important;
        gap: .75rem;
    }

    .guest-dropdown-toggle {
        padding: .9rem;
    }

    .guest-picker {
        max-height: min(52vh, 380px);
        overflow-y: auto;
    }

    /* Payment page */
    .page-server-payment .payment-page-wrap {
        padding-top: 96px;
        padding-bottom: 2.5rem;
    }

    .page-server-payment .payment-title {
        font-size: clamp(1.85rem, 7vw, 2.25rem);
        line-height: 1.15;
    }

    .page-server-payment .payment-steps {
        gap: .5rem;
        margin-bottom: 1.4rem;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .page-server-payment .step {
        flex: 0 0 auto;
    }

    .page-server-payment .step-line {
        min-width: 28px;
    }

    .page-server-payment .payment-layout {
        gap: 1.1rem;
        padding-top: 1.25rem;
        padding-bottom: 2.5rem;
    }

    .page-server-payment .payment-section,
    .page-server-payment .order-panel {
        padding: 1rem;
        border-radius: 20px;
    }

    .page-server-payment .payment-methods {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
    }

    .page-server-payment .pay-method {
        min-width: 0;
        padding: .82rem .65rem;
    }

    .page-server-payment .card-visual {
        padding: 1.1rem;
        min-height: 188px;
        aspect-ratio: auto;
    }

    .page-server-payment .card-visual-number {
        font-size: .92rem;
        letter-spacing: .14em;
        overflow-wrap: anywhere;
    }

    .page-server-payment .payment-two-cols,
    .page-server-payment .payment-booking-grid {
        grid-template-columns: 1fr;
    }

    .page-server-payment .order-hotel-img {
        height: clamp(168px, 50vw, 230px);
    }

    .page-server-payment .order-row,
    .page-server-payment .order-total {
        gap: .75rem;
    }

    .page-server-payment .payment-submit {
        min-height: 52px;
        padding: .95rem 1rem;
        line-height: 1.35;
    }

    /* Profile/settings pages */
    .settings-page-wrap,
    .mobile-profile-shell {
        padding-top: 92px !important;
    }

    .settings-page-head {
        margin-bottom: 1.25rem !important;
    }

    .settings-layout {
        gap: 1rem;
    }

    .settings-sidebar {
        overflow-x: auto;
        display: flex;
        gap: .6rem;
        padding: .6rem;
        scrollbar-width: thin;
    }

    .settings-nav-item {
        flex: 0 0 auto;
        min-height: 42px;
        border-left: 0 !important;
        border-radius: 999px;
        padding: .65rem .9rem;
    }

    .settings-nav-item.active {
        border: 1px solid rgba(212, 163, 115, .52);
    }

    .profile-polish-head,
    .profile-settings-head {
        display: grid !important;
        grid-template-columns: 72px 1fr;
        align-items: center;
        gap: .9rem;
    }

    .profile-settings-avatar {
        width: 72px;
        height: 72px;
        font-size: 1rem;
    }

    .profile-form-grid,
    .profile-polish-form,
    .host-application-form {
        grid-template-columns: 1fr !important;
    }

    .profile-actions-row {
        display: grid;
        gap: .75rem;
    }

    .profile-actions-row .btn {
        width: 100%;
        justify-content: center;
    }

    .saved-row {
        grid-template-columns: 80px minmax(0, 1fr) !important;
        gap: .8rem;
        padding: .8rem;
    }

    .saved-row-image {
        width: 80px;
        height: 80px;
    }

    .saved-row-content {
        min-width: 0;
    }

    .saved-row-title,
    .saved-row-subtitle,
    .saved-row-location {
        overflow-wrap: anywhere;
    }

    .saved-row-actions {
        grid-column: 1 / -1;
        width: 100%;
        justify-items: stretch;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .65rem;
    }

    .saved-row-actions .btn,
    .saved-row-actions form,
    .saved-row-actions button,
    .saved-detail-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Home destinations and card rhythm */
    .page-server-home .hero-content {
        transform: none !important;
    }

    .page-server-home .hero-h1 {
        font-size: clamp(2.6rem, 12vw, 3.8rem);
    }

    .page-server-home .dest-grid {
        grid-template-columns: 1fr !important;
        gap: .85rem;
    }

    .page-server-home .dest-card {
        height: clamp(250px, 86vw, 420px);
        border-radius: 18px;
    }

    .page-server-home .dest-info {
        left: 1rem;
        bottom: 1rem;
    }

    .page-server-home .dest-name {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .mobile-menu-trigger,
    .mobile-profile-trigger {
        min-width: 38px;
        height: 38px;
    }

    .page-server-hotels .card-footer-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .page-server-payment .payment-methods {
        grid-template-columns: 1fr;
    }

    .detail-highlights {
        grid-template-columns: 1fr;
    }

    .amenities-grid.amenities-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .amenities-detail-grid .amenity-item {
        font-size: .78rem;
        padding: .68rem .72rem;
    }

    .profile-polish-head,
    .profile-settings-head {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .saved-row {
        grid-template-columns: 1fr !important;
    }

    .saved-row-image {
        width: 100%;
        height: 180px;
    }
}

/* Scrollbars used by mobile sheets, gallery strips, horizontal step rails, and profile navigation. */
.gallery-thumb-row::-webkit-scrollbar,
.settings-sidebar::-webkit-scrollbar,
.payment-steps::-webkit-scrollbar,
.guest-picker::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.gallery-thumb-row::-webkit-scrollbar-track,
.settings-sidebar::-webkit-scrollbar-track,
.payment-steps::-webkit-scrollbar-track,
.guest-picker::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .035);
    border-radius: 999px;
}

.gallery-thumb-row::-webkit-scrollbar-thumb,
.settings-sidebar::-webkit-scrollbar-thumb,
.payment-steps::-webkit-scrollbar-thumb,
.guest-picker::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(232, 201, 154, .78), rgba(180, 137, 58, .62));
    border-radius: 999px;
    border: 2px solid rgba(8, 14, 26, .92);
}

/* Password visibility icon polish */
.password-toggle svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.password-toggle .password-eye-closed {
    display: none;
}

.password-toggle.is-visible .password-eye-open,
.password-toggle[aria-pressed="true"] .password-eye-open {
    display: none;
}

.password-toggle.is-visible .password-eye-closed,
.password-toggle[aria-pressed="true"] .password-eye-closed {
    display: block;
}

.password-toggle:hover {
    color: var(--gold-light);
}


/* Guest booking cancel action */
.booking-pending-actions {
    align-items: center;
}

.booking-pending-actions form {
    margin: 0;
}

.booking-cancel-btn {
    color: #fca5a5;
    border-color: rgba(239, 68, 68, .35);
    background: rgba(239, 68, 68, .06);
}

.booking-cancel-btn:hover {
    color: #fecaca;
    border-color: rgba(239, 68, 68, .65);
    background: rgba(239, 68, 68, .12);
}

.booking-pending-note {
    margin-top: .65rem;
    color: var(--text-muted);
    font-size: .78rem;
    line-height: 1.6;
}

@media (max-width: 640px) {

    .booking-row-top,
    .booking-row-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .booking-row-actions .btn,
    .booking-row-actions form,
    .booking-row-actions button {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Project hero centered + slightly zoomed-out layout ===== */
.page-server-home #hero .container {
    width: min(1440px, 100%);
}

.page-server-home .hero-content,
body.lang-id .page-server-home .hero-content {
    width: min(100%, 1020px);
    max-width: 1020px;
    margin-inline: auto;
    text-align: center;
    transform: scale(.90);
    transform-origin: center center;
}

.page-server-home .hero-sub,
body.lang-id .page-server-home .hero-sub {
    max-width: 690px;
    margin-inline: auto;
}

.page-server-home .hero-cta,
body.lang-id .page-server-home .hero-cta {
    justify-content: center;
}

.page-server-home .hero-h1,
body.lang-id .page-server-home .hero-h1 {
    font-size: clamp(3.2rem, 5.55vw, 5.25rem);
    line-height: 1.08;
    text-wrap: balance;
}

@media (max-width: 900px) {

    .page-server-home .hero-content,
    body.lang-id .page-server-home .hero-content {
        width: min(100%, 780px);
        transform: none;
    }

    .page-server-home .hero-sub,
    body.lang-id .page-server-home .hero-sub {
        max-width: 560px;
    }
}

@media (max-width: 640px) {

    .page-server-home .hero-content,
    body.lang-id .page-server-home .hero-content {
        width: 100%;
        text-align: center;
    }

    .page-server-home .hero-h1,
    body.lang-id .page-server-home .hero-h1 {
        font-size: clamp(2.65rem, 11vw, 3.7rem);
    }

    .page-server-home .hero-cta,
    body.lang-id .page-server-home .hero-cta {
        width: 100%;
    }
}

/* ===== Home hero/navbar fidelity to the original frontend reference ===== */
.page-server-home #hero .container {
    width: min(1200px, 100%);
}

.page-server-home .hero-content,
body.lang-id .page-server-home .hero-content {
    width: auto;
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
    transform: scale(.94);
    transform-origin: center center;
}

.page-server-home .hero-sub,
body.lang-id .page-server-home .hero-sub {
    max-width: 480px;
    margin-inline: auto;
}

.page-server-home .hero-cta,
body.lang-id .page-server-home .hero-cta {
    justify-content: center;
}

.page-server-home .hero-h1,
body.lang-id .page-server-home .hero-h1 {
    max-width: 760px;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    letter-spacing: 0;
    text-wrap: balance;
}

.logo {
    justify-self: start;
    width: max-content;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.nav-links a {
    font-weight: 500;
}

@media (max-width: 900px) {

    .page-server-home .hero-content,
    body.lang-id .page-server-home .hero-content {
        width: auto;
        max-width: 760px;
        margin-inline: auto;
        text-align: center;
        transform: scale(.94);
    }

    .page-server-home .hero-sub,
    body.lang-id .page-server-home .hero-sub {
        max-width: 480px;
        margin-inline: auto;
    }
}

@media (max-width: 640px) {

    .page-server-home .hero-content,
    body.lang-id .page-server-home .hero-content {
        width: 100%;
        text-align: center;
        transform: none;
    }

    .page-server-home .hero-h1,
    body.lang-id .page-server-home .hero-h1 {
        font-size: 2.7rem;
    }

    .page-server-home .hero-cta,
    body.lang-id .page-server-home .hero-cta {
        justify-content: center;
    }
}