/* Theme tokens: css/theme.css (load before this file) */

body.booking-body {
    background-color: var(--booking-bg);
    color: var(--booking-text);
}

.booking-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.booking-topbar {
    background: var(--hms-bg);
    color: var(--hms-text-muted);
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--hms-border-soft);
}

.booking-topbar__link {
    color: var(--hms-text);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.booking-topbar__link:hover {
    color: var(--hms-accent);
}

.booking-topbar__support {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem;
}

.booking-topbar__actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.booking-topbar__cta {
    display: inline-flex;
    align-items: center;
    color: var(--hms-accent);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.booking-topbar__cta:hover,
.booking-topbar__cta:focus {
    color: var(--hms-button-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.booking-topbar__sep {
    margin: 0 0.35rem;
    opacity: 0.6;
}

.booking-nav {
    background: var(--brand-blue, var(--hms-accent));
    border-bottom: 1px solid color-mix(in srgb, var(--brand-blue, var(--hms-accent)) 75%, #000);
    box-shadow: 0 2px 10px rgba(var(--theme-accent-rgb), 0.28);
    min-height: 4.6875rem;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.booking-nav .booking-main-links {
    gap: 0.35rem;
}

.booking-header__container {
    max-width: 100%;
}

@media (min-width: 992px) {
    .booking-nav .booking-main-links {
        gap: 0.65rem;
    }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
    .booking-nav .booking-main-links {
        gap: 0.15rem;
    }

    .booking-nav .booking-main-links .nav-link {
        gap: 0.2rem;
        padding: 0.45rem 0.55rem !important;
        font-size: 0.875rem;
    }

    .booking-nav .booking-main-links .nav-link > .bi {
        font-size: 0.95rem;
        margin-right: 0 !important;
    }

    .booking-nav .navbar-brand.brand-logo-wrap {
        margin-right: 1rem !important;
        padding-right: 0 !important;
    }

    .booking-nav .navbar-collapse .booking-main-links {
        margin-left: 0;
        padding-left: 0.75rem;
        border-left: 1px solid rgba(255, 255, 255, 0.18);
    }

    .booking-nav .navbar-nav.ms-lg-auto {
        gap: 0.35rem !important;
    }

    .booking-nav .btn-auth-register,
    .booking-nav .btn-auth-signin {
        padding: 0.35rem 0.7rem;
        font-size: 0.8125rem;
    }
}

@media (min-width: 992px) and (max-width: 1365.98px) {
    .booking-nav-item--compact-hide {
        display: none !important;
    }

    .booking-nav-more-menu {
        display: block;
    }
}

.booking-nav-more-menu {
    display: none;
}

@media (max-width: 991.98px) {
    .booking-nav-more-menu {
        display: none !important;
    }
}

@media (min-width: 1400px) {
    .booking-header__container {
        max-width: 1320px;
        margin-left: auto;
        margin-right: auto;
    }
}

.booking-nav .booking-main-links .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
    padding: 0.5rem 0.95rem !important;
    border-radius: 8px;
    color: var(--hms-on-accent) !important;
    opacity: 1;
    transition: background 0.2s ease, color 0.2s ease;
}

.booking-nav .booking-main-links .nav-link > .bi {
    line-height: 1;
    flex-shrink: 0;
}

.booking-nav .booking-main-links .nav-link:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--hms-on-accent) !important;
}

.booking-nav .booking-main-links .nav-link:focus,
.booking-nav .booking-main-links .nav-link.active,
.booking-nav .booking-main-links .show > .nav-link {
    color: var(--hms-on-accent) !important;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 600;
}

.booking-nav .booking-nav-dropdown {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
    padding: 0.35rem;
    min-width: 14rem;
}

.booking-nav .booking-nav-dropdown .dropdown-header {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--hms-text-muted);
}

.booking-nav .booking-nav-dropdown .dropdown-item {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
}

.booking-nav .booking-nav-dropdown .dropdown-item.active,
.booking-nav .booking-nav-dropdown .dropdown-item:active {
    background: color-mix(in srgb, var(--hms-accent) 12%, white);
    color: var(--hms-accent);
}

.booking-nav .booking-nav-dropdown .dropdown-item:hover {
    background: color-mix(in srgb, var(--hms-accent) 8%, white);
}

.booking-nav-profile-toggle {
    border-radius: 999px;
    transition: background-color 0.15s ease;
}

.booking-nav-profile-toggle:hover,
.booking-nav-profile-toggle:focus,
.booking-nav-profile-toggle.show {
    background: rgba(255, 255, 255, 0.12);
}

.booking-nav-profile-toggle.dropdown-toggle::after {
    border-top-color: rgba(255, 255, 255, 0.92);
}

.booking-nav-profile-toggle--light:hover,
.booking-nav-profile-toggle--light:focus,
.booking-nav-profile-toggle--light.show {
    background: color-mix(in srgb, var(--hms-accent) 8%, white);
}

.booking-nav-profile-toggle--light.dropdown-toggle::after {
    border-top-color: var(--hms-text, #0f172a);
}

.booking-nav-profile-avatar {
    font-size: 1.65rem;
    line-height: 1;
}

.booking-nav-profile-toggle .booking-nav-profile-avatar {
    color: rgba(255, 255, 255, 0.95);
}

.booking-nav-profile-toggle--light .booking-nav-profile-avatar,
.booking-nav-profile-toggle--light .booking-nav-profile-name {
    color: var(--hms-text, #0f172a);
}

.booking-nav-profile-name {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.booking-nav-profile-dropdown {
    min-width: 15rem;
}

.booking-nav-profile-dropdown .dropdown-item.text-danger:hover {
    background: color-mix(in srgb, #dc3545 10%, white);
    color: #b02a37;
}

.booking-nav .navbar-text {
    color: rgba(255, 255, 255, 0.88) !important;
}

.booking-nav .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.45);
}

.booking-nav-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    padding: 0;
    color: #fff;
    line-height: 1;
}

.booking-nav-toggler__close {
    display: none;
}

.booking-nav-toggler.is-nav-open .booking-nav-toggler__open,
.booking-nav-toggler[aria-expanded="true"] .booking-nav-toggler__open {
    display: none;
}

.booking-nav-toggler.is-nav-open .booking-nav-toggler__close,
.booking-nav-toggler[aria-expanded="true"] .booking-nav-toggler__close {
    display: inline-flex;
}

.booking-nav-toggler__open {
    font-size: 1.45rem;
}

.booking-nav-toggler__close {
    font-size: 1rem;
}

.brand-logo-wrap {
    /* display: inline-flex; */
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
}

.brand-logo-orb {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--hms-accent);
    color: var(--hms-on-accent);
    box-shadow: 0 2px 8px var(--hms-glow);
    position: relative;
    overflow: hidden;
}

.brand-logo-orb::after {
    content: "";
    position: absolute;
    inset: -40% -10%;
    background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.58) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: logoShine 3.2s linear infinite;
}

.brand-logo-orb i {
    position: relative;
    z-index: 1;
}

.brand-logo-image {
    display: block;
    flex-shrink: 0;
}

.booking-nav .navbar-brand.brand-logo-wrap {
    margin-right: 0;
    max-width: calc(100% - 3.5rem);
}

.booking-nav .brand-logo-wrap--with-image {
    gap: 0.55rem;
    padding-top: 0rem;
    padding-bottom: 0rem;
}

@media (min-width: 992px) {
    .booking-nav .navbar-brand.brand-logo-wrap {
        margin-right: 2.25rem;
        padding-right: 0.75rem;
    }

    .booking-nav .navbar-collapse .booking-main-links {
        margin-left: 0.25rem;
        padding-left: 1.25rem;
        border-left: 1px solid rgba(255, 255, 255, 0.22);
    }
}

.booking-nav .brand-logo-image--header {
    display: block;
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    max-width: 3.5rem;
    max-height: calc(4.6875rem - 1.1rem);
    object-fit: contain;
    object-position: center;
    background: transparent;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: none;
    opacity: 1;
    transform: none;
    mix-blend-mode: normal;
}

/* Uploaded settings logo — show the file exactly as uploaded (no filters/effects). */
.booking-nav .brand-logo-image--uploaded {
    display: block;
    flex-shrink: 0;
    width: auto;
    height: 3rem;
    max-width: 12rem;
    max-height: 3rem;
    object-fit: contain;
    object-position: left center;
    background: transparent;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: none;
    opacity: 1;
    transform: none;
    mix-blend-mode: normal;
}

.admin-brand .brand-logo-image,
.customer-brand .brand-logo-image {
    width: 100%;
    /* height: 40px; */
    max-width: 150px;
    object-fit: contain;
    object-position: center;
    background: transparent;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: brightness(0) invert(1);
}

.booking-nav .brand-logo-wrap--icon-only {
    gap: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.booking-nav .brand-logo-wrap--with-image .brand-logo-text small {
    max-width: 13rem;
}

.footer-brand .brand-logo-image {
    width: auto;
    height: 42px;
    max-width: 130px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

.brand-logo-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    color: var(--hms-accent);
}

.booking-nav .brand-logo-text {
    color: #ffffff;
}

.booking-nav .brand-logo-text strong {
    color: #ffffff;
}

.booking-nav .brand-logo-text small {
    color: rgba(255, 255, 255, 0.88);
}

.booking-nav .brand-logo-orb {
    background: #ffffff;
    color: var(--hms-accent);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.booking-nav .brand-logo-text strong {
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.brand-logo-text strong {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-logo-text small {
    font-size: 0.68rem;
    letter-spacing: 0.03em;
    text-transform: none;
    color: var(--hms-text-muted);
    margin-top: 0.2rem;
    line-height: 1.25;
    max-width: 16rem;
    white-space: normal;
}

.brand-logo-wrap:hover .brand-logo-orb {
    transform: translateY(-1px) scale(1.02);
    transition: transform 0.18s ease;
}

@keyframes logoShine {
    100% { transform: translateX(150%); }
}

/* Hero + search (restored) */
.hero-wrap {
    background: var(--hms-surface);
    color: var(--hms-text);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--hms-border);
    box-shadow: 0 6px 20px var(--hms-shadow);
}

.hero-wrap h1,
.hero-wrap .display-6 {
    color: var(--hms-text);
    font-weight: 600;
}

/* Home hero search — keep modest radius (never 999px; tall mobile stacks look like a circle) */
.search-panel {
    background: var(--hms-surface);
    border: 1px solid var(--hms-border);
    border-radius: var(--hms-radius-md, 8px);
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 2px var(--hms-shadow), 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (min-width: 992px) {
    .search-panel {
        border-radius: var(--hms-radius-lg, 12px);
        padding: 0.75rem 1rem;
    }

    .guest-width {
        flex: 0 0 auto;
        width: auto;
    }

    .browse-width {
        flex: 0 0 auto;
        width: auto;
    }
}

.search-panel:focus-within {
    border-color: var(--hms-accent);
    box-shadow: 0 0 0 3px var(--hms-focus-ring);
}

.search-panel__form {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
    margin-left: 0;
    margin-right: 0;
}

.search-panel__form > [class*="col-"] {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
}

.search-panel .form-control,
.search-panel .form-select {
    border: 1px solid var(--hms-border-soft);
    border-radius: 6px;
    box-shadow: none;
    background-color: var(--hms-bg);
}

.search-panel .form-control:focus,
.search-panel .form-select:focus {
    border-color: var(--hms-accent-light);
    box-shadow: 0 0 0 0.15rem var(--hms-focus-ring);
    background-color: var(--hms-surface);
}

/* Homepage hero carousel — full-bleed premium backdrop */
body:has(.home-hero--carousel) .booking-header {
    margin-bottom: 0 !important;
}

.home-hero--carousel {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 0 2rem;
    min-height: clamp(28rem, 68vh, 40rem);
    overflow: hidden;
    isolation: isolate;
    background: #0b1f2a;
}

.home-hero__carousel,
.home-hero__slides,
.home-hero__slides .carousel-item {
    position: absolute;
    inset: 0;
    height: 100%;
}

.home-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    animation: home-hero-kenburns 18s ease-in-out infinite alternate;
}

.home-hero__slides .carousel-item:not(.active) .home-hero__image {
    animation: none;
}

@keyframes home-hero-kenburns {
    from { transform: scale(1.02); }
    to { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__image {
        animation: none;
        transform: none;
    }
}

.home-hero__overlay {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    min-height: inherit;
    padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1.75rem, 3.5vw, 2.75rem);
    background:
        linear-gradient(180deg, rgba(8, 24, 32, 0.28) 0%, rgba(8, 24, 32, 0.12) 32%, rgba(8, 24, 32, 0.45) 68%, rgba(8, 24, 32, 0.62) 100%),
        linear-gradient(90deg, rgba(8, 24, 32, 0.4) 0%, rgba(8, 24, 32, 0.15) 48%, rgba(8, 24, 32, 0.05) 100%);
    pointer-events: none;
}

.home-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    pointer-events: auto;
}

@media (min-width: 576px) {
    .home-hero__content {
        padding: 0 1.5rem;
    }
}

.home-hero--carousel .home-hero__eyebrow {
    color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.home-hero--carousel .display-6 {
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
    max-width: 18ch;
}

@media (min-width: 768px) {
    .home-hero--carousel .display-6 {
        max-width: none;
        font-size: clamp(2rem, 3.2vw, 2.75rem);
    }
}

.home-hero--carousel .home-hero__lead {
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    max-width: none;
}

.home-hero--carousel .home-hero-search--banner {
    margin-top: 1.25rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
    opacity: 0.75;
}

/* Desktop: banner search visible, outside search hidden */
.home-hero-search-outside {
    display: none;
}

.home-hero-search--banner {
    display: block;
}

.home-hero__control {
    z-index: 3;
    width: auto;
    opacity: 0.85;
}

.home-hero--carousel .carousel-control-prev.home-hero__control {
    left: 1.25rem;
    justify-content: flex-start;
}

.home-hero--carousel .carousel-control-next.home-hero__control {
    right: 1.25rem;
    justify-content: flex-end;
}

.home-hero__control-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 1.15rem;
    backdrop-filter: blur(6px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-hero__control:hover .home-hero__control-icon,
.home-hero__control:focus .home-hero__control-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.04);
}

.home-hero__control .carousel-control-prev-icon,
.home-hero__control .carousel-control-next-icon {
    display: none;
}

@media (max-width: 767.98px) {
    .home-hero--carousel {
        min-height: auto;
        margin-bottom: 0;
    }

    .home-hero__carousel,
    .home-hero__slides,
    .home-hero__slides .carousel-item {
        position: relative;
        inset: auto;
        height: clamp(14rem, 42vw, 18rem);
    }

    .home-hero__overlay {
        min-height: 0;
        margin-top: -4.5rem;
        padding-top: 0;
        padding-bottom: 1.25rem;
        background:
            linear-gradient(180deg, rgba(8, 24, 32, 0) 0%, rgba(8, 24, 32, 0.55) 18%, rgba(8, 24, 32, 0.88) 42%, #0b1f2a 100%);
    }

    .home-hero__control {
        display: none;
    }

    .home-hero--carousel .display-6 {
        max-width: none;
    }

    .home-hero--carousel .home-hero__lead {
        white-space: normal;
    }

    /* Mobile: hide banner search, show outside search */
    .home-hero-search--banner {
        display: none !important;
    }

    .home-hero-search-outside {
        display: block;
        background: #0b1f2a;
        padding: 0 1rem 1.25rem;
        margin: 0 0 1.5rem;
    }

    .home-hero-search-outside__inner {
        max-width: 1140px;
        margin: 0 auto;
    }

    .home-hero-search--outside {
        margin-top: 0;
        background: var(--hms-surface);
        border: 1px solid var(--hms-border);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        opacity: 1;
    }
}

/* Homepage dual-module layout */
.home-hero__eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hms-text-muted);
}

.home-hero__lead {
    color: var(--hms-text-muted);
    max-width: 42rem;
}

.home-hero__accent,
.home-heading-accent {
    color: var(--hms-highlight-dark);
}

.home-hero--carousel .home-hero__accent {
    color: var(--hms-highlight);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.home-hero-search__tabs .nav-link {
    font-weight: 600;
    color: var(--hms-text-muted);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
}

.home-hero-search__tabs .nav-link.active {
    background: var(--hms-highlight-dark);
    color: #fff;
    box-shadow: 0 2px 8px var(--hms-highlight-glow);
}

.home-hero-search__tabs .nav-link.active i {
    color: #fff;
}

/* Hero search — golden search icon button only */
.home-hero-search .primary-cta {
    background: var(--hms-highlight-dark);
    color: #fff;
    box-shadow: 0 2px 8px var(--hms-highlight-glow);
}

.home-hero-search .primary-cta:hover,
.home-hero-search .primary-cta:focus {
    background: color-mix(in srgb, var(--hms-highlight-dark) 88%, #000);
    color: #fff;
    box-shadow: 0 4px 14px var(--hms-highlight-glow);
}

/* Deals & offers — golden badges */
#deals .badge {
    background-color: var(--hms-highlight-dark) !important;
    color: #fff !important;
    border: none;
}

#deals .room-availability-badge--available {
    background: #dcfce7 !important;
    color: #15803d !important;
    border: none !important;
}

.home-platform-strip {
    margin-top: -0.25rem;
}

.home-platform-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--hms-border);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 35, 95, 0.06);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.home-platform-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 35, 95, 0.1);
}

.home-platform-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.home-platform-card--stays .home-platform-card__accent {
    background: linear-gradient(90deg, var(--hms-accent), color-mix(in srgb, var(--hms-accent) 55%, var(--hms-accent-light)));
}

.home-platform-card--estate .home-platform-card__accent {
    background: linear-gradient(90deg, var(--hms-button), color-mix(in srgb, var(--hms-button) 55%, var(--hms-accent-light)));
}

.home-platform-card--stays {
    background: linear-gradient(160deg, #fff 0%, color-mix(in srgb, var(--hms-accent) 5%, #fff) 100%);
}

.home-platform-card--estate {
    background: linear-gradient(160deg, #fff 0%, color-mix(in srgb, var(--hms-button) 5%, #fff) 100%);
}

.home-platform-card__body {
    padding: 1.35rem 1.35rem 1.4rem;
}

.home-platform-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.home-platform-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--hms-accent) 14%, white);
    color: var(--hms-accent);
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hms-accent) 18%, white);
}

.home-platform-card__icon--estate {
    background: color-mix(in srgb, var(--hms-accent) 14%, white);
    color: var(--hms-accent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hms-accent) 18%, white);
}

.home-platform-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--hms-accent);
    background: color-mix(in srgb, var(--hms-accent) 10%, white);
    border: 1px solid color-mix(in srgb, var(--hms-accent) 18%, white);
}

.home-platform-card__badge--estate {
    color: var(--hms-accent);
    background: color-mix(in srgb, var(--hms-accent) 10%, white);
    border-color: color-mix(in srgb, var(--hms-accent) 18%, white);
}

.home-platform-card__title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
    color: #1a1a1a;
}

.home-platform-card__text {
    color: var(--hms-text-muted);
    margin-bottom: 0.85rem;
    line-height: 1.55;
}

.home-platform-card__stat {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    margin-bottom: 1rem;
}

.home-platform-card__stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}

.home-platform-card__stat-label {
    font-size: 0.85rem;
    color: var(--hms-text-muted);
}

.home-platform-card__stat-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #495057;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.home-platform-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.home-platform-card__actions .btn-primary {
    background: var(--hms-highlight-dark);
    border-color: var(--hms-highlight-dark);
    color: #fff;
}

.home-platform-card__actions .btn-primary:hover,
.home-platform-card__actions .btn-primary:focus {
    background: color-mix(in srgb, var(--hms-highlight-dark) 88%, #000);
    border-color: color-mix(in srgb, var(--hms-highlight-dark) 88%, #000);
    color: #fff;
    box-shadow: 0 2px 8px var(--hms-highlight-glow);
}

/* Homepage cards — section bottom accent stripe */
.home-section--card-borders .room-card,
.home-section--card-borders .property-card,
.home-section--card-borders .home-property-card {
    position: relative;
    overflow: hidden;
}

.home-section--card-borders .room-card::after,
.home-section--card-borders .property-card::after,
.home-section--card-borders .home-property-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    z-index: 3;
    pointer-events: none;
}

.home-section--card-border-gold .room-card::after,
.home-section--card-border-gold .property-card::after,
.home-section--card-border-gold .home-property-card::after {
    background: var(--hms-highlight-dark);
}

.home-section--card-border-green .room-card::after,
.home-section--card-border-green .property-card::after,
.home-section--card-border-green .home-property-card::after {
    background: var(--hms-button-dark);
}

.home-listing-section {
    padding: 1.35rem;
    border-radius: 18px;
    border: 1px solid var(--hms-border);
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 35, 95, 0.04);
}

.home-listing-section--rent {
    background: linear-gradient(180deg, color-mix(in srgb, var(--hms-accent) 4%, #fff) 0%, #fff 120px);
    border-color: color-mix(in srgb, var(--hms-accent) 14%, var(--hms-border));
}

.home-listing-section--sale {
    background: linear-gradient(180deg, color-mix(in srgb, var(--hms-accent) 4%, #fff) 0%, #fff 120px);
    border-color: color-mix(in srgb, var(--hms-accent) 14%, var(--hms-border));
}

.home-listing-section__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid color-mix(in srgb, var(--hms-border) 80%, transparent);
}

.home-listing-section__eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--hms-accent);
    margin-bottom: 0.35rem;
}

.home-listing-section--sale .home-listing-section__eyebrow {
    color: var(--hms-accent);
}

.home-listing-section__title {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: #1a1a1a;
}

.home-listing-section__subtitle {
    color: var(--hms-text-muted);
    font-size: 0.95rem;
}

.home-listing-section__cta {
    font-weight: 600;
    border-radius: 999px;
    padding-inline: 1rem;
    white-space: nowrap;
}

.home-listing-section--rent .home-listing-section__cta {
    color: var(--hms-accent);
    border: 1px solid color-mix(in srgb, var(--hms-accent) 30%, white);
    background: #fff;
}

.home-listing-section--rent .home-listing-section__cta:hover {
    color: #fff;
    background: var(--hms-accent);
    border-color: var(--hms-accent);
}

.home-listing-section--sale .home-listing-section__cta {
    color: var(--hms-accent);
    border: 1px solid color-mix(in srgb, var(--hms-accent) 30%, white);
    background: #fff;
}

.home-listing-section--sale .home-listing-section__cta:hover {
    color: #fff;
    background: var(--hms-accent);
    border-color: var(--hms-accent);
}

.home-listing-section__empty {
    text-align: center;
    padding: 2.5rem 1rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px dashed #dbe3ee;
    color: var(--hms-text-muted);
}

.home-highlights-section {
    padding: 1.5rem;
    border-radius: 20px;
    background: var(--brand-blue, var(--hms-accent));
    color: #fff;
    box-shadow: 0 20px 44px rgba(var(--theme-accent-rgb), 0.24);
}

.home-highlights-section__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.home-highlights-section__eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0.35rem;
}

.home-highlights-section__title {
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: #fff;
}

.home-highlights-section__subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    max-width: 36rem;
}

.home-highlights-section__cta {
    color: var(--hms-primary-dark);
    background: #fff;
    border: 0;
    font-weight: 700;
    border-radius: 999px;
    padding-inline: 1rem;
    white-space: nowrap;
}

.home-highlights-section__cta:hover {
    background: var(--hms-tint-primary);
    color: var(--hms-primary-dark);
}

.home-property-card-wrap {
    position: relative;
    height: 100%;
}

.home-property-card-wrap__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: rgba(15, 47, 122, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(4px);
}

.home-highlights-section .home-property-card {
    border: 0;
    box-shadow: 0 12px 28px rgba(8, 24, 64, 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-highlights-section .home-property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(8, 24, 64, 0.24);
}

.home-highlights-section .home-property-card__mode--sale,
.home-highlights-section .home-property-card__mode--rent {
    background: var(--hms-button) !important;
    color: var(--hms-on-accent) !important;
    border-color: var(--hms-button) !important;
    font-weight: 400;
}

.home-listing-section .home-property-card__mode--rent,
.home-listing-section .home-property-card__mode--sale {
    background: var(--hms-button-dark) !important;
    color: var(--hms-on-accent) !important;
    border-color: var(--hms-button-dark) !important;
    font-weight: 400;
}

.home-listing-section .home-property-card {
    border: 1px solid #e8edf5;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-listing-section .home-property-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--hms-accent) 22%, #e8edf5);
    box-shadow: 0 14px 30px rgba(15, 35, 95, 0.1);
}

.home-listing-section--sale .home-property-card:hover {
    border-color: color-mix(in srgb, var(--hms-accent) 22%, #e8edf5);
}

.home-property-card .property-card__media {
    overflow: hidden;
    border-radius: 14px 14px 0 0;
}

.home-property-card .property-card__media img {
    transition: transform 0.28s ease;
}

.home-property-card:hover .property-card__media img {
    transform: scale(1.04);
}

.home-why-section__intro {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 1.75rem;
}

.home-why-section__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--hms-accent);
    background: color-mix(in srgb, var(--hms-accent) 8%, white);
    border: 1px solid color-mix(in srgb, var(--hms-accent) 16%, white);
    margin-bottom: 0.75rem;
}

.home-why-section__lead {
    color: var(--hms-text-muted);
    font-size: 1rem;
}

.home-why-section .why-pms__heading {
    margin-bottom: 0.65rem;
}

.why-pms-card__step {
    position: absolute;
    top: 0.9rem;
    right: 0.95rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: color-mix(in srgb, var(--hms-accent) 45%, #94a3b8);
}

.home-module-spotlight__inner {
    background: linear-gradient(135deg, color-mix(in srgb, var(--hms-accent) 10%, white), var(--hms-surface));
    border: 1px solid var(--hms-border);
    border-radius: 16px;
    padding: 1.5rem;
}

.home-module-spotlight--estate .home-module-spotlight__inner {
    background: linear-gradient(135deg, color-mix(in srgb, var(--hms-accent) 8%, white), var(--hms-surface));
}

.home-module-spotlight__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--hms-accent);
    margin-bottom: 0.5rem;
}

.home-module-spotlight--estate .home-module-spotlight__badge {
    color: var(--hms-accent);
}

.home-module-spotlight__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-module-spotlight__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    color: var(--hms-text-muted);
    font-size: 0.95rem;
}

.home-module-spotlight__list li i {
    color: var(--hms-accent);
    margin-top: 0.15rem;
}

/* Contact page */
.contact-page-hero {
    border-radius: 16px;
    background: var(--brand-blue, var(--hms-accent));
    color: #fff;
    overflow: hidden;
    box-shadow: 0 18px 40px var(--hms-hero-shadow);
}

.contact-page-hero__inner {
    padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
}

.contact-page-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.contact-page-hero__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.contact-page-hero__text {
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
}

.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.contact-info-card {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem 1.05rem;
    border: 1px solid var(--hms-border);
    border-radius: 12px;
    background: var(--hms-surface);
    box-shadow: 0 4px 14px rgba(15, 35, 95, 0.04);
}

.contact-info-card--muted {
    background: #f8fafc;
}

.contact-info-card__icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--hms-accent-light);
    color: #fff;
    flex-shrink: 0;
    font-size: 1rem;
}

.contact-info-card__label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--hms-text-muted);
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.contact-info-card__value {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.45;
}

a.contact-info-card__value:hover {
    color: var(--hms-accent);
}

.contact-form-panel {
    border: 1px solid var(--hms-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 35, 95, 0.07);
    overflow: hidden;
}

.contact-form-panel__header {
    padding: 1.25rem 1.5rem 0.25rem;
    border-bottom: 1px solid #eef2f7;
}

.contact-form-panel__body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.contact-form-panel .input-group-text {
    background: #f8fafc;
    border-color: var(--hms-border);
    color: var(--hms-accent);
}

.contact-form-panel .form-control,
.contact-form-panel .form-select {
    border-color: var(--hms-border);
}

.contact-form-panel .form-control:focus,
.contact-form-panel .form-select:focus {
    border-color: var(--hms-accent);
    box-shadow: 0 0 0 0.2rem var(--hms-glow);
}

/* Why choose us */
.why-pms__heading {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.why-pms__brand {
    color: var(--hms-highlight-dark);
    font-weight: 800;
}

.why-pms-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--hms-border);
    border-radius: 16px;
    padding: 1.35rem 1.2rem 1.4rem;
    height: 100%;
    cursor: default;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(15, 35, 95, 0.05);
    transition:
        opacity 0.45s ease var(--delay, 0ms),
        transform 0.45s ease var(--delay, 0ms),
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .why-pms-card.why-pms-card--animate {
        opacity: 0;
        transform: translateY(14px);
    }

    .why-pms-card.why-pms-card--animate.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

.why-pms-card:hover,
.why-pms-card:focus-visible {
    background: #fff;
    border-color: var(--hms-accent-light);
    box-shadow: 0 14px 32px var(--hms-glow);
    transform: translateY(-4px);
    outline: none;
}

.why-pms-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 0.85rem;
    position: relative;
    transition: transform 0.25s ease;
}

.why-pms-card:hover .why-pms-card__icon {
    transform: scale(1.08) rotate(-3deg);
}

.why-pms-card__icon--flex,
.why-pms-card__icon--reviews,
.why-pms-card__icon--global,
.why-pms-card__icon--support {
    background: var(--hms-highlight-dark);
    color: #fff;
}

.why-pms-card__badge-icon,
.why-pms-card__check {
    position: absolute;
    right: -0.25rem;
    bottom: -0.2rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: var(--hms-button);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    line-height: 1;
    flex-shrink: 0;
}

.why-pms-card__badge-icon {
    font-size: 0.62rem;
}

.why-pms-card__check {
    font-size: 0.62rem;
}

.why-pms-card__check i {
    display: block;
    line-height: 1;
    font-size: inherit;
}

.why-pms-card__title {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    color: #1a1a1a;
}

.why-pms-card__title strong {
    font-weight: 800;
}

.why-pms-mark {
    background: transparent;
    padding: 0;
    font-weight: 800;
    color: inherit;
}

.why-pms-card__text {
    font-size: 0.84rem;
    color: #5a6472;
    margin: 0;
}

@media (max-width: 991.98px) {
    .why-pms__brand {
        display: inline-block;
        margin-top: 0.35rem;
    }
}

.room-card {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 35, 95, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px var(--hms-glow);
}

.rooms-carousel {
    position: relative;
    padding: 0 2.25rem;
}

.rooms-carousel__control {
    width: 2.1rem;
    opacity: 1;
}

.rooms-carousel__control .carousel-control-prev-icon,
.rooms-carousel__control .carousel-control-next-icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background-color: rgba(var(--theme-primary-rgb), 0.92);
    background-size: 52% 52%;
}

.rooms-carousel__control:hover .carousel-control-prev-icon,
.rooms-carousel__control:hover .carousel-control-next-icon {
    background-color: var(--hms-accent);
}

.property-card {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 35, 95, 0.08);
}

.info-card {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 35, 95, 0.07);
}

.section-image {
    height: 160px;
    object-fit: cover;
    background: #eef2f8;
    display: block;
}

.room-card__thumb-link {
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    color: inherit;
    text-decoration: none;
}

.room-card__thumb-link:hover,
.room-card__thumb-link:focus-visible {
    color: inherit;
}

.room-card__thumb-link .section-image {
    transition: transform 0.25s ease;
}

.room-card__thumb-link:hover .section-image,
.room-card__thumb-link:focus-visible .section-image {
    transform: scale(1.04);
}

.destination-tile {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 200px;
}

.destination-tile img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    background: #eef2f8;
    display: block;
}

.destination-overlay {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08));
    color: #fff;
    padding: 1rem;
}

.room-card .price {
    color: var(--booking-blue);
    font-weight: 700;
}

.room-badge {
    background: #ccfbf1;
    color: var(--hms-primary);
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
}

.room-stars {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.room-stars .stars {
    color: #f59e0b;
    letter-spacing: 0.06rem;
    line-height: 1;
}

.room-stars .rating-text {
    color: #475569;
    font-size: 0.84rem;
    font-weight: 600;
}

.primary-cta {
    background: var(--hms-button);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}

.primary-cta:hover,
.primary-cta:focus {
    background: var(--hms-button-dark);
    border: none;
    color: var(--hms-on-accent);
    transform: scale(1.02);
    box-shadow: 0 4px 14px var(--hms-button-glow);
}

.btn-hms-highlight {
    background: var(--hms-button);
    border: none;
    border-radius: 8px;
    color: var(--hms-on-accent);
    font-weight: 600;
    transition: background 0.18s ease, transform 0.15s ease;
}

.btn-hms-highlight:hover,
.btn-hms-highlight:focus {
    background: var(--hms-button-dark);
    color: var(--hms-on-accent);
    transform: scale(1.02);
    box-shadow: 0 4px 14px var(--hms-button-glow);
}

.btn-hms-subscribe {
    background: var(--hms-button);
    border: none;
    border-radius: 8px;
    color: var(--hms-on-accent);
    font-weight: 600;
}

.btn-hms-subscribe:hover {
    background: var(--hms-button-dark);
    color: var(--hms-on-accent);
    transform: translateY(-1px);
}

/* Themed outline button (avoids Bootstrap default blue) */
.btn-outline-hms {
    --bs-btn-color: var(--hms-button);
    --bs-btn-border-color: var(--hms-button);
    --bs-btn-hover-color: var(--hms-on-accent);
    --bs-btn-hover-bg: var(--hms-button);
    --bs-btn-hover-border-color: var(--hms-button);
    --bs-btn-active-color: var(--hms-on-accent);
    --bs-btn-active-bg: var(--hms-button-dark);
    --bs-btn-active-border-color: var(--hms-button-dark);
    --bs-btn-focus-shadow-rgb: var(--theme-button-rgb);
    font-weight: 600;
}

.btn-outline-hms {
    border-radius: 8px;
}

.btn-outline-hms:hover,
.btn-outline-hms:focus {
    color: var(--hms-on-accent);
    background-color: var(--hms-button);
    border-color: var(--hms-button);
}

.badge-hms {
    background: var(--hms-highlight-dark);
    color: #fff;
    font-weight: 700;
}

.booking-nav .btn-auth-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: var(--hms-highlight-dark);
    border: none;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px var(--hms-highlight-glow);
}

.booking-nav .btn-auth-signin:hover {
    background: color-mix(in srgb, var(--hms-highlight-dark) 88%, #000);
    color: #fff;
    box-shadow: 0 4px 12px var(--hms-highlight-glow);
}

.booking-nav .btn-auth-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-color: rgba(255, 255, 255, 0.75);
    color: var(--hms-on-accent);
    border-radius: 8px;
    font-weight: 600;
    background: transparent;
}

.booking-nav .btn-auth-register:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--hms-on-accent);
    color: var(--hms-on-accent);
}

.booking-nav .btn-auth-register .bi,
.booking-nav .btn-auth-signin .bi {
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
}

.booking-nav .btn-list-property {
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: var(--hms-on-accent);
    border-radius: 8px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.booking-nav .btn-list-property:hover,
.booking-nav .btn-list-property:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: #fff;
    color: var(--hms-on-accent);
}

.direct-booking-banner {
    position: relative;
    overflow: hidden;
    border-radius: 1.15rem;
    border: 0;
    background-image: var(--hms-panel-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 14px 36px rgba(var(--theme-primary-rgb), 0.14);
    color: var(--hms-on-accent);
}

.direct-booking-banner__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.85fr);
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 1.85rem;
}

.direct-booking-banner__actions-panel {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 1rem;
    padding: 1.1rem;
}

.direct-booking-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--hms-highlight-dark);
    color: #fff;
    border: 1px solid color-mix(in srgb, var(--hms-highlight-dark) 88%, #000);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    margin-bottom: 0.75rem;
}

.direct-booking-banner__title {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 800;
    margin-bottom: 0.45rem;
    color: var(--hms-on-accent);
}

.direct-booking-banner__text {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 36rem;
    line-height: 1.55;
}

.direct-booking-banner__perks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
}

.direct-booking-banner__perks li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.direct-booking-banner__perks i {
    color: #fde68a;
}

.direct-booking-banner__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
}

.direct-booking-banner__actions .btn {
    border-radius: 0.7rem;
    font-weight: 600;
    padding: 0.62rem 1.1rem;
    white-space: nowrap;
}

.direct-booking-banner__btn-primary {
    background: var(--hms-button);
    color: var(--hms-on-accent);
    border: none;
    box-shadow: 0 8px 20px var(--hms-button-glow);
}

.direct-booking-banner__btn-primary:hover,
.direct-booking-banner__btn-primary:focus {
    background: var(--hms-button-dark);
    color: var(--hms-on-accent);
    transform: translateY(-1px);
}

.direct-booking-banner__btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.direct-booking-banner__btn-outline:hover,
.direct-booking-banner__btn-outline:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
}

.site-footer {
    background: #fff;
    border-top: 1px solid var(--hms-border);
    margin-top: 2rem;
}

.footer-newsletter-wrap {
    background: var(--hms-bg);
    border-bottom: 1px solid var(--hms-border);
}

.footer-newsletter-wrap h5 {
    color: var(--hms-text);
}

.footer-newsletter-wrap p {
    color: var(--hms-text-muted) !important;
}

.footer-newsletter-form {
    width: 100%;
    max-width: 420px;
}

.footer-newsletter-form .form-control {
    min-height: 42px;
    border: 0;
}

.footer-brand {
    display: block;
}

.footer-brand-logo-link {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.footer-brand-logo {
    display: block;
    width: auto;
    height: 3.5rem;
    max-width: 15rem;
    object-fit: contain;
    object-position: left center;
    background: transparent;
    box-shadow: none;
}

/* PNG ships with a solid black canvas — multiply removes black on the white footer */
.site-footer .footer-brand-logo {
    mix-blend-mode: multiply;
}

.footer-brand .brand-logo-image {
    width: auto;
    height: 42px;
    max-width: 130px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

.footer-title {
    font-weight: 700;
    color: var(--hms-text);
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #5a6472;
    text-decoration: none;
    margin-bottom: 0.4rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--brand-blue, var(--hms-accent));
    text-decoration: underline;
}

.footer-muted {
    color: #6b778d;
}

.footer-social {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--hms-highlight-dark) 35%, #fff);
    color: var(--hms-highlight-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-social:hover {
    color: var(--hms-highlight-dark);
    border-color: var(--hms-highlight-dark);
    background: color-mix(in srgb, var(--hms-highlight-dark) 10%, #fff);
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8e2f3;
    border-radius: 8px;
    padding: 0.2rem 0.45rem;
    font-size: 0.73rem;
    color: #334155;
    background: #f8faff;
    font-weight: 600;
}

.footer-bottom-bar {
    border-top: 1px solid #e8eef8;
    background: #f8faff;
}

.tw-copyright {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem 1rem;
    width: 100%;
}

.tw-copyright__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    flex-shrink: 0;
}

.tw-copyright__logo {
    display: block;
    height: 40px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
}

.tw-copyright__content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.12rem;
    text-align: right;
    max-width: 100%;
}

.tw-copyright__system-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

.tw-copyright__system-tagline {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.35;
    max-width: 22rem;
}

.tw-copyright__text {
    color: var(--hms-text-muted);
    font-size: 0.8125rem;
    line-height: 1.35;
    margin-top: 0.2rem;
}

.tw-copyright__link {
    color: var(--hms-primary);
    text-decoration: none;
    font-weight: 600;
}

.tw-copyright__link:hover {
    color: var(--hms-primary-dark);
    text-decoration: underline;
}

.tw-copyright--site .tw-copyright__text {
    color: #64748b;
}

.tw-copyright--site .tw-copyright__link {
    color: var(--hms-accent);
}

.tw-copyright--site .tw-copyright__link:hover {
    color: var(--hms-accent-dark);
}

.app-dashboard-footer {
    margin-top: auto;
    border-top: 1px solid var(--admin-border);
    background: rgba(255, 255, 255, 0.92);
    padding: 0.85rem 0;
}

.customer-shell .app-dashboard-footer {
    border-top-color: #dbe4f4;
}

.tw-copyright--dashboard {
    justify-content: center;
}

.tw-copyright--dashboard .tw-copyright__content {
    align-items: center;
    text-align: center;
}

.tw-copyright--dashboard .tw-copyright__text {
    color: #64748b;
}

.tw-copyright--dashboard .tw-copyright__logo {
    height: 34px;
}

.property-main-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 14px;
    background: #eef2f8;
}

.property-gallery-carousel {
    border-radius: 14px;
    overflow: hidden;
}

.property-gallery-carousel .carousel-control-prev,
.property-gallery-carousel .carousel-control-next {
    width: 8%;
    opacity: 1;
}

.property-gallery-carousel .carousel-control-prev-icon,
.property-gallery-carousel .carousel-control-next-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background-color: rgba(var(--theme-primary-rgb), 0.92);
    background-size: 50% 50%;
    filter: none;
}

.property-gallery-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.property-gallery-carousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--hms-accent);
}

.property-gallery-carousel .carousel-control-prev,
.property-gallery-carousel .carousel-control-next {
    filter: none;
}

.property-thumb-image {
    width: 100%;
    height: 92px;
    object-fit: cover;
    border-radius: 10px;
    background: #eef2f8;
}

.room-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
}

.room-gallery-thumbs [data-bs-target] {
    width: 100%;
    height: auto;
    margin: 0;
    text-indent: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    background: transparent;
    opacity: 0.8;
    overflow: hidden;
}

.room-gallery-thumbs [data-bs-target].active {
    border-color: var(--booking-accent);
    opacity: 1;
}

.review-score-box {
    background: var(--hms-accent);
    color: #fff;
    border-radius: 12px;
    min-width: 82px;
    text-align: center;
    padding: 0.55rem 0.7rem;
}

.review-score-box .score {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.15rem;
}

.facility-chip {
    background: #f0fdfa;
    border: 1px solid var(--hms-border);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    font-size: 0.92rem;
}

.sticky-booking-card {
    position: sticky;
    top: 95px;
}

.property-location-map {
    height: 320px;
    border: 1px solid var(--hms-border);
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
}

@media (max-width: 991px) {
    .property-main-image {
        height: 280px;
    }

    .property-thumb-image {
        height: 76px;
    }

    .room-gallery-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sticky-booking-card {
        position: static;
    }
}

.admin-shell {
    display: flex;
    align-items: stretch;
    min-height: 100vh;
    background: var(--admin-bg);
}

.admin-sidebar {
    width: 280px;
    flex-shrink: 0;
    align-self: stretch;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: var(--admin-sidebar-text);
    border-right: 1px solid var(--dashboard-sidebar-border);
    z-index: 1040;
    background: var(--admin-sidebar-bg);
    box-shadow: 4px 0 24px rgba(var(--theme-accent-rgb), 0.18);
}

.admin-sidebar::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vmax;
    height: 100vmax;
    min-width: 100%;
    min-height: 100%;
    /* background-image: var(--hms-panel-bg-image); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%) rotate(var(--hms-sidebar-bg-rotation, 90deg));
    z-index: 0;
    pointer-events: none;
}

.admin-sidebar > * {
    position: relative;
    z-index: 1;
}

.admin-menu {
    flex: 1 1 auto;
    padding-bottom: 1.25rem;
    overflow-y: auto;
}

.admin-brand {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

.admin-brand a {
    font-size: 1.02rem;
    letter-spacing: 0.02em;
    color: var(--dashboard-sidebar-text);
}

.admin-brand-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    padding: 4px;
    filter: none;
}

.brand-logo-orb--sidebar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: #ffffff;
    color: var(--hms-accent);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.admin-menu-label {
    color: var(--dashboard-sidebar-text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    padding-left: 0.35rem;
    font-weight: 700;
}

.admin-menu-group {
    margin-bottom: 0.35rem;
}

.admin-menu-group-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    border: 0;
    background: var(--dashboard-sidebar-subtle-bg);
    color: var(--dashboard-sidebar-text);
    text-decoration: none;
    padding: 0.58rem 0.7rem;
    border-radius: 0.65rem;
    margin-bottom: 0.15rem;
    transition: background 0.18s ease, color 0.18s ease;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.admin-menu-group-toggle:hover,
.admin-menu-group-toggle.is-open {
    background: var(--dashboard-sidebar-hover-bg);
    color: #fff;
}

.admin-menu-group-toggle.is-open {
    border-left-color: var(--admin-sidebar-active);
}

.admin-menu-group-icon {
    width: 1.2rem;
    margin-right: 0.45rem;
    font-size: 1rem;
    opacity: 0.95;
    flex-shrink: 0;
}

.admin-menu-group-label {
    flex: 1 1 auto;
    min-width: 0;
}

.admin-menu-section-label {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    margin-top: 0.35rem;
    margin-bottom: 0.15rem;
    padding-left: 0.25rem;
    opacity: 0.75;
}

.admin-menu-subgroup {
    margin: 0.2rem 0 0.35rem;
}

.admin-menu-subgroup-toggle {
    list-style: none;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dashboard-sidebar-text-muted);
    padding: 0.45rem 0.5rem 0.35rem 0.65rem;
    border-radius: 0.45rem;
    transition: color 0.18s ease, background 0.18s ease;
}

.admin-menu-subgroup-toggle::-webkit-details-marker {
    display: none;
}

.admin-menu-subgroup-toggle::before {
    content: '\F282';
    font-family: 'bootstrap-icons';
    font-size: 0.65rem;
    opacity: 0.85;
    transition: transform 0.2s ease;
}

.admin-menu-subgroup[open] > .admin-menu-subgroup-toggle::before {
    transform: rotate(90deg);
}

.admin-menu-subgroup-toggle:hover {
    color: var(--dashboard-sidebar-text);
    background: var(--dashboard-sidebar-subtle-bg);
}

.admin-menu-subgroup-items {
    padding-left: 0.15rem;
    margin-left: 0.85rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-menu-subgroup-items .admin-menu-link-nested {
    padding-left: 1.65rem;
    margin-bottom: 0.1rem;
}

.admin-menu-group-toggle .admin-menu-chevron {
    font-size: 0.72rem;
    opacity: 0.85;
    transition: transform 0.22s ease;
    flex-shrink: 0;
}

.admin-menu-group-toggle.is-open .admin-menu-chevron {
    transform: rotate(180deg);
}

.admin-menu-group-items {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.24s ease;
}

.admin-menu-group-items.is-open {
    grid-template-rows: 1fr;
}

.admin-menu-group-items-inner {
    overflow: hidden;
    padding-left: 0.35rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    margin-left: 0.55rem;
    margin-bottom: 0.35rem;
}

.admin-menu-group-items.is-open .admin-menu-group-items-inner {
    padding-top: 0.15rem;
    padding-bottom: 0.1rem;
}

.admin-menu-group-items .admin-menu-link {
    font-size: 0.86rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.admin-menu-link {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: var(--dashboard-sidebar-text);
    text-decoration: none;
    padding: 0.62rem 0.75rem;
    border-radius: 0.65rem;
    margin-bottom: 0.2rem;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    font-size: 0.9rem;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.admin-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--dashboard-sidebar-subtle-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.admin-menu-link i {
    width: 1.2rem;
    margin-right: 0.45rem;
    font-size: 1.05rem;
    opacity: 0.95;
}

.admin-menu-link:hover {
    background: var(--dashboard-sidebar-hover-bg);
    color: #fff;
    transform: translateX(2px);
}

.admin-menu-link.active {
    background: var(--dashboard-sidebar-active-bg);
    border-left-color: var(--admin-sidebar-active);
    color: #fff;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.admin-menu-link-muted {
    opacity: 0.65;
}

.admin-menu-link-coming-soon {
    opacity: 0.72;
}

.admin-menu-link-coming-soon:hover {
    opacity: 0.95;
}

.admin-menu-link-coming-soon.active {
    opacity: 1;
}

.admin-menu-link-nested {
    padding-left: 2.15rem;
    font-size: 0.84rem;
}

.admin-menu-collapse-toggle {
    text-align: left;
}

.admin-menu-collapse-toggle .admin-menu-chevron {
    font-size: 0.75rem;
    opacity: 0.8;
    transition: transform 0.2s ease;
}

.admin-menu-collapse-toggle[aria-expanded="true"] .admin-menu-chevron {
    transform: rotate(180deg);
}

.admin-menu-collapse {
    margin-bottom: 0.25rem;
}

.under-construction-page {
    max-width: 52rem;
    margin: 0 auto;
}

.under-construction-card {
    overflow: hidden;
}

.under-construction-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 59, 149, 0.12), rgba(255, 193, 7, 0.18));
    color: var(--hms-primary, var(--brand-blue, #0093cd));
    font-size: 2.25rem;
}

.under-construction-lead {
    max-width: 36rem;
}

.letter-spacing-wide {
    letter-spacing: 0.12em;
}

.under-construction-related-link {
    display: block;
    padding: 0.85rem 1rem;
    border: 1px solid var(--admin-border, #e8edf3);
    border-radius: 0.65rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.under-construction-related-link:hover {
    border-color: rgba(0, 59, 149, 0.35);
    box-shadow: 0 0.35rem 1rem rgba(0, 59, 149, 0.08);
    color: inherit;
}

.admin-main {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 100vh;
    color: var(--admin-text);
    display: flex;
    flex-direction: column;
    background: var(--admin-bg);
}

#bookingsTrendChart,
#bookingStatusChart,
#roomStatusChart,
#inventoryMovementChart {
    min-height: 220px;
}

.admin-header {
    z-index: 1020;
    background: #fff !important;
    border-bottom: 1px solid var(--admin-border) !important;
}

.admin-portal-topbar {
    display: none;
}

.admin-portal-hero {
    background: #fff;
    overflow: visible;
}

.admin-portal-hero__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.admin-portal-hero__copy {
    flex: 1 1 auto;
}

.admin-portal-hero__actions {
    flex-shrink: 0;
}

.admin-portal-hero__title {
    color: var(--hms-text, #0f172a);
}

.admin-portal-hero__subtitle {
    display: block;
    line-height: 1.45;
}

.admin-portal-header {
    position: relative;
    z-index: 1040;
}

.admin-portal-nav-toggler {
    display: none;
}

.admin-portal-nav-toggler__close {
    display: none;
}

.admin-portal-nav-toggler.is-nav-open .admin-portal-nav-toggler__open,
.admin-portal-nav-toggler[aria-expanded="true"] .admin-portal-nav-toggler__open {
    display: none;
}

.admin-portal-nav-toggler.is-nav-open .admin-portal-nav-toggler__close,
.admin-portal-nav-toggler[aria-expanded="true"] .admin-portal-nav-toggler__close {
    display: inline-flex;
}

.admin-kpi-card {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(15, 35, 95, 0.08);
    overflow: hidden;
}

.admin-kpi-card .card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.kpi-meta {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--hms-text-muted);
    margin-bottom: 0.25rem;
}

.kpi-tooltip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 0.2rem;
    border: 0;
    background: transparent;
    color: var(--hms-text-muted);
    font-size: 0.8rem;
    line-height: 1;
    vertical-align: middle;
    cursor: help;
    text-transform: none;
    letter-spacing: normal;
    opacity: 0.7;
}

.kpi-tooltip-btn:hover,
.kpi-tooltip-btn:focus {
    opacity: 1;
    color: var(--hms-primary, #1eb53a);
    outline: none;
}

.kpi-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hms-text);
    margin: 0;
}

.kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    background: linear-gradient(135deg, var(--hms-button), var(--hms-button-dark));
}

.kpi-icon-blue,
.kpi-icon-teal,
.kpi-icon-green,
.kpi-icon-orange,
.kpi-icon-purple,
.kpi-icon-red,
.kpi-icon-slate {
    background: linear-gradient(135deg, var(--hms-button), var(--hms-button-dark));
}

.admin-panel-card {
    border: 1px solid var(--admin-card-border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 35, 95, 0.08);
    background: var(--admin-surface);
}

.admin-panel-card .card-header {
    background: var(--admin-surface);
    border-bottom: 1px solid var(--admin-border);
    font-weight: 600;
}

.quick-link-pill {
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.admin-chart-wrap {
    position: relative;
    min-height: 240px;
}

.admin-chart-wrap-sm {
    min-height: 200px;
}

.admin-chart-wrap-circle {
    min-height: 240px;
    max-width: 360px;
    margin: 0 auto;
}

.sort-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}

.sort-icon-link:hover {
    background: var(--hms-focus-ring);
    color: var(--hms-accent-dark);
}

.sort-icon-link.active {
    background: color-mix(in srgb, var(--hms-accent) 18%, transparent);
    color: var(--hms-accent-dark);
    font-weight: 700;
}

.admin-page-title {
    font-weight: 700;
    color: var(--hms-text);
    /* text-decoration: underline; */
}

.admin-page-subtitle {
    color: var(--hms-text-muted);
    font-size: 0.92rem;
}

.admin-main .card {
    border: 1px solid var(--admin-card-border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 35, 95, 0.08);
    background: var(--admin-surface);
    overflow: hidden;
}

/* Listing pages — align with dashboard panel styling */
.admin-main > .d-flex.justify-content-between,
.admin-main > main > .d-flex.justify-content-between,
.admin-main > main > .d-flex.flex-wrap.justify-content-between {
    margin-bottom: 1.25rem !important;
}

.admin-main > .d-flex.justify-content-between h1,
.admin-main > .d-flex.justify-content-between .h3,
.admin-main > main > .d-flex h1,
.admin-main > main > .d-flex .h3 {
    font-weight: 700;
    color: var(--hms-text);
    margin-bottom: 0;
}

.admin-main > form.row,
.admin-main > main > form.row {
    background: var(--admin-surface);
    border: 1px solid var(--admin-card-border);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 4px 16px rgba(15, 35, 95, 0.06);
    margin-bottom: 1.25rem !important;
    align-items: center;
}

.admin-list-card {
    border: 1px solid var(--admin-table-head-border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 35, 95, 0.08);
    overflow: hidden;
}

.admin-list-pagination {
    background: var(--admin-surface);
    border: 1px solid var(--admin-card-border);
    border-radius: 14px;
    padding: 0.7rem 1rem;
    box-shadow: 0 4px 16px rgba(15, 35, 95, 0.05);
}

.admin-list-pagination .pagination {
    margin-bottom: 0;
}

.admin-data-table {
    --bs-table-hover-bg: var(--hms-tint-primary);
}

.admin-sortable-col {
    width: 2.25rem;
    padding-left: 0.75rem !important;
    padding-right: 0.35rem !important;
}

.admin-sortable-handle {
    width: 2.25rem;
    padding-left: 0.75rem !important;
    padding-right: 0.35rem !important;
    cursor: grab;
    user-select: none;
    text-align: center;
    vertical-align: middle !important;
}

.admin-sortable-handle:active {
    cursor: grabbing;
}

.admin-sortable-handle .bi {
    font-size: 1.1rem;
    opacity: 0.55;
}

tr:hover .admin-sortable-handle .bi {
    opacity: 0.9;
}

.admin-sortable-row--ghost {
    opacity: 0.45;
    background: var(--hms-tint-primary) !important;
}

.admin-sortable-row--dragging {
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(15, 35, 95, 0.12);
}

.admin-main .admin-data-table {
    margin-bottom: 0;
}

.admin-main .admin-data-table > :not(caption) > * > * {
    padding: 0.72rem 1rem;
    border-bottom: 1px solid var(--admin-table-row-border);
    vertical-align: middle;
    font-size: 0.9rem;
}

.admin-main .admin-data-table thead th {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--admin-table-head-text);
    background: var(--admin-table-head-bg);
    border-bottom: 2px solid var(--admin-table-head-border);
    white-space: nowrap;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.admin-main .admin-data-table thead th a {
    color: var(--admin-table-head-text);
    font-weight: inherit;
}

.admin-main .admin-data-table thead th a:hover {
    color: var(--hms-accent);
}

.admin-main .admin-data-table tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.85);
}

.admin-main .admin-data-table tbody tr:hover {
    background: var(--hms-tint-primary) !important;
}

.admin-main .admin-data-table tbody tr:last-child > * {
    border-bottom: 0;
}

.admin-cell-primary {
    font-weight: 600;
    color: var(--hms-text);
}

.admin-cell-primary a:not(.btn) {
    color: var(--hms-text);
    text-decoration: none;
    font-weight: 600;
}

.admin-cell-primary a:not(.btn):hover {
    color: var(--hms-text);
    text-decoration: underline;
}

/* Dashboard table list links — black text (admin, customer, host) */
.admin-shell .admin-data-table tbody td a:not(.btn):not(.dropdown-item),
.admin-shell .admin-list-card tbody td a:not(.btn):not(.dropdown-item),
.customer-shell .admin-data-table tbody td a:not(.btn):not(.dropdown-item),
.customer-shell .customer-bookings-table tbody td a:not(.btn):not(.dropdown-item),
.customer-shell table.table tbody td a:not(.btn):not(.dropdown-item) {
    color: var(--hms-text);
    text-decoration: none;
    font-weight: 600;
}

.admin-shell .admin-data-table tbody td a:not(.btn):not(.dropdown-item):hover,
.admin-shell .admin-list-card tbody td a:not(.btn):not(.dropdown-item):hover,
.customer-shell .admin-data-table tbody td a:not(.btn):not(.dropdown-item):hover,
.customer-shell .customer-bookings-table tbody td a:not(.btn):not(.dropdown-item):hover,
.customer-shell table.table tbody td a:not(.btn):not(.dropdown-item):hover {
    color: var(--hms-text);
    text-decoration: underline;
}

.admin-cell-money {
    text-align: right;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
    white-space: nowrap;
}


.admin-table-actions form {
    display: inline-flex;
    margin: 0;
}

.admin-main .admin-data-table .admin-table-actions .btn-sm {
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 8px;
    line-height: 1.2;
}

.admin-table-empty {
    padding: 2.25rem 1rem !important;
    text-align: center;
    color: var(--hms-text-muted);
    font-size: 0.92rem;
}

.admin-list-row-highlight > * {
    animation: admin-list-row-highlight-fade 2.5s ease-out forwards;
}

@keyframes admin-list-row-highlight-fade {
    0% {
        background-color: rgba(var(--bs-warning-rgb), 0.45) !important;
    }

    100% {
        background-color: transparent !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admin-list-row-highlight > * {
        animation-duration: 0.01ms;
    }
}

.admin-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: nowrap;
}

.admin-status-badge--success {
    background: #dcfce7;
    color: #166534;
}

.admin-status-badge--warning {
    background: #fef3c7;
    color: #92400e;
}

.admin-status-badge--danger {
    background: #fee2e2;
    color: #991b1b;
}

.admin-status-badge--info {
    background: var(--hms-tint-accent);
    color: #1e40af;
}

.admin-status-badge--neutral {
    background: #e2e8f0;
    color: #475569;
}

.admin-main .card > .card-header {
    background: var(--admin-table-head);
    border-bottom: 1px solid var(--admin-card-border);
    font-weight: 600;
    padding: 0.85rem 1rem;
    color: var(--hms-text);
}

.admin-main .form-control,
.admin-main .form-select,
.admin-main textarea {
    border-radius: 10px;
    border-color: var(--admin-border);
    min-height: 40px;
}

.admin-main .form-control:focus,
.admin-main .form-select:focus,
.admin-main textarea:focus {
    border-color: var(--hms-accent-light);
    box-shadow: 0 0 0 0.2rem var(--hms-focus-ring);
}

/* Admin panel buttons — brand CTA color (matches public site --hms-button) */
.admin-shell .btn-primary,
.admin-shell .btn-primary:hover,
.admin-shell .btn-primary:focus,
.admin-shell .btn-primary:active,
.admin-shell .btn-primary:disabled {
    color: var(--hms-on-accent) !important;
    background: var(--admin-button) !important;
    border-color: var(--admin-button) !important;
}

.admin-shell .btn-primary:hover,
.admin-shell .btn-primary:focus,
.admin-shell .btn-primary:active {
    background: var(--admin-button-dark) !important;
    border-color: var(--admin-button-dark) !important;
    box-shadow: 0 4px 14px var(--hms-button-glow);
}

.admin-shell .btn-outline-primary {
    color: var(--admin-button) !important;
    border-color: var(--admin-button) !important;
    background-color: var(--admin-surface);
}

.admin-shell .btn-outline-primary:hover,
.admin-shell .btn-outline-primary:focus,
.admin-shell .btn-outline-primary:active,
.admin-shell .btn-outline-primary.active,
.admin-shell .btn-outline-primary.show,
.admin-shell .btn-outline-primary:first-child:active {
    color: var(--hms-on-accent) !important;
    background: var(--admin-button) !important;
    border-color: var(--admin-button) !important;
    box-shadow: none;
}

.admin-shell .btn-outline-primary:hover i,
.admin-shell .btn-outline-primary:focus i,
.admin-shell .btn-outline-primary:active i {
    color: var(--hms-on-accent) !important;
}

.admin-shell .btn-outline-secondary {
    color: #475569 !important;
    border-color: #cad5e8;
    background-color: #ffffff;
}

.admin-shell .btn-outline-secondary:hover,
.admin-shell .btn-outline-secondary:focus,
.admin-shell .btn-outline-secondary:active,
.admin-shell .btn-outline-secondary.active {
    color: #ffffff !important;
    background-color: #64748b !important;
    border-color: #64748b !important;
}

.admin-shell .btn-outline-secondary:hover i,
.admin-shell .btn-outline-secondary:focus i,
.admin-shell .btn-outline-secondary:active i {
    color: #ffffff !important;
}

.admin-shell .btn-outline-success:hover,
.admin-shell .btn-outline-success:focus,
.admin-shell .btn-outline-success:active,
.admin-shell .btn-outline-danger:hover,
.admin-shell .btn-outline-danger:focus,
.admin-shell .btn-outline-danger:active,
.admin-shell .btn-outline-info:hover,
.admin-shell .btn-outline-info:focus,
.admin-shell .btn-outline-info:active {
    color: #ffffff !important;
}

.admin-main .badge {
    border-radius: 999px;
    padding: 0.35rem 0.55rem;
}

.admin-main .alert {
    border: 0;
    border-radius: 12px;
}

.interactive-form {
    background: var(--hms-tint-primary);
    border-radius: 14px;
    padding: 0.8rem;
}

.interactive-form-section {
    background: var(--hms-surface);
    border: 1px solid var(--admin-card-border);
    border-radius: 14px;
    padding: 0.9rem 1rem 1.05rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 4px 14px rgba(15, 35, 95, 0.05);
}

.interactive-form > .interactive-form-section:last-child {
    margin-bottom: 0;
}

.interactive-form-heading {
    margin: -0.9rem -1rem 0.9rem;
    padding: 0.72rem 1rem;
    border-bottom: 1px solid #edf2fb;
    border-left: 4px solid transparent;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(90deg, var(--hms-tint-accent) 0%, color-mix(in srgb, var(--hms-tint-accent) 65%, #fff) 100%);
    transition: background 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.interactive-form-heading h6 {
    font-weight: 700;
    color: var(--hms-primary);
}

.interactive-form-heading p {
    color: #51617c;
    font-size: 0.84rem;
}

.interactive-amenities-wrap {
    max-height: 240px;
    overflow-y: auto;
    border-color: var(--hms-border-brand-light) !important;
    background: var(--hms-tint-surface) !important;
}

.interactive-form-section:nth-of-type(1) .interactive-form-heading {
    background: linear-gradient(90deg, var(--hms-tint-accent) 0%, var(--hms-surface) 100%);
    border-left-color: var(--hms-accent);
}

.interactive-form-section:nth-of-type(2) .interactive-form-heading {
    background: linear-gradient(90deg, #e8fbf1 0%, #f4fff9 100%);
    border-left-color: #16a34a;
}

.interactive-form-section:nth-of-type(3) .interactive-form-heading {
    background: linear-gradient(90deg, #fff3dd 0%, #fffaf0 100%);
    border-left-color: #d97706;
}

.interactive-form-section:nth-of-type(4) .interactive-form-heading {
    background: linear-gradient(90deg, #f2ecff 0%, #faf7ff 100%);
    border-left-color: #7c3aed;
}

.interactive-form-section:hover .interactive-form-heading {
    transform: translateX(2px);
}

.interactive-form .form-control,
.interactive-form .form-select,
.interactive-form textarea {
    background: #fcfdff;
    border-color: #d7e0f1;
}

.interactive-form .form-control::placeholder,
.interactive-form textarea::placeholder {
    color: #99a6bd;
}

/* Customer dashboard */
.customer-dashboard-page .customer-page-title {
    color: var(--customer-page-title);
    font-weight: 700;
}

.customer-welcome-card {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--hms-tint-primary) 0%, #fff 55%, var(--hms-tint-accent) 100%);
}

.customer-stay-alert {
    border-radius: 14px;
    background: linear-gradient(135deg, var(--hms-tint-accent) 0%, var(--hms-tint-green) 100%);
    border-left: 4px solid var(--theme-primary) !important;
    margin-bottom: 0;
}

.customer-stay-alert__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    color: var(--theme-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(15, 35, 95, 0.08);
}

.customer-marketplace-card {
    border-radius: 16px;
    background: #fff;
}

.customer-menu-link-top {
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.customer-kpi-card {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 35, 95, 0.1);
    overflow: hidden;
    height: 100%;
}

.customer-kpi-card .card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
}

.customer-kpi-blue { background: linear-gradient(135deg, var(--hms-tint-primary) 0%, var(--hms-tint-accent) 100%); }
.customer-kpi-teal { background: linear-gradient(135deg, var(--hms-tint-accent) 0%, var(--hms-tint-accent-strong) 100%); }
.customer-kpi-orange { background: linear-gradient(135deg, var(--hms-tint-highlight) 0%, color-mix(in srgb, var(--theme-highlight) 20%, var(--theme-surface)) 100%); }
.customer-kpi-green { background: linear-gradient(135deg, var(--hms-tint-green) 0%, color-mix(in srgb, var(--hms-button) 22%, #fff) 100%); }
.customer-kpi-indigo { background: linear-gradient(135deg, var(--hms-tint-accent) 0%, var(--hms-tint-primary) 100%); }
.customer-kpi-rose { background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%); }

.customer-kpi-card .kpi-meta {
    color: var(--hms-text-muted);
}

.customer-kpi-card .kpi-value {
    color: var(--hms-text);
}

.customer-payment-card {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(15, 35, 95, 0.08);
    height: 100%;
}

.customer-payment-card .card-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
}

.customer-payment-booked {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.customer-payment-due {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.customer-payment-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    flex-shrink: 0;
}

.customer-payment-icon-slate {
    background: linear-gradient(135deg, #64748b, #334155);
}

.customer-payment-icon-amber {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.customer-bookings-panel {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 35, 95, 0.1);
    overflow: hidden;
}

.customer-bookings-panel .card-header {
    background: var(--customer-panel-header);
    color: var(--customer-panel-header-text, var(--hms-text));
    border: 0;
    border-bottom: 1px solid var(--customer-panel-header-border, var(--hms-border));
    padding: 1rem 1.25rem;
}

.customer-bookings-panel .card-header h2 {
    color: var(--customer-panel-header-text, var(--hms-text));
    font-weight: 600;
}

.customer-bookings-table thead th {
    background: #f1f5f9;
    color: #334155;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid #e2e8f0;
    padding: 0.85rem 1rem;
}

.customer-bookings-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.customer-bookings-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.customer-bookings-table tbody tr:hover {
    background-color: var(--hms-tint-accent);
}

.customer-bookings-table tbody td {
    padding: 0.95rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #e8edf5;
}

.customer-bookings-table .booking-id-cell {
    font-weight: 600;
    color: var(--hms-primary);
}

.customer-bookings-table .room-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ccfbf1;
    color: var(--hms-accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.65rem;
    flex-shrink: 0;
}

.customer-bookings-empty {
    background: #f8fafc;
}

/* Customer portal shell (sidebar layout) */
.customer-shell {
    display: flex;
    min-height: 100vh;
    background: var(--admin-bg);
}

.customer-sidebar {
    width: 260px;
    flex-shrink: 0;
    height: 100vh;
    max-height: 100vh;
    position: sticky;
    top: 0;
    align-self: flex-start;
    overflow: hidden;
    isolation: isolate;
    background: var(--customer-sidebar-bg);
    color: var(--dashboard-sidebar-text);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--dashboard-sidebar-border);
    box-shadow: 4px 0 24px rgba(var(--theme-accent-rgb), 0.18);
}

.customer-sidebar::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vmax;
    height: 100vmax;
    min-width: 100%;
    min-height: 100%;
    /* background-image: var(--hms-panel-bg-image); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%) rotate(var(--hms-sidebar-bg-rotation, 90deg));
    z-index: 0;
    pointer-events: none;
}

.customer-sidebar > * {
    position: relative;
    z-index: 1;
}

.customer-brand {
    border-color: rgba(255, 255, 255, 0.15) !important;
    flex-shrink: 0;
}

.customer-brand a {
    color: var(--dashboard-sidebar-text);
}

.customer-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.customer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 1.25rem;
    -webkit-overflow-scrolling: touch;
}

.customer-brand-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    padding: 2px;
    flex-shrink: 0;
}

.customer-brand-text {
    line-height: 1.2;
    min-width: 0;
}

.customer-brand-subtitle {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.1rem;
}

.customer-menu-group {
    margin-bottom: 0.35rem;
}

.customer-menu-group-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    border: 0;
    background: var(--dashboard-sidebar-subtle-bg);
    color: var(--dashboard-sidebar-text);
    text-decoration: none;
    padding: 0.58rem 0.7rem;
    border-radius: 0.65rem;
    margin-bottom: 0.15rem;
    transition: background 0.18s ease, color 0.18s ease;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.customer-menu-group-toggle:hover,
.customer-menu-group-toggle.is-open {
    background: var(--dashboard-sidebar-hover-bg);
    color: #fff;
}

.customer-menu-group-toggle.is-open {
    border-left-color: var(--admin-sidebar-active);
}

.customer-menu-group-icon {
    width: 1.2rem;
    margin-right: 0.45rem;
    font-size: 1rem;
    opacity: 0.95;
    flex-shrink: 0;
}

.customer-menu-group-label {
    flex: 1 1 auto;
    min-width: 0;
}

.customer-menu-group-toggle .customer-menu-chevron {
    font-size: 0.72rem;
    opacity: 0.85;
    transition: transform 0.22s ease;
    flex-shrink: 0;
}

.customer-menu-group-toggle.is-open .customer-menu-chevron {
    transform: rotate(180deg);
}

.customer-menu-group-items {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.24s ease;
}

.customer-menu-group-items.is-open {
    grid-template-rows: 1fr;
}

.customer-menu-group-items-inner {
    overflow: hidden;
    padding-left: 0.35rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    margin-left: 0.55rem;
    margin-bottom: 0.35rem;
}

.customer-menu-group-items.is-open .customer-menu-group-items-inner {
    padding-top: 0.15rem;
    padding-bottom: 0.1rem;
}

.customer-menu-group-items .customer-menu-link {
    font-size: 0.86rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.customer-menu-link-coming-soon {
    opacity: 0.82;
}

.customer-menu-link-coming-soon:hover {
    opacity: 1;
}

.customer-menu-link-coming-soon.active {
    opacity: 1;
}

.customer-menu-label {
    color: var(--dashboard-sidebar-text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
    padding-left: 0.5rem;
}

.customer-menu-section-label {
    color: var(--dashboard-sidebar-text-muted);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 0.65rem 0 0.35rem;
    padding: 0 0.5rem;
}

.customer-menu-group-items-inner > .customer-menu-section-label:first-child {
    margin-top: 0;
}

.customer-menu-link-website {
    opacity: 0.88;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 0.5rem;
    padding-top: 0.85rem;
}

.customer-menu-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.62rem 0.75rem;
    border-radius: 0.65rem;
    color: var(--dashboard-sidebar-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.customer-menu-link i {
    font-size: 1.05rem;
    opacity: 0.9;
}

.customer-menu-link:hover {
    background: var(--dashboard-sidebar-hover-bg);
    color: #fff;
}

.customer-menu-link.active {
    background: var(--dashboard-sidebar-active-bg);
    border-left: 3px solid var(--admin-sidebar-active);
    color: #fff;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.customer-menu-link-logout {
    background: transparent;
    cursor: pointer;
    margin-top: 0.25rem;
}

.customer-menu-link-logout:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #fecaca;
}

.customer-logout-form {
    margin: 0;
}

.customer-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.customer-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.95) !important;
}

.member-shell {
    align-items: stretch;
}

.member-shell .customer-sidebar {
    height: auto;
    max-height: none;
    position: relative;
    top: auto;
    align-self: stretch;
    min-height: 100vh;
}

.member-shell .customer-menu {
    overflow-y: visible;
    min-height: auto;
}

.member-shell .customer-main {
    flex: 1 1 auto;
    min-height: 100vh;
}

.member-portal-topbar {
    display: none;
}

.member-portal-hero {
    background: #fff;
    overflow: visible;
}

.member-portal-hero__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.member-portal-hero__copy {
    flex: 1 1 auto;
}

.member-portal-hero__actions {
    flex-shrink: 0;
}

.notifications-dropdown {
    position: relative;
}

.notifications-dropdown__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    min-height: 2.25rem;
}

.notifications-dropdown__menu {
    width: min(420px, 92vw);
    max-height: min(70vh, 24rem);
    overflow-y: auto;
    z-index: 1060;
    margin-top: 0.35rem;
}

.notifications-dropdown__title,
.notifications-dropdown__message {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.notifications-dropdown__time {
    white-space: nowrap;
}

.notifications-dropdown__item-actions .btn,
.notifications-dropdown__item-actions form {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    margin-top: 0;
}

.notifications-dropdown__menu .btn,
.notifications-dropdown__menu .btn-link {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    margin-top: 0;
}

.notifications-dropdown__badge {
    position: absolute;
    top: -0.3rem;
    right: -0.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.28rem;
    border-radius: 999px;
    background-color: #dc3545;
    border: 2px solid #fff;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    pointer-events: none;
}

.portal-menu-notification-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    margin-left: 0.5rem;
    border-radius: 999px;
    background-color: #dc3545;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.admin-menu-link.active .portal-menu-notification-badge,
.customer-menu-link.active .portal-menu-notification-badge {
    background-color: #fff;
    color: #dc3545;
}

.member-portal-hero__title {
    color: var(--hms-text, #0f172a);
}

.member-portal-hero__subtitle {
    display: block;
    line-height: 1.45;
}

.member-portal-hero__profile .dropdown-menu {
    z-index: 1060;
}

.member-portal-header {
    position: relative;
    z-index: 1040;
}

.member-portal-nav-toggler {
    display: none;
}

.member-portal-nav-toggler__close {
    display: none;
}

.member-portal-nav-toggler.is-nav-open .member-portal-nav-toggler__open,
.member-portal-nav-toggler[aria-expanded="true"] .member-portal-nav-toggler__open {
    display: none;
}

.member-portal-nav-toggler.is-nav-open .member-portal-nav-toggler__close,
.member-portal-nav-toggler[aria-expanded="true"] .member-portal-nav-toggler__close {
    display: inline-flex;
}

.brand-logo-orb--portal-topbar {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: #fff;
    color: var(--hms-accent, var(--hms-primary));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.member-portal-topbar__brand img.brand-logo-image,
.admin-portal-topbar__brand img.brand-logo-image {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
    filter: brightness(0) invert(1);
    padding: 2px;
    flex-shrink: 0;
}

.booking-nav-profile-toggle--show-name-mobile .booking-nav-profile-name {
    display: inline !important;
    max-width: 7.5rem;
}

@media (min-width: 768px) {
    .member-portal-hero__subtitle {
        max-width: 42rem;
    }

    .admin-portal-hero__subtitle {
        max-width: 42rem;
    }
}

@media (max-width: 767.98px) {

    .setup-choice-grid {
        grid-template-columns: 1fr;
    }

    .home-platform-card__actions {
        display: block;
    }

    .home-platform-card__actions .btn-primary,
    .home-platform-card__actions .btn-outline-primary,
    .home-listing-section--rent .home-listing-section__cta,
    .home-listing-section--sale .home-listing-section__cta {
        width: 100%;
    }

    .home-platform-card__actions .btn-outline-primary {
        margin-top: 0.8rem;
    }

    .direct-booking-banner__inner {
        grid-template-columns: 1fr;
        padding: 1.25rem 1.15rem;
    }

    .btn-outline-hms {
        width: 100%;
        margin-top: 0.5rem;
    }

    .brand-logo-image {
        width: 100px !important;
        height: auto !important;
    }

    .member-shell {
        display: block;
    }

    .member-portal-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.7rem 0.85rem;
        background: var(--customer-sidebar-bg, var(--dashboard-sidebar-bg, #111827));
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .member-portal-topbar__text {
        display: flex;
        flex-direction: column;
        min-width: 0;
        line-height: 1.2;
        display: none;
    }

    .member-portal-topbar__name {
        display: block;
        font-size: 0.92rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .member-portal-topbar__tagline {
        display: block;
        margin-top: 0.12rem;
        font-size: 0.62rem;
        font-weight: 500;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.62);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .member-portal-nav-toggler {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 2.65rem;
        height: 2.65rem;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 0.55rem;
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        line-height: 1;
        cursor: pointer;
        transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }

    .member-portal-nav-toggler:hover,
    .member-portal-nav-toggler:focus-visible {
        background: rgba(255, 255, 255, 0.16);
        border-color: rgba(255, 255, 255, 0.38);
        color: #fff;
        outline: none;
    }

    .member-portal-nav-toggler__open {
        font-size: 1.45rem;
    }

    .member-portal-nav-toggler__close {
        font-size: 1rem;
    }

    .member-portal-mobile-nav {
        background: var(--customer-sidebar-bg, var(--dashboard-sidebar-bg, #111827));
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
    }

    .member-portal-mobile-nav__menu {
        max-height: min(70vh, 32rem);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.75rem !important;
    }

    .member-portal-mobile-nav__menu .customer-menu-group {
        width: 100%;
    }

    .member-portal-mobile-nav__menu .customer-menu-group-toggle,
    .member-portal-mobile-nav__menu .customer-menu-link,
    .member-portal-mobile-nav__menu .customer-menu-link-logout {
        display: flex;
        width: 100%;
        box-sizing: border-box;
    }

    .member-portal-mobile-nav__menu .customer-logout-form {
        display: block;
        width: 100%;
    }

    .member-portal-mobile-nav__menu .customer-menu-group-items-inner {
        margin-left: 0;
        padding-left: 0.65rem;
    }

    .member-portal-hero__inner {
        align-items: flex-start;
        gap: 0.85rem;
    }

    .member-portal-hero__title {
        font-size: 1.05rem;
        line-height: 1.3;
    }

    .member-portal-hero__subtitle {
        font-size: 0.78rem;
    }

    .member-portal-hero__website-btn {
        display: none;
    }

    .member-portal-hero__actions {
        margin-left: 0;
        align-self: stretch !important;
        flex-direction: row;
        align-items: center !important;
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 100%;
    }

    .member-portal-hero__profile {
        flex-direction: row !important;
        align-items: center !important;
        width: auto;
    }

    .member-portal-hero__profile .nav-link,
    .member-portal-hero__profile .btn {
        display: inline-flex;
        width: auto;
        text-align: left;
    }

    .member-portal-hero__actions .notifications-dropdown {
        flex: 0 0 auto;
        align-self: flex-end;
    }

    .member-portal-hero__actions .notifications-dropdown__toggle {
        display: inline-flex !important;
        width: 2.5rem !important;
        height: 2.5rem !important;
        min-width: 2.5rem;
        min-height: 2.5rem;
        padding: 0;
        margin-top: 0 !important;
    }

    .admin-portal-hero__actions .notifications-dropdown {
        flex: 0 0 auto;
        align-self: flex-start;
        width: auto;
        max-width: 100%;
        margin-top: 0.5rem;
    }    

    .admin-portal-hero__actions .notifications-dropdown__toggle {
        display: inline-flex !important;
        width: 2.5rem !important;
        height: 2.5rem !important;
        min-width: 2.5rem;
        min-height: 2.5rem;
        padding: 0;
        margin-top: 0 !important;
    }

    .admin-portal-mobile-nav__menu .portal-menu-notification-badge,
    .member-portal-mobile-nav__menu .portal-menu-notification-badge {
        min-width: 1.45rem;
        height: 1.45rem;
        font-size: 0.72rem;
    }

    .member-portal-hero__profile .booking-nav-profile-name {
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--hms-text-muted, #64748b);
    }

    .member-shell .customer-main {
        width: 100%;
        min-height: 100vh;
    }

    .member-dashboard-page .admin-page-title {
        font-size: 1.2rem;
    }

    .member-dashboard-page .admin-page-subtitle {
        font-size: 0.85rem;
    }

    .member-dashboard-page .member-dashboard-context-link {
        display: block;
        width: 100%;
        margin-left: 0 !important;
        margin-top: 0.25rem;
    }

    .member-dashboard-page .customer-bookings-panel .card-header {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.5rem;
    }

    .member-dashboard-page .customer-bookings-panel .card-header .btn {
        display: block;
        width: 100%;
        align-self: stretch;
    }

    .member-dashboard-page .customer-bookings-panel .card-body.d-flex {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.65rem;
    }

    .member-dashboard-page .customer-bookings-panel .card-body.d-flex .btn {
        display: block;
        width: 100%;
    }

    .member-dashboard-page .member-dashboard-activity-link {
        display: block;
        width: 100%;
    }

    .member-dashboard-page .member-dashboard-activity-item {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .admin-shell {
        display: block;
    }

    .customer-brand-subtitle {
        font-size: 0.7rem !important;
    }

    .admin-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding: 0.35rem;
        justify-content: space-between;
    }

    .admin-tabs .nav-item {
        flex: 0 0 auto;
        min-width: 7.5rem;
    }

    .admin-tabs .nav-link {
        min-height: 4.25rem;
    }

    .admin-portal-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.7rem 0.85rem;
        background: var(--admin-sidebar-bg, var(--dashboard-sidebar-bg, #111827));
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }    

    .admin-portal-topbar__text {
        display: flex;
        flex-direction: column;
        min-width: 0;
        line-height: 1.2;
        display: none;
    }

    .admin-portal-topbar__name {
        display: block;
        font-size: 0.92rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .admin-portal-topbar__tagline {
        display: block;
        margin-top: 0.12rem;
        font-size: 0.62rem;
        font-weight: 500;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.62);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .admin-portal-nav-toggler {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 2.65rem;
        height: 2.65rem;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 0.55rem;
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        line-height: 1;
        cursor: pointer;
        transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }

    .admin-portal-nav-toggler:hover,
    .admin-portal-nav-toggler:focus-visible {
        background: rgba(255, 255, 255, 0.16);
        border-color: rgba(255, 255, 255, 0.38);
        color: #fff;
        outline: none;
    }

    .admin-portal-nav-toggler__open {
        font-size: 1.45rem;
    }

    .admin-portal-nav-toggler__close {
        font-size: 1rem;
    }

    .admin-portal-mobile-nav {
        background: var(--admin-sidebar-bg, var(--dashboard-sidebar-bg, #111827));
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
    }

    .admin-portal-mobile-nav__menu {
        max-height: min(70vh, 32rem);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.75rem !important;
    }

    .admin-portal-mobile-nav__menu .admin-menu-group {
        width: 100%;
    }

    .admin-portal-mobile-nav__menu .admin-menu-group-toggle,
    .admin-portal-mobile-nav__menu .admin-menu-link {
        display: flex;
        width: 100%;
        box-sizing: border-box;
    }

    .admin-portal-mobile-nav__menu .admin-menu-group-items-inner {
        margin-left: 0;
        padding-left: 0.65rem;
    }

    .admin-portal-hero__inner {
        align-items: flex-start;
        gap: 0.85rem;
    }

    .admin-portal-hero__title {
        font-size: 1.05rem;
        line-height: 1.3;
    }

    .admin-portal-hero__subtitle {
        font-size: 0.78rem;
    }

    .admin-portal-hero__website-btn {
        display: none;
    }

    .admin-portal-hero__actions {
        margin-left: auto;
        align-self: flex-end;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .admin-portal-hero__user {
        font-size: 0.82rem;
        font-weight: 600;
    }

    .admin-shell .admin-main {
        width: 100%;
        min-height: 100vh;
    }

    /* Portal mobile — full-width stacked links & buttons (admin + member main content) */
    .admin-shell .admin-main main .btn:not(.kpi-tooltip-btn):not(.btn-close):not(.dropdown-toggle):not([data-bs-toggle="dropdown"]),
    .member-shell .customer-main main .btn:not(.kpi-tooltip-btn):not(.btn-close):not(.dropdown-toggle):not([data-bs-toggle="dropdown"]),
    .admin-shell .admin-main main button[type="submit"]:not(.kpi-tooltip-btn):not(.btn-close),
    .member-shell .customer-main main button[type="submit"]:not(.kpi-tooltip-btn):not(.btn-close),
    .admin-portal-hero__actions > .btn:not(.notifications-dropdown__toggle),
    .admin-portal-hero__logout-form .btn {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-top: 5px;
    }

    .admin-shell .admin-main main a.btn,
    .member-shell .customer-main main a.btn,
    .admin-portal-hero__actions > a.btn {
        text-align: center;
    }

    .admin-portal-hero__logout-form {
        display: block;
        width: 100%;
    }

    .admin-portal-hero__actions {
        flex-direction: column;
        align-items: stretch !important;
        width: 100%;
        margin-left: 0;
        align-self: stretch !important;
    }

    .admin-shell .admin-main main a:not(.btn):not(.dropdown-item):not(.page-link):not(.sort-icon-link):not(.nav-link):not(.member-kpi-link):not(.customer-kpi-link):not([data-bs-toggle]),
    .member-shell .customer-main main a:not(.btn):not(.dropdown-item):not(.page-link):not(.sort-icon-link):not(.nav-link):not(.member-kpi-link):not(.customer-kpi-link):not([data-bs-toggle]) {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .admin-shell .admin-main main thead a,
    .member-shell .customer-main main thead a {
        display: inline;
        width: auto;
    }

    .admin-shell .admin-main main .d-flex:has(> .btn),
    .admin-shell .admin-main main .d-flex:has(> a.btn),
    .admin-shell .admin-main main .d-flex:has(> form .btn),
    .member-shell .customer-main main .d-flex:has(> .btn),
    .member-shell .customer-main main .d-flex:has(> a.btn),
    .member-shell .customer-main main .d-flex:has(> form .btn) {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .admin-shell .admin-main main .d-flex.justify-content-between,
    .admin-shell .admin-main main .d-flex.flex-wrap.justify-content-between,
    .member-shell .customer-main main .d-flex.justify-content-between,
    .member-shell .customer-main main .d-flex.flex-wrap.justify-content-between {
        flex-direction: column;
        align-items: stretch !important;
    }

    .admin-shell .admin-main main .card-header.d-flex,
    .member-shell .customer-main main .card-header.d-flex {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.5rem;
    }

    .admin-shell .admin-main main .btn-group,
    .member-shell .customer-main main .btn-group {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .admin-shell .admin-main main .btn-group > .btn,
    .member-shell .customer-main main .btn-group > .btn {
        border-radius: var(--bs-btn-border-radius) !important;
        margin-left: 0 !important;
    }

    

    .admin-shell .admin-main main .admin-table-actions form,
    .member-shell .customer-main main .admin-table-actions form {
        display: block;
        width: 100%;
    }

    .admin-shell .admin-main main .quick-link-pill,
    .member-shell .customer-main main .quick-link-pill {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .tw-copyright {
        justify-content: center;
        align-items: center;
    }

    .customer-laundry-status-track {
        flex-direction: column;
        align-items: stretch;
    }

    .customer-laundry-status-step {
        flex-direction: row;
        min-width: 0;
        text-align: left;
    }

    .customer-laundry-status-line {
        display: none;
    }

    .booking-topbar {
        display: none !important;
    }

    .booking-topbar__sep {
        display: none;
    }

    .booking-topbar__support {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .brand-logo-wrap {
        max-width: calc(100vw - 5.5rem);
    }

    .brand-logo-text strong {
        font-size: 0.95rem;
    }

    .hero-wrap {
        padding: 1.25rem 1rem;
        border-radius: 12px;
    }

    .hero-wrap .display-6,
    .home-hero--carousel .display-6 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .search-panel .form-control,
    .search-panel .form-select {
        min-height: 44px;
    }

    .property-gallery-carousel .carousel-control-prev,
    .property-gallery-carousel .carousel-control-next {
        width: 12%;
    }

    .room-gallery-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .room-calendar-room-col,
    .room-calendar-room-cell {
        width: 50px;
        min-width: 120px;
    }

    .room-calendar-date-col {
        min-width: 64px;
        width: 64px;
    }

    .room-calendar-scroll {
        max-height: none;
    }

    .tw-copyright__content {
        align-items: center; 
    }
}

/* Member portal main content — match admin property listings typography */
.member-shell .customer-main.admin-main > main > .d-flex h1,
.member-shell .customer-main.admin-main > main > .d-flex .h3 {
    font-weight: 700;
    color: var(--hms-text);
}

.member-shell .customer-main.admin-main > main .customer-bookings-panel {
    border: 1px solid var(--admin-table-head-border);
    box-shadow: 0 8px 24px rgba(15, 35, 95, 0.08);
}

.member-shell .customer-main.admin-main > main .customer-bookings-panel .table,
.member-shell .customer-main.admin-main > main .customer-bookings-table {
    margin-bottom: 0;
}

.member-shell .customer-main.admin-main > main .customer-bookings-panel .table > :not(caption) > * > *,
.member-shell .customer-main.admin-main > main .customer-bookings-table > :not(caption) > * > * {
    padding: 0.72rem 1rem;
    border-bottom: 1px solid var(--admin-table-row-border);
    vertical-align: middle;
    font-size: 0.9rem;
}

.member-shell .customer-main.admin-main > main .customer-bookings-panel .table thead th,
.member-shell .customer-main.admin-main > main .customer-bookings-table thead th {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--admin-table-head-text);
    background: var(--admin-table-head-bg);
    border-bottom: 2px solid var(--admin-table-head-border);
    white-space: nowrap;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.member-shell .customer-main.admin-main > main .customer-bookings-panel .table tbody tr:nth-child(even),
.member-shell .customer-main.admin-main > main .customer-bookings-table tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.85);
}

.member-shell .customer-main.admin-main > main .customer-bookings-panel .table tbody tr:hover,
.member-shell .customer-main.admin-main > main .customer-bookings-table tbody tr:hover {
    background: var(--hms-tint-primary) !important;
}

.member-shell .customer-main.admin-main > main .customer-bookings-panel .table tbody tr:last-child > *,
.member-shell .customer-main.admin-main > main .customer-bookings-table tbody tr:last-child > * {
    border-bottom: 0;
}

.member-shell .customer-main.admin-main > main .customer-bookings-panel .table .btn-sm,
.member-shell .customer-main.admin-main > main .customer-bookings-table .btn-sm {
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 8px;
    line-height: 1.2;
}

.member-dashboard-context-link {
    color: var(--hms-primary);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.member-dashboard-context-link:hover {
    color: var(--hms-button-dark);
    text-decoration: underline;
}

.member-kpi-link {
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.member-kpi-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 35, 95, 0.12);
}

.member-kpi-link:focus-visible {
    outline: 2px solid var(--hms-primary);
    outline-offset: 2px;
}

.member-dashboard-page .admin-page-title {
    color: var(--hms-text);
    font-weight: 700;
}

.member-dashboard-page .admin-page-subtitle {
    color: var(--hms-text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.member-dashboard-section-title {
    color: var(--hms-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.member-dashboard-page .member-kpi-link .kpi-meta {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--hms-text-muted);
}

.member-dashboard-page .member-kpi-link .kpi-value {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--hms-text);
}

.member-dashboard-page .customer-bookings-panel .card-header h2 {
    font-size: 0.95rem;
    font-weight: 600;
}

.member-dashboard-page .customer-bookings-panel .card-header .btn {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
}

.member-dashboard-page .customer-bookings-panel .list-group-item {
    padding: 0.95rem 1.25rem;
    border-color: var(--hms-border, #e2e8f0);
    transition: background-color 0.15s ease;
}

.member-dashboard-page .customer-bookings-panel .list-group-item:hover {
    background-color: var(--hms-tint-primary, #f8fafc);
}

.member-dashboard-activity-link {
    display: inline-block;
    color: var(--hms-primary);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.member-dashboard-activity-link:hover {
    color: var(--hms-button-dark);
    text-decoration: underline;
}

.member-dashboard-activity-meta {
    color: var(--hms-text-muted);
    font-size: 0.82rem;
    line-height: 1.4;
    margin-top: 0.2rem;
}

.member-dashboard-activity-badge {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.member-dashboard-empty-text {
    color: var(--hms-text-muted);
    font-size: 0.92rem;
}

.member-dashboard-page .alert {
    font-size: 0.92rem;
}

.member-dashboard-page .alert strong {
    font-weight: 700;
    color: var(--hms-text);
}

.member-dashboard-page .admin-kpi-card {
    background: #fff;
}

.member-inquiries-page .admin-kpi-card .kpi-meta,
.member-inquiries-page .admin-kpi-card .kpi-value {
    color: var(--hms-text);
}

.member-inquiries-page .admin-kpi-card .kpi-meta {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--hms-text-muted);
}

.member-inquiries-page .admin-kpi-card .kpi-value {
    font-size: 1.45rem;
    font-weight: 700;
}

.member-inquiries-page .customer-bookings-panel .card-body {
    background: #fff;
}

.member-inquiries-table tbody tr:hover .member-dashboard-activity-link {
    color: var(--hms-button-dark);
    text-decoration: underline;
}

.member-inquiries-table .member-dashboard-activity-link {
    cursor: inherit;
}

.member-dashboard-page .customer-bookings-panel .card-body strong {
    color: var(--hms-text);
    font-weight: 700;
}

.customer-panel-card {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 35, 95, 0.08);
}

/* Customer folio */
.customer-folio-active-card {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--hms-tint-primary) 0%, #fff 48%, var(--hms-tint-accent) 100%);
    border: 1px solid var(--hms-primary-alpha-12);
}

.customer-folio-recent-panel {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 35, 95, 0.08);
    border-radius: 14px;
    padding: 1rem 1.15rem;
}

.customer-folio-progress__bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(15, 35, 95, 0.08);
}

.customer-folio-progress__bar .progress-bar {
    border-radius: 999px;
}

.customer-folio-type-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 35, 95, 0.1);
    font-size: 0.78rem;
    color: var(--hms-text-muted);
}

.customer-folio-type-chip strong {
    color: var(--hms-text);
    font-weight: 600;
    margin-left: 0.15rem;
}

.customer-folio-charge-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.customer-folio-charge-row__main {
    display: flex;
    gap: 0.65rem;
    min-width: 0;
}

.customer-folio-charge-row__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--hms-tint-primary);
    color: var(--theme-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.customer-folio-history-card {
    background: #fff;
    border: 1px solid var(--hms-border, #e2e8f0);
    border-radius: 14px;
    padding: 1rem 1.15rem;
    height: 100%;
    box-shadow: 0 4px 16px rgba(15, 35, 95, 0.05);
}

.customer-folio-history-card__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.customer-folio-history-card__meta {
    padding: 0.75rem 0;
    border-top: 1px solid var(--hms-border, #e2e8f0);
    border-bottom: 1px solid var(--hms-border, #e2e8f0);
    margin-bottom: 0.85rem;
}

.customer-folio-history-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.customer-folio-empty__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--hms-tint-primary);
    color: var(--theme-primary);
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.customer-folio-empty__text {
    max-width: 28rem;
}

.customer-folio-summary-tile {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 35, 95, 0.07);
    background: #fff;
}

.customer-folio-summary-tile--paid {
    background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%);
}

.customer-folio-summary-tile--due {
    background: linear-gradient(135deg, #fff7ed 0%, #fff 100%);
}

.customer-folio-summary-tile--settled {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.customer-folio-charge-group {
    border-bottom: 1px solid var(--hms-border, #e2e8f0);
}

.customer-folio-charge-group:last-child {
    border-bottom: 0;
}

.customer-folio-charge-group__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    background: var(--hms-surface-alt, #f8fafc);
}

.customer-folio-charge-group__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff;
    color: var(--theme-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(15, 35, 95, 0.06);
}

.customer-folio-charge-group__items {
    padding: 0.35rem 1.15rem 0.85rem;
}

.customer-folio-charge-group__item {
    padding: 0.65rem 0;
    border-bottom: 1px dashed rgba(15, 35, 95, 0.08);
}

.customer-folio-charge-group__item:last-child {
    border-bottom: 0;
}

.customer-folio-balance-card {
    border-radius: 14px;
    background: linear-gradient(160deg, var(--hms-tint-accent) 0%, #fff 55%);
    border: 1px solid var(--hms-primary-alpha-12);
}

.customer-folio-balance-dl dt,
.customer-folio-balance-dl dd {
    font-size: 0.92rem;
}

.customer-folio-payment-list .list-group-item {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.customer-invoices-filter-card .card-body {
    padding: 1.15rem 1.25rem;
}

.customer-invoices-list-card .list-group-item {
    border-color: var(--hms-border, #e2e8f0);
}

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

.customer-invoice-row__main {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    flex: 1 1 280px;
    min-width: 0;
}

.customer-invoice-row__body {
    min-width: 0;
}

.customer-invoice-row__description {
    color: var(--hms-text-muted, #64748b);
    font-size: 0.92rem;
    margin-bottom: 0;
}

.customer-invoice-row__actions {
    flex: 0 0 auto;
}

.customer-invoice-row__amount {
    font-size: 1.05rem;
    color: var(--hms-text, #0f172a);
}

.customer-invoice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.customer-invoice-icon--folio {
    background: linear-gradient(135deg, var(--hms-tint-accent) 0%, var(--hms-tint-primary) 100%);
    color: #4338ca;
}

.customer-invoice-icon--payment {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #15803d;
}

.customer-invoice-icon--restaurant {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    color: #c2410c;
}

.customer-invoice-icon--shop {
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
    color: #0e7490;
}

.customer-invoices-empty {
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
}

.customer-inquiry-status {
    font-weight: 600;
}

.customer-inquiry-status--new {
    background: var(--hms-tint-accent);
    color: var(--hms-accent-dark);
}

.customer-inquiry-status--progress {
    background: #fef3c7;
    color: #b45309;
}

.customer-inquiry-status--replied {
    background: #dcfce7;
    color: #15803d;
}

.customer-inquiry-status--closed {
    background: #f1f5f9;
    color: #475569;
}

.customer-inquiry-status--spam,
.customer-inquiry-status--default {
    background: #f8fafc;
    color: #64748b;
}

.customer-saved-property-card .listing-result {
    border: 0;
}

.customer-laundry-order-card {
    background: var(--hms-surface-alt, #f8fafc);
    border: 1px solid var(--hms-border, #e2e8f0);
    border-radius: 12px;
    padding: 1rem 1.15rem;
}

.customer-laundry-status-track {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0;
}

.customer-laundry-status-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 72px;
    text-align: center;
}

.customer-laundry-status-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #fff;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
}

.customer-laundry-status-step.is-complete .customer-laundry-status-dot,
.customer-laundry-status-step.is-current .customer-laundry-status-dot {
    border-color: var(--hms-primary, var(--hms-accent-dark));
    background: var(--hms-primary, var(--hms-accent-dark));
    color: #fff;
}

.customer-laundry-status-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.2;
}

.customer-laundry-status-step.is-current .customer-laundry-status-label {
    color: var(--hms-primary, var(--hms-accent-dark));
}

.customer-laundry-status-line {
    flex: 1 1 12px;
    min-width: 12px;
    height: 2px;
    background: #cbd5e1;
    margin-bottom: 1.4rem;
}

.customer-laundry-status-line.is-complete {
    background: var(--hms-primary, var(--hms-accent-dark));
}

.customer-hk-type-option {
    display: block;
    cursor: pointer;
    margin: 0;
    height: 100%;
}

.customer-hk-type-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    height: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--hms-border, #e2e8f0);
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    position: relative;
}

.customer-hk-type-option:hover .customer-hk-type-card {
    border-color: color-mix(in srgb, var(--hms-primary, var(--hms-accent-dark)) 35%, #fff);
    background: color-mix(in srgb, var(--hms-tint-primary) 55%, #fff);
}

.customer-hk-type-option input:checked + .customer-hk-type-card {
    border-color: var(--hms-primary, var(--hms-accent-dark));
    background: var(--hms-tint-primary);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--hms-primary, var(--hms-accent-dark)) 25%, transparent);
}

.customer-hk-type-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    background: color-mix(in srgb, var(--hms-primary, var(--hms-accent-dark)) 12%, #fff);
    color: var(--hms-primary, var(--hms-accent-dark));
    font-size: 1.05rem;
}

.customer-hk-type-option input:checked + .customer-hk-type-card .customer-hk-type-icon {
    background: var(--hms-primary, var(--hms-accent-dark));
    color: #fff;
}

.customer-hk-type-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.customer-hk-type-name {
    font-weight: 600;
    color: var(--hms-text, #1e293b);
    line-height: 1.3;
}

.customer-hk-type-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.35;
}

.customer-hk-type-check {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-left: auto;
    border-radius: 999px;
    background: var(--hms-primary, var(--hms-accent-dark));
    color: #fff;
    font-size: 0.85rem;
}

.customer-hk-type-option input:checked + .customer-hk-type-card .customer-hk-type-check {
    display: inline-flex;
}

.customer-back-link {
    --bs-btn-color: var(--hms-text-muted, #64748b);
    --bs-btn-border-color: var(--hms-border, #e2e8f0);
    --bs-btn-hover-color: var(--hms-primary, var(--hms-accent-dark));
    --bs-btn-hover-bg: var(--hms-tint-primary);
    --bs-btn-hover-border-color: color-mix(in srgb, var(--hms-primary, var(--hms-accent-dark)) 35%, #fff);
    --bs-btn-active-bg: var(--hms-tint-primary);
    --bs-btn-active-border-color: var(--hms-primary, var(--hms-accent-dark));
    font-weight: 500;
}

.customer-profile-card {
    overflow: hidden;
}

.member-profile-photo-preview {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(15, 23, 42, 0.06);
    border: 2px solid rgba(15, 23, 42, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.member-profile-photo-preview__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-profile-photo-preview__placeholder {
    color: var(--hms-text-muted, #64748b);
    font-size: 2rem;
    line-height: 1;
}

.customer-profile-tabs {
    background: var(--customer-panel-header, var(--hms-surface));
    border-bottom: 1px solid var(--customer-panel-header-border, var(--hms-border));
    padding: 0 1rem;
}

.customer-profile-nav {
    border-bottom: 0;
    gap: 0.25rem;
    margin-bottom: -1px;
}

.customer-profile-nav .nav-link {
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    color: var(--hms-text-muted, #64748b);
    font-weight: 600;
    padding: 1rem 1.25rem;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.customer-profile-nav .nav-link:hover {
    background: rgba(15, 35, 95, 0.04);
    color: var(--hms-primary, var(--hms-accent-dark));
    isolation: isolate;
}

.customer-profile-nav .nav-link.active {
    background: transparent;
    border-bottom-color: var(--hms-primary, var(--hms-accent-dark));
    color: var(--hms-primary, var(--hms-accent-dark));
}

.customer-profile-tab-content {
    min-height: 280px;
}

.customer-preference-block {
    background: var(--hms-surface-alt, #f8fafc);
    border: 1px solid var(--hms-border, #e2e8f0);
    border-radius: 12px;
    padding: 1rem 1.15rem;
}

.customer-preference-block textarea {
    resize: vertical;
    min-height: 110px;
}

.customer-profile-form-actions {
    background: linear-gradient(to top, rgba(248, 250, 252, 0.85), transparent);
}

@media (max-width: 575.98px) {
    .customer-profile-tabs {
        padding: 0 0.5rem;
    }

    .customer-profile-nav .nav-link {
        font-size: 0.82rem;
        padding: 0.85rem 0.55rem;
    }

    .customer-profile-nav .nav-link i {
        display: none;
    }
}

.customer-stay-stat-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: var(--hms-surface-alt, #f8fafc);
    border: 1px solid var(--hms-border, #e2e8f0);
    border-radius: 12px;
    padding: 1rem;
    height: 100%;
}

.customer-stay-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.customer-stay-stat-icon-blue { background: var(--hms-primary-alpha-12); color: var(--hms-primary); }
.customer-stay-stat-icon-teal { background: var(--hms-button-alpha-12); color: var(--hms-flag-green); }
.customer-stay-stat-icon-amber { background: rgba(245, 158, 11, 0.14); color: #d97706; }
.customer-stay-stat-icon-green { background: rgba(22, 163, 74, 0.12); color: #16a34a; }

.customer-stay-stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--hms-text-muted, #64748b);
    font-weight: 600;
}

.customer-stay-stat-value {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.customer-stay-section {
    background: var(--hms-surface-alt, #f8fafc);
    border: 1px solid var(--hms-border, #e2e8f0);
    border-radius: 12px;
    padding: 1rem 1.15rem;
}

.customer-stay-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--hms-border, #e2e8f0);
}

.customer-stay-booking-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.customer-stay-booking-item {
    background: #fff;
    border: 1px solid var(--hms-border, #e2e8f0);
    border-radius: 10px;
    padding: 0.85rem 0.95rem;
}

.customer-stay-feedback-item {
    background: #fff;
    border: 1px solid var(--hms-border, #e2e8f0);
    border-radius: 10px;
    padding: 0.85rem 0.95rem;
    margin-bottom: 0.65rem;
}

.customer-stay-feedback-item:last-of-type {
    margin-bottom: 0;
}

.customer-stay-inline-form {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    padding-top: 0.75rem;
}

.customer-stay-rating {
    letter-spacing: 0.05rem;
}

.customer-document-block {
    background: var(--hms-surface-alt, #f8fafc);
    border: 1px solid var(--hms-border, #e2e8f0);
    border-radius: 12px;
    padding: 1.15rem;
}

.customer-document-block-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.customer-document-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.customer-document-icon-id {
    background: var(--hms-primary-alpha-12);
    color: var(--hms-primary);
}

.customer-document-icon-card {
    background: var(--hms-button-alpha-12);
    color: var(--hms-flag-green);
}

.customer-document-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 120px;
    border: 1px dashed var(--hms-border, #cbd5e1);
    border-radius: 10px;
    background: #fff;
    color: var(--hms-text-muted, #64748b);
    font-size: 0.9rem;
}

.customer-document-empty i {
    font-size: 1.75rem;
    opacity: 0.55;
}

.customer-document-preview {
    background: #fff;
    border: 1px solid var(--hms-border, #e2e8f0);
    border-radius: 10px;
    padding: 0.75rem;
}

.customer-document-preview-image {
    display: block;
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8fafc;
}

.customer-document-preview-file {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 80px;
    padding: 0.5rem;
}

.customer-guest-type-option {
    cursor: pointer;
    margin: 0;
}

.customer-guest-type-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.customer-guest-type-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    height: 100%;
    min-height: 130px;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 2px solid var(--hms-border, #e2e8f0);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.customer-guest-type-option:hover .customer-guest-type-card {
    border-color: var(--hms-primary-alpha-35);
    box-shadow: 0 4px 14px var(--hms-shadow-brand);
}

.customer-guest-type-option.is-selected .customer-guest-type-card {
    border-color: var(--hms-primary);
    background: var(--hms-primary-alpha-04);
    box-shadow: 0 4px 16px var(--hms-primary-alpha-12);
}

.customer-guest-type-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--hms-primary-alpha-10);
    color: var(--hms-primary);
    font-size: 1.1rem;
}

.customer-guest-type-label {
    font-weight: 700;
    color: var(--hms-text, #0f172a);
}

.customer-guest-type-desc {
    font-size: 0.82rem;
    color: var(--hms-text-muted, #64748b);
    line-height: 1.45;
}

.customer-consent-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--hms-border, #e2e8f0);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.customer-consent-card.is-active {
    border-color: var(--hms-primary-alpha-45);
    background: var(--hms-primary-alpha-04);
    box-shadow: 0 4px 14px var(--hms-primary-alpha-08);
}

.customer-consent-card .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0;
    min-height: 100%;
}

.customer-consent-card .form-check-input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.customer-consent-title {
    display: block;
    font-weight: 700;
    color: var(--hms-text, #0f172a);
    margin-bottom: 0.25rem;
}

.customer-consent-desc {
    font-size: 0.84rem;
    color: var(--hms-text-muted, #64748b);
    line-height: 1.45;
}

.booking-nav .btn-auth-logout {
    color: var(--hms-on-accent);
    border-color: rgba(255, 255, 255, 0.75);
    background: transparent;
    font-weight: 600;
}

.booking-nav .btn-auth-logout:hover {
    color: var(--hms-on-accent);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--hms-on-accent);
}

@media (max-width: 991px) {
    .customer-shell:not(.member-shell) {
        flex-direction: column;
    }

    .customer-shell:not(.member-shell) .customer-sidebar {
        width: 100%;
        min-height: auto;
    }

    .customer-shell:not(.member-shell) .customer-menu {
        flex: none;
        max-height: none;
        overflow: visible;
    }

    .customer-logout-form {
        width: 100%;
    }
}

/* ========== Rooms listing page ========== */
.rooms-listing-page .container {
    max-width: 1140px;
}

.rooms-listing-page .listing-search-bar {
    background: var(--hms-surface);
    border: 1px solid var(--hms-border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    overflow: hidden;
    box-shadow: 0 1px 2px var(--hms-shadow), 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.rooms-listing-page .listing-search-form {
    margin: 0;
}

.rooms-listing-page .listing-search-form .row {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
    margin-left: 0;
    margin-right: 0;
}

.rooms-listing-page .listing-search-bar:focus-within {
    border-color: var(--hms-accent);
    box-shadow: 0 0 0 3px var(--hms-focus-ring);
}

.rooms-listing-page .listing-search-form .form-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.rooms-listing-page .listing-search-form .form-control,
.rooms-listing-page .listing-search-form .form-select {
    font-size: 0.9rem;
    border-radius: 6px;
    border-color: #cbd5e1;
    min-height: 38px;
}

.rooms-listing-page .listing-search-form .btn[type="submit"] {
    min-height: 38px;
    height: 38px;
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rooms-listing-page .listing-page {
    align-items: flex-start;
}

.rooms-listing-page .listing-filters {
    background: #fff;
    border: 1px solid #d1d9e6;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(15, 35, 95, 0.06);
    position: sticky;
    top: 5.25rem;
    overflow: hidden;
}

.rooms-listing-page .listing-filters__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--hms-surface);
    color: var(--hms-text);
    border-bottom: 1px solid var(--hms-border);
}

.rooms-listing-page .listing-filters__title {
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.rooms-listing-page .listing-filters__clear {
    font-size: 0.75rem;
    color: var(--hms-accent);
    text-decoration: underline;
    font-weight: 600;
}

.rooms-listing-page .listing-filters__clear:hover {
    color: var(--hms-accent-dark);
}

.rooms-listing-page .listing-filters__body {
    max-height: calc(100vh - 7.5rem);
    overflow-y: auto;
}

.rooms-listing-page .listing-filter-group {
    border: 0;
    margin: 0;
    padding: 0.85rem 1rem 0.85rem 1.25rem;
    border-bottom: 1px solid #e8edf5;
}

.rooms-listing-page .listing-filter-group__title {
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--booking-blue);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    width: 100%;
}

.rooms-listing-page .listing-filter-group__hint {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #64748b;
    font-size: 0.68rem;
}

.rooms-listing-page .listing-filter-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.rooms-listing-page .listing-filter-input {
    font-size: 0.85rem;
    border-color: #cbd5e1;
    border-radius: 6px;
}

.rooms-listing-page .listing-filter-note {
    font-size: 0.72rem;
    color: #64748b;
    margin: 0.4rem 0 0;
    padding: 0.35rem 0.5rem;
    background: #f1f5f9;
    border-radius: 4px;
}

.rooms-listing-page .listing-filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-left: 0.35rem;
}

.rooms-listing-page .listing-filter-options--scroll {
    max-height: 130px;
    overflow-y: auto;
}

.rooms-listing-page .listing-filter-check.form-check {
    margin: 0;
    padding: 0.35rem 0.5rem 0.35rem 1.85rem;
    border-radius: 6px;
    min-height: 1.6rem;
}

.rooms-listing-page .listing-filter-check .form-check-input {
    margin-left: -1.5rem;
    margin-top: 0.15rem;
}

.rooms-listing-page .listing-filter-check:hover {
    background: #f1f5f9;
}

.rooms-listing-page .listing-filter-check .form-check-input:checked {
    background-color: var(--booking-accent);
    border-color: var(--booking-accent);
}

.rooms-listing-page .listing-filter-check .form-check-label {
    font-size: 0.82rem;
    cursor: pointer;
}

.rooms-listing-page .listing-filters__actions {
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-top: 1px solid #e8edf5;
}

.rooms-listing-page .listing-results {
    background: transparent;
}

.rooms-listing-page .listing-results__header {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.rooms-listing-page .listing-results__header h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--booking-blue);
}

.rooms-listing-page .listing-results__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rooms-listing-page .listing-result {
    background: #fff;
    border: 1px solid #d1d9e6;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rooms-listing-page .listing-result:hover {
    border-color: var(--hms-accent-light);
    box-shadow: 0 8px 24px var(--hms-glow);
    transform: translateY(-2px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rooms-listing-page .listing-result__inner {
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr) 168px;
    align-items: stretch;
}

.rooms-listing-page .listing-result__media {
    display: block;
    width: 220px;
    max-width: 220px;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: #e8edf5;
}

.rooms-listing-page .listing-result__image {
    width: 220px;
    height: 100%;
    min-height: 132px;
    max-height: 180px;
    object-fit: cover;
    display: block;
}

.rooms-listing-page .listing-result__content {
    padding: 0.75rem 1rem;
    border-left: 1px solid #eef2f7;
    min-width: 0;
}

.rooms-listing-page .listing-result__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.2rem;
}

.rooms-listing-page .listing-result__title a {
    color: var(--hms-accent-dark);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    line-height: 1.25;
}

.rooms-listing-page .listing-result__title a:hover {
    color: var(--hms-accent);
    text-decoration: underline;
}

.rooms-listing-page .listing-empty .alert-link {
    color: var(--hms-accent-dark);
    font-weight: 600;
}

.rooms-listing-page .listing-empty .alert-link:hover {
    color: var(--hms-highlight);
}

.rooms-listing-page .listing-result__score {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

.rooms-listing-page .listing-result__score-badge {
    background: var(--hms-accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.2rem 0.45rem;
    border-radius: 6px 6px 6px 0;
    line-height: 1.2;
}

.rooms-listing-page .listing-result__score-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
}

.rooms-listing-page .listing-result__score .room-stars .stars {
    color: #f59e0b;
    letter-spacing: 0.06rem;
    line-height: 1;
}

.rooms-listing-page .listing-result__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    margin-bottom: 0.35rem !important;
}

.rooms-listing-page .listing-result__amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.rooms-listing-page .listing-result__amenity {
    font-size: 0.7rem;
    background: #f1f5f9;
    color: #475569;
    border-radius: 4px;
    padding: 0.12rem 0.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.rooms-listing-page .listing-result__aside {
    padding: 0.75rem;
    background: #f8fafc;
    border-left: 1px solid #eef2f7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    text-align: right;
}

.rooms-listing-page .listing-result__price-amount {
    color: var(--booking-blue);
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.2;
}

.rooms-listing-page .listing-result__aside .btn {
    font-size: 0.8rem;
}

@media (min-width: 992px) {
    .rooms-listing-page .col-lg-3 {
        flex: 0 0 260px;
        max-width: 260px;
    }

    .rooms-listing-page .col-lg-9 {
        flex: 1 1 0;
        max-width: calc(100% - 260px);
    }
}

@media (max-width: 991.98px) {
    .rooms-listing-page .listing-filters {
        position: static;
    }

    .rooms-listing-page .listing-result__inner {
        grid-template-columns: 160px minmax(0, 1fr) !important;
        grid-template-rows: auto auto;
    }

    .rooms-listing-page .listing-result__media {
        width: 160px;
        max-width: 160px;
        grid-row: span 2;
    }

    .rooms-listing-page .listing-result__image {
        width: 160px;
        min-height: 120px;
        max-height: 140px;
    }

    .rooms-listing-page .listing-result__aside {
        grid-column: 2;
        border-left: 0;
        border-top: 1px solid #eef2f7;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        text-align: left;
        gap: 0.5rem;
    }

    .rooms-listing-page .listing-result__aside .btn {
        width: auto !important;
        flex: 1;
    }
}

@media (max-width: 575.98px) {
    .rooms-listing-page .listing-result__inner {
        grid-template-columns: 1fr !important;
    }

    .rooms-listing-page .listing-result__media,
    .rooms-listing-page .listing-result__image {
        width: 100%;
        max-width: 100%;
        max-height: 140px;
    }

    .rooms-listing-page .listing-result__content {
        border-left: 0;
        border-top: 1px solid #eef2f7;
    }

    .rooms-listing-page .listing-result__aside {
        grid-column: 1;
    }
}

/* Booking checkout (Booking.com-inspired) */
.checkout-breadcrumb {
    color: #6b7280;
}

.checkout-breadcrumb a {
    color: var(--booking-accent);
    text-decoration: none;
}

.checkout-breadcrumb a:hover {
    text-decoration: underline;
}

.checkout-breadcrumb__sep {
    margin: 0 0.35rem;
    color: #9ca3af;
}

.checkout-breadcrumb__current {
    color: #374151;
    font-weight: 600;
}

.checkout-progress {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.checkout-progress__step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    font-size: 0.85rem;
}

.checkout-progress__step.is-done,
.checkout-progress__step.is-active {
    color: var(--booking-blue);
}

.checkout-progress__step.is-active .checkout-progress__label {
    font-weight: 700;
}

.checkout-progress__dot {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.checkout-progress__step.is-done .checkout-progress__dot {
    background: var(--booking-blue);
    border-color: var(--booking-blue);
    color: #fff;
}

.checkout-progress__step.is-active .checkout-progress__dot {
    background: #fff;
    border-color: var(--booking-accent);
    color: var(--booking-accent);
}

.checkout-progress__line {
    flex: 1 1 2rem;
    min-width: 1.5rem;
    max-width: 4rem;
    height: 2px;
    background: #e5e7eb;
    margin: 0 0.5rem;
}

.checkout-progress__line.is-done {
    background: var(--booking-blue);
}

.checkout-account-banner__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #e8f2ff;
    color: var(--booking-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.checkout-guest-label {
    border-left: 3px solid var(--booking-accent);
    padding-left: 0.75rem;
}

.checkout-section-title {
    color: var(--booking-blue);
}

.checkout-summary__thumb {
    object-fit: cover;
    flex-shrink: 0;
}

.checkout-summary__title {
    font-size: 0.95rem;
    line-height: 1.3;
}

.checkout-summary__total {
    color: var(--booking-blue);
}

@media (max-width: 575px) {
    .checkout-progress__label {
        display: none;
    }

    .checkout-progress__line {
        max-width: 2rem;
    }
}

/* ========== Frontend responsive ========== */
.min-h-44 {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
}

body.booking-body {
    overflow-x: hidden;
}

@media (max-width: 991.98px) {
    .booking-header {
        margin-bottom: 1rem !important;
    }

    .booking-main-links {
        padding-bottom: 0.5rem;
        width: 100%;
    }

    .booking-nav .navbar-collapse .navbar-nav {
        width: 100%;
    }

    .booking-nav .navbar-collapse .booking-main-links .nav-item {
        width: 100%;
    }

    .booking-nav .navbar-collapse .booking-main-links .nav-link {
        display: flex;
        width: 100%;
        box-sizing: border-box;
    }

    .booking-nav .navbar-collapse .dropdown-menu {
        position: static !important;
        float: none;
        transform: none !important;
        width: 100%;
        margin: 0.2rem 0 0.35rem;
        border: 0;
        border-radius: 0.65rem;
        background: rgba(0, 0, 0, 0.14);
        box-shadow: none;
        padding: 0.25rem;
    }

    .checkout-progress {
        justify-content: center;
        align-items: center;
    }

    .booking-nav .booking-nav-dropdown .dropdown-header {
        color: white;
    }

    .booking-nav .navbar-collapse .dropdown-item {
        display: block;
        width: 100%;
        box-sizing: border-box;
        color: white;
    }

    .booking-nav .booking-nav-dropdown .dropdown-item:hover {
        color: black;
    }

    .booking-nav .navbar-collapse .navbar-nav.ms-lg-auto {
        width: 100%;
    }

    .booking-nav .navbar-collapse .navbar-nav.ms-lg-auto .nav-item,
    .booking-nav .navbar-collapse .navbar-nav.ms-lg-auto .btn {
        display: block;
        width: 100%;
    }

    .booking-nav .navbar-collapse .navbar-nav.ms-lg-auto .btn {
        text-align: center;
    }

    .booking-nav .navbar-collapse .navbar-nav.ms-lg-auto .booking-nav-profile-toggle {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .booking-nav .navbar-collapse .navbar-nav.ms-lg-auto form {
        width: 100%;
    }

    .rooms-carousel {
        padding: 0 1.5rem;
    }

    .footer-newsletter-wrap .container {
        text-align: center;
    }

    .footer-newsletter-form {
        max-width: 100%;
        flex-direction: column;
    }

    .footer-newsletter-form .btn {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .search-panel {
        border-radius: var(--hms-radius-md, 8px);
        padding: 0.65rem 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .booking-topbar__location,
    .booking-topbar__support {
        font-size: 0.75rem;
    }

    .brand-logo-text small {
        display: none;
    }

    .hero-wrap .display-6,
    .home-hero--carousel .display-6 {
        font-size: 1.25rem;
    }

    .search-panel__form {
        --bs-gutter-x: 0.5rem;
    }

    .rooms-carousel {
        padding: 0 0.25rem;
    }

    .rooms-carousel__control {
        width: 1.75rem;
    }

    .room-gallery-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rooms-listing-page .listing-search-form .row > [class*="col-"] {
        width: 100%;
    }

    .rooms-listing-page .listing-result__aside {
        flex-direction: column;
        align-items: stretch !important;
    }

    .rooms-listing-page .listing-result__aside .btn {
        width: 100% !important;
        flex: none;
    }
}

/* Setup wizard */
.setup-wizard-footer {
    margin-top: 2rem;
    border-top: 1px solid var(--hms-border);
    background: var(--hms-surface);
}

.platform-brand-logo--icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 10px;
    flex-shrink: 0;
}

.booking-nav .platform-brand-logo--icon {
    filter: none;
    background: transparent;
}

.platform-brand-logo--wordmark {
    width: auto;
    height: 42px;
    max-width: 160px;
    object-fit: contain;
}

.admin-brand-logo--platform {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
}

.admin-brand-label {
    font-size: 1rem;
    line-height: 1.2;
}

.tw-copyright__logo--platform {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 12px;
}

.setup-wizard-hero__logo--icon {
    max-width: 88px;
}

.setup-wizard-hero__icon--logo {
    width: auto;
    max-width: 88px;
    height: auto;
    min-height: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.setup-wizard-hero__logo {
    display: block;
    width: 100%;
    max-width: 88px;
    height: auto;
    margin: 0 auto;
}

.setup-wizard-page {
    background: radial-gradient(circle at top right, var(--hms-tint-accent) 0%, var(--hms-bg) 45%, var(--hms-tint-primary) 100%);
    min-height: 100vh;
    color: var(--hms-text);
}

.setup-wizard-wrap {
    max-width: 940px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.setup-wizard-hero {
    text-align: center;
    margin-bottom: 1.75rem;
}

.setup-wizard-hero__icon {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--hms-accent), var(--hms-primary));
    color: var(--hms-on-accent);
    box-shadow: 0 12px 28px rgba(var(--theme-accent-rgb), 0.28);
    font-size: 1.65rem;
    margin-bottom: 1rem;
}

.setup-wizard-hero h1 {
    font-weight: 800;
    color: var(--hms-primary);
    margin-bottom: 0.5rem;
}

.setup-wizard-hero p {
    color: var(--hms-text-muted);
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

.setup-wizard-card {
    border: 1px solid var(--hms-border);
    border-radius: 1.15rem;
    box-shadow: 0 18px 42px rgba(15, 35, 95, 0.1);
    background: var(--hms-surface);
    overflow: hidden;
}

.setup-wizard-card .interactive-form {
    background: transparent;
    border-radius: 0;
    padding: 1.25rem 1.35rem 1.35rem;
}

.setup-wizard-card__intro {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 1.25rem 1.35rem 0;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--hms-border-brand-light);
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--hms-tint-surface) 0%, var(--hms-tint-primary) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.setup-wizard-card__intro-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--hms-accent), var(--hms-accent-dark));
    color: #fff;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(var(--theme-accent-rgb), 0.22);
}

.setup-wizard-card__intro-title {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hms-primary);
    line-height: 1.3;
}

.setup-wizard-card__intro-text {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 42rem;
}

.setup-wizard-alert {
    border-radius: 0.85rem;
    border: 0;
    box-shadow: 0 6px 18px rgba(15, 35, 95, 0.06);
}

.setup-demo-import {
    margin-bottom: 1.25rem;
}

.setup-choice-panel {
    margin-bottom: 1.25rem;
}

.setup-choice-panel__heading {
    margin-bottom: 1rem;
}

.setup-choice-panel__heading p {
    color: #64748b;
}

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

.setup-choice-card {
    height: 100%;
    margin-bottom: 0;
}

.setup-demo-import__icon--fresh {
    background: #0f766e;
}

.setup-demo-import__card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.35rem;
    border: 1px solid #cfe0ff;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, var(--hms-tint-accent) 0%, var(--hms-tint-accent) 100%);
    box-shadow: 0 12px 28px rgba(15, 35, 95, 0.08);
}

.setup-demo-import__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--hms-primary);
    color: #fff;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.setup-demo-import__body p,
.setup-demo-import__body li {
    color: #475569;
}

.setup-demo-import__list {
    padding-left: 1.1rem;
    margin-bottom: 0;
}

.setup-demo-import__divider {
    text-align: center;
    margin: 1rem 0 0.25rem;
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.setup-progress-panel {
    background: linear-gradient(180deg, var(--hms-tint-primary) 0%, var(--hms-surface) 100%);
    border: 1px solid #e4ebf8;
    border-radius: 1rem;
    padding: 1rem 1.15rem;
    margin-bottom: 1.35rem;
}

.setup-progress-panel .checkout-progress {
    justify-content: center;
}

.setup-progress-panel .checkout-progress__label {
    font-weight: 600;
}

.setup-step-panel {
    margin-bottom: 0;
    border-color: var(--hms-border-brand-light);
    box-shadow: 0 8px 22px rgba(15, 35, 95, 0.06);
}

.setup-step-heading {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.setup-step-heading__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    color: #fff;
    box-shadow: 0 6px 16px rgba(15, 35, 95, 0.12);
}

.setup-step-heading--branding .setup-step-heading__icon {
    background: linear-gradient(135deg, var(--hms-accent), var(--hms-accent-dark));
}

.setup-step-heading--contact .setup-step-heading__icon {
    background: linear-gradient(135deg, #16a34a, #059669);
}

.setup-step-heading--admin .setup-step-heading__icon {
    background: linear-gradient(135deg, #d97706, #ea580c);
}

.setup-step-heading--branding {
    background: linear-gradient(90deg, var(--hms-tint-accent) 0%, var(--hms-surface) 100%);
    border-left-color: var(--hms-accent);
}

.setup-step-heading--contact {
    background: linear-gradient(90deg, #e8fbf1 0%, #f4fff9 100%);
    border-left-color: #16a34a;
}

.setup-step-heading--admin {
    background: linear-gradient(90deg, #fff3dd 0%, #fffaf0 100%);
    border-left-color: #d97706;
}

.setup-step {
    display: none;
    animation: setupWizardFadeIn 0.28s ease;
}

.setup-step.is-active {
    display: block;
}

@keyframes setupWizardFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.setup-field-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
}

.setup-input-wrap {
    position: relative;
}

.setup-input-wrap .setup-input-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7b8ba6;
    pointer-events: none;
    font-size: 1rem;
    z-index: 2;
}

.setup-input-wrap .form-control,
.setup-input-wrap .form-select {
    padding-left: 2.45rem;
    border-radius: 0.75rem;
    border-color: #d7e0f1;
    background: #fcfdff;
    min-height: 2.65rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.setup-input-wrap textarea.form-control {
    padding-top: 0.7rem;
    min-height: auto;
}

.setup-input-wrap .form-control:focus,
.setup-input-wrap .form-select:focus,
.setup-wizard-card textarea.form-control:focus {
    border-color: var(--hms-accent);
    background: #fff;
    box-shadow: 0 0 0 0.2rem var(--hms-focus-ring);
}

.setup-input-wrap .form-control.is-invalid,
.setup-input-wrap .form-select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.12);
}

.setup-input-wrap--password .form-control {
    padding-right: 2.6rem;
}

.setup-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #7b8ba6;
    font-size: 1rem;
    padding: 0.2rem;
    cursor: pointer;
    z-index: 2;
}

.setup-password-toggle:hover {
    color: var(--hms-primary);
}

.setup-wizard-card textarea.form-control {
    border-radius: 0.75rem;
    border-color: #d7e0f1;
    background: #fcfdff;
}

.setup-wizard-card .form-text {
    color: #7b8ba6;
    font-size: 0.8rem;
}

.setup-wizard-card input:-webkit-autofill,
.setup-wizard-card textarea:-webkit-autofill,
.setup-wizard-card select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fcfdff inset;
    box-shadow: 0 0 0 1000px #fcfdff inset;
    -webkit-text-fill-color: #1e293b;
    caret-color: #1e293b;
    transition: background-color 99999s ease-out 0s;
}

.setup-wizard-card input.form-control,
.setup-wizard-card textarea.form-control,
.setup-wizard-card select.form-select {
    color: #1e293b;
}

.setup-wizard-card input.form-control::placeholder,
.setup-wizard-card textarea.form-control::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.setup-logo-field {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
}

.setup-upload-zone {
    position: relative;
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    cursor: pointer;
}

.setup-upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.setup-upload-zone__inner {
    border: 2px dashed var(--hms-border-brand);
    border-radius: 0.9rem;
    background: linear-gradient(180deg, var(--hms-tint-surface) 0%, var(--hms-tint-primary) 100%);
    padding: 1rem 0.85rem;
    min-height: 6.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.setup-upload-zone:hover .setup-upload-zone__inner,
.setup-upload-zone:focus-within .setup-upload-zone__inner {
    border-color: var(--hms-accent);
    background: var(--hms-tint-accent);
}

.setup-upload-zone__icon {
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 0.55rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f0ff;
    color: var(--hms-accent);
    font-size: 1.25rem;
}

.setup-upload-zone__title {
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.15rem;
}

.setup-upload-zone__hint {
    font-size: 0.8rem;
    color: #7b8ba6;
}

.room-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.room-gallery-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 7.5rem;
}

.room-gallery-item__img {
    width: 7.5rem;
    height: 5.625rem;
    object-fit: cover;
    border-radius: 0.65rem;
    border: 1px solid var(--hms-border-brand-light);
    background: var(--hms-tint-surface);
}

.room-gallery-item__caption,
.room-gallery-item__remove {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.2;
    word-break: break-word;
}

.room-gallery-item__remove {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0;
    cursor: pointer;
}

.room-gallery-item.is-marked-remove .room-gallery-item__img {
    opacity: 0.45;
    border-color: #f1aeb5;
}

.setup-logo-preview-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex: 0 0 5.5rem;
    width: 5.5rem;
    padding: 0.5rem;
    border: 1px solid var(--hms-border-brand-light);
    border-radius: 0.85rem;
    background: var(--hms-tint-surface);
}

.setup-logo-preview {
    max-height: 3.25rem;
    max-width: 100%;
    object-fit: contain;
    border-radius: 0.35rem;
}

.setup-logo-preview-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.setup-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.35rem;
    padding: 1rem 1.15rem;
    border-top: 1px solid #e8eef8;
    background: linear-gradient(180deg, var(--hms-tint-surface) 0%, var(--hms-tint-primary) 100%);
    border-radius: 0 0 1rem 1rem;
    margin-left: -1.35rem;
    margin-right: -1.35rem;
    margin-bottom: -1.35rem;
}

.setup-step-counter {
    font-size: 0.84rem;
    font-weight: 600;
    color: #64748b;
    background: #fff;
    border: 1px solid var(--hms-border-brand-light);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
}

.setup-btn-back {
    border-radius: 0.7rem;
    font-weight: 600;
    padding: 0.55rem 1.1rem;
    border-color: var(--hms-border-brand);
    color: #475569;
}

.setup-btn-back:hover {
    background: var(--hms-tint-accent);
    border-color: var(--hms-accent-light);
    color: var(--hms-primary);
}

.setup-btn-next,
.setup-btn-submit {
    border-radius: 0.7rem;
    font-weight: 600;
    padding: 0.58rem 1.35rem;
    border: 0;
    background: linear-gradient(135deg, var(--hms-button), var(--hms-button-dark));
    box-shadow: 0 8px 20px rgba(var(--theme-button-rgb), 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.setup-btn-next:hover,
.setup-btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(var(--theme-button-rgb), 0.34);
    background: linear-gradient(135deg, var(--hms-button), var(--hms-button-dark));
    color: #fff;
}

@media (max-width: 575.98px) {
    .setup-wizard-card .interactive-form {
        padding: 1rem;
    }

    .setup-nav {
        margin-left: -1rem;
        margin-right: -1rem;
        margin-bottom: -1rem;
        flex-wrap: wrap;
    }

    .setup-step-counter {
        order: -1;
        width: 100%;
        text-align: center;
    }

    .setup-progress-panel .checkout-progress__label {
        display: none;
    }
}

/* Admin settings — reuse setup wizard inside control panel */
.admin-settings-wrap {
    max-width: 920px;
}

.admin-settings-hero {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.admin-settings-hero .setup-wizard-hero__icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.admin-main .admin-settings-wrap .setup-wizard-card {
    border-color: var(--admin-table-head-border);
    box-shadow: 0 12px 32px rgba(15, 35, 95, 0.08);
}

.admin-main .admin-settings-wrap .setup-wizard-card .interactive-form {
    background: transparent;
}

.admin-main .alert-success,
.admin-main .alert-danger {
    border-radius: 0.85rem;
    border: 0;
    box-shadow: 0 6px 18px rgba(15, 35, 95, 0.06);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Room Calendar / Availability Grid
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.room-calendar-filters {
    background: var(--admin-surface);
    border: 1px solid var(--admin-card-border);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 4px 16px rgba(15, 35, 95, 0.06);
}

.room-calendar-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.room-calendar-legend {
    margin-bottom: 1rem;
    box-shadow: 0 4px 14px rgba(15, 35, 95, 0.05);
}

.room-calendar-legend .card-body {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.room-calendar-legend-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hms-text-muted);
    margin-right: 0.25rem;
}

.room-calendar-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--hms-text);
    white-space: nowrap;
}

.legend-swatch {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.legend-swatch--available {
    background: #fff;
    border-color: #d8e2f0;
}

.legend-swatch--pending {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.legend-swatch--confirmed {
    background: linear-gradient(135deg, var(--hms-tint-accent-strong), color-mix(in srgb, var(--hms-accent) 28%, #fff));
}

.legend-swatch--occupied {
    background: linear-gradient(135deg, var(--hms-accent), var(--hms-accent-dark));
}

.legend-swatch--maintenance {
    background: repeating-linear-gradient(-45deg, #fff7ed, #fff7ed 4px, #fed7aa 4px, #fed7aa 8px);
    border-color: #fb923c;
}

.legend-swatch--out-of-service {
    background: #f1f5f9;
    border: 1px dashed #94a3b8;
}

.legend-swatch--dirty {
    background: #fffbeb;
    border-color: #fcd34d;
}

.legend-swatch--cleaning {
    background: var(--hms-tint-accent);
    border-color: #93c5fd;
}

.legend-swatch--clean {
    background: #f0fdf4;
    border-color: #86efac;
}

.legend-swatch--inspected {
    background: var(--hms-tint-accent);
    border-color: var(--hms-accent-light);
}

.room-calendar-card {
    overflow: hidden;
    margin-top: 0;
    position: relative;
}

.room-calendar-card--busy .room-calendar-scroll {
    pointer-events: none;
    opacity: 0.55;
}

.room-calendar-busy-overlay {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);
}

.room-calendar-busy-overlay[hidden] {
    display: none !important;
}

.room-calendar-busy-spinner {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: var(--admin-surface);
    border: 1px solid var(--admin-card-border);
    box-shadow: 0 8px 24px rgba(15, 35, 95, 0.12);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hms-text);
}

.room-calendar-toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1080;
    max-width: min(360px, calc(100vw - 2rem));
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 10px 28px rgba(15, 35, 95, 0.16);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.room-calendar-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.room-calendar-toast--info {
    background: var(--hms-tint-accent-strong);
    color: var(--hms-accent-dark);
    border: 1px solid var(--hms-accent-light);
}

.room-calendar-toast--success {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.room-calendar-toast--error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.cal-booking--saving {
    opacity: 0.45;
    pointer-events: none;
}

.room-calendar-row--saving {
    outline: 2px solid var(--hms-accent);
    outline-offset: -2px;
}

.room-calendar-scroll {
    overflow-x: auto;
    overflow-y: auto;
    max-height: calc(100vh - var(--room-calendar-offset, 210px));
    min-height: 520px;
}

.room-calendar-grid {
    width: 100%;
    min-width: 1100px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.room-calendar-grid thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: var(--admin-table-head);
    border-bottom: 2px solid var(--admin-card-border);
    padding: 0.55rem 0.3rem;
    text-align: center;
    vertical-align: bottom;
    font-weight: 600;
    font-size: 0.75rem;
}

.room-calendar-room-col {
    position: sticky;
    left: 0;
    z-index: 5;
    width: 168px;
    min-width: 168px;
    text-align: left !important;
    padding-left: 0.85rem !important;
    box-shadow: 2px 0 8px rgba(15, 35, 95, 0.07);
}

.room-calendar-date-col {
    min-width: 84px;
    width: 84px;
}

.room-calendar-date-col.is-today {
    background: var(--hms-tint-accent-strong);
    color: var(--hms-accent-dark);
    box-shadow: inset 0 -3px 0 var(--hms-accent);
}

.room-calendar-date-col.is-weekend {
    background: color-mix(in srgb, var(--hms-bg) 55%, var(--admin-table-head));
}

.room-calendar-date-col.is-weekend .room-calendar-dow {
    color: var(--hms-accent-dark);
}

.room-calendar-dow {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    color: var(--hms-text-muted);
    letter-spacing: 0.03em;
}

.room-calendar-day {
    display: block;
    font-size: 1.05rem;
    line-height: 1.15;
    font-weight: 700;
}

.room-calendar-month {
    display: block;
    font-size: 0.65rem;
    color: var(--hms-text-muted);
}

.room-calendar-grid tbody tr:nth-child(even) .room-calendar-room-cell {
    background: color-mix(in srgb, var(--hms-bg) 35%, var(--admin-surface));
}

.room-calendar-grid tbody tr:nth-child(even) .cal-cell-available {
    background: color-mix(in srgb, var(--hms-bg) 50%, #fff);
}

.room-calendar-room-cell {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--admin-surface);
    border-right: 1px solid var(--admin-border);
    border-bottom: 1px solid #e8edf5;
    padding: 0.55rem 0.85rem;
    vertical-align: middle;
    box-shadow: 2px 0 6px rgba(15, 35, 95, 0.04);
}

.room-calendar-hotel-name {
    font-size: 0.68rem;
    line-height: 1.2;
    margin-bottom: 0.1rem;
    max-width: 7.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.room-calendar-room-number {
    font-weight: 700;
    color: var(--hms-text);
    font-size: 0.92rem;
    line-height: 1.25;
}

.room-calendar-room-meta {
    color: var(--hms-text-muted);
    font-size: 0.7rem;
    line-height: 1.3;
}

.room-calendar-hk-badge {
    display: inline-block;
    margin-top: 0.3rem;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.room-calendar-hk-badge--dirty { background: #fef3c7; color: #b45309; }
.room-calendar-hk-badge--cleaning { background: var(--hms-tint-accent); color: var(--hms-accent-dark); }
.room-calendar-hk-badge--clean { background: #dcfce7; color: #15803d; }
.room-calendar-hk-badge--inspected { background: color-mix(in srgb, var(--hms-accent) 18%, #fff); color: var(--hms-accent-dark); }

/* Housekeeping — blue icons only on module-specific elements (not global buttons) */
.admin-menu-link.hk-nav-link .bi:not(.admin-menu-chevron) {
    color: color-mix(in srgb, var(--hms-accent-light) 85%, #fff);
}

.admin-menu-link.hk-nav-link:hover .bi:not(.admin-menu-chevron),
.admin-menu-link.hk-nav-link.active .bi:not(.admin-menu-chevron) {
    color: #fff;
}

.hk-icon {
    color: var(--hms-accent);
}

.hk-module .kpi-icon {
    background: linear-gradient(135deg, var(--hms-button), var(--hms-button-dark));
    color: #fff;
}

.hk-module .hk-form-card .card-header {
    background: var(--admin-surface);
    border-bottom: 1px solid var(--admin-border);
    font-weight: 600;
    color: var(--hms-primary);
}

.hk-module .hk-form-card .card-body {
    padding: 1.25rem;
}

.hk-module .hk-form-card .form-label {
    font-weight: 500;
    color: var(--hms-text);
}

.hk-task-card .card-header,
.hk-inspection-card .card-header {
    background: var(--admin-surface);
    border-bottom: 1px solid var(--admin-border);
}

.hk-task-card .card-footer,
.hk-inspection-card .card-footer {
    border-top: 1px solid var(--admin-border);
}

.hk-action-row .btn {
    min-height: 2.5rem;
}

@media (max-width: 575.98px) {
    .hk-task-card .card-body,
    .hk-task-card .card-header,
    .hk-task-card .card-footer,
    .hk-inspection-card .card-body,
    .hk-inspection-card .card-header,
    .hk-inspection-card .card-footer {
        padding: 0.85rem 1rem;
    }
}

.room-calendar-cell {
    border-bottom: 1px solid #e8edf5;
    border-right: 1px solid #eef2f8;
    padding: 3px;
    height: 58px;
    vertical-align: middle;
}

.room-calendar-cell--booking {
    padding: 3px;
}

.room-calendar-range {
    font-weight: 600;
    color: var(--hms-text);
    font-size: 0.92rem;
}

.cal-cell-available {
    background: #fff;
}

.cal-cell--dirty { background: #fffbeb !important; }
.cal-cell--cleaning { background: var(--hms-tint-accent) !important; }
.cal-cell--clean { background: #f0fdf4 !important; }
.cal-cell--inspected { background: var(--hms-tint-accent) !important; }

.cal-booking {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 7px;
    padding: 0.35rem 0.5rem;
    text-align: left;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    box-shadow: 0 1px 4px rgba(15, 35, 95, 0.08);
}

.cal-booking:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 35, 95, 0.14);
    z-index: 1;
}

.cal-booking--compact {
    padding: 0.3rem 0.35rem;
    justify-content: center;
}

.cal-booking--compact {
    position: relative;
}

.cal-booking--compact .cal-booking-guest {
    font-size: 0.68rem;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: normal;
    line-height: 1.15;
    padding-right: 0.35rem;
}

.cal-booking-payment-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.cal-booking-payment-dot--paid { background: #16a34a; }
.cal-booking-payment-dot--partial { background: #d97706; }
.cal-booking-payment-dot--unpaid { background: var(--hms-highlight); }

.cal-booking--pending {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-left: 3px solid #f59e0b;
}

.cal-booking--confirmed {
    background: linear-gradient(135deg, var(--hms-tint-accent-strong), color-mix(in srgb, var(--hms-accent) 28%, #fff));
    color: var(--hms-accent-dark);
    border-left: 3px solid var(--hms-accent);
}

.cal-booking--occupied {
    background: linear-gradient(135deg, var(--hms-accent), var(--hms-accent-dark));
    color: var(--hms-on-accent);
    border-left: 3px solid var(--hms-primary-dark);
}

.cal-booking--checked-out {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #475569;
    border-left: 3px solid #94a3b8;
}

.cal-booking--default {
    background: var(--hms-tint-primary);
    color: var(--hms-text);
    border-left: 3px solid var(--hms-border);
}

.cal-booking-guest {
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
    width: 100%;
}

.cal-booking-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    margin-top: 0.2rem;
    width: 100%;
}

.cal-booking-status {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cal-payment-icon {
    font-size: 0.75rem;
    flex-shrink: 0;
}

.cal-payment-icon--paid { color: #16a34a; }
.cal-payment-icon--partial { color: #d97706; }
.cal-payment-icon--unpaid { color: var(--hms-highlight); }

.cal-booking--occupied .cal-payment-icon--paid,
.cal-booking--occupied .cal-payment-icon--partial,
.cal-booking--occupied .cal-payment-icon--unpaid {
    color: rgba(255, 255, 255, 0.92);
}

.cal-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 50px;
    border-radius: 7px;
    padding: 0.35rem 0.5rem;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.cal-block-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

.cal-block-reason {
    font-size: 0.64rem;
    opacity: 0.85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.1rem;
}

.cal-block-ticket {
    font-size: 0.6rem;
    font-weight: 600;
    opacity: 0.75;
    margin-top: 0.1rem;
}

.room-calendar-row--drag-over .room-calendar-room-cell,
.room-calendar-row--drag-over .room-calendar-cell {
    background: var(--hms-tint-accent) !important;
    outline: 2px dashed var(--hms-accent);
    outline-offset: -2px;
}

.cal-booking--dragging {
    opacity: 0.55;
    cursor: grabbing;
}

.cal-booking[draggable="true"] {
    cursor: grab;
}

.cal-block--maintenance {
    background: repeating-linear-gradient(
        -45deg,
        #fff7ed,
        #fff7ed 6px,
        #fed7aa 6px,
        #fed7aa 12px
    );
    color: #c2410c;
    border: 1px dashed #fb923c;
}

.cal-block--owner {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #5b21b6;
}

.cal-block--staff {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: #0369a1;
}

.cal-block--out-of-service {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #64748b;
    border: 1px dashed #94a3b8;
}

.cal-block-remove {
    position: absolute;
    top: 3px;
    right: 5px;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.12s ease;
}

.cal-block:hover .cal-block-remove {
    opacity: 1;
}

.cal-block-remove .btn-link {
    color: inherit;
    opacity: 0.7;
    font-size: 0.7rem;
    text-decoration: none;
}

.cal-block-remove .btn-link:hover {
    opacity: 1;
}

/* Website room availability badges */
.room-availability-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.room-availability-badge--available {
    background: #dcfce7;
    color: #15803d;
}

.room-availability-badge--booked {
    background: #fef3c7;
    color: #b45309;
}

.room-availability-badge--occupied {
    background: color-mix(in srgb, var(--hms-accent) 18%, #fff);
    color: var(--hms-accent-dark);
}

.room-availability-badge--blocked {
    background: #f1f5f9;
    color: #64748b;
    border: 1px dashed #94a3b8;
}

.room-calendar-filters .form-label {
    font-size: 0.72rem;
    font-weight: 600;
}

/* Front desk arrivals / departures — room-grouped scrollable list */
.front-desk-guest-card {
    overflow: hidden;
    margin-top: 0;
}

.front-desk-guest-scroll {
    overflow: auto;
    max-height: calc(100vh - 320px);
}

.front-desk-guest-grid {
    width: 100%;
    min-width: 1040px;
    border-collapse: collapse;
    table-layout: fixed;
}

.front-desk-guest-grid thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: var(--admin-table-head-bg, var(--admin-table-head));
    color: var(--admin-table-head-text);
    border-bottom: 2px solid var(--admin-table-head-border, var(--admin-card-border));
    padding: 0.8rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    text-align: left;
    vertical-align: middle;
}

.front-desk-guest-grid thead th.text-end {
    text-align: right;
}

.front-desk-guest-grid tbody td {
    padding: 0.8rem 0.85rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--admin-table-row-border, #e8edf5);
    background: var(--admin-surface, #fff);
    font-size: 0.88rem;
}

.front-desk-room-col,
.front-desk-room-cell {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 168px;
    min-width: 168px;
    max-width: 168px;
    background: var(--admin-surface, #fff);
    border-right: 1px solid var(--admin-table-row-border, #e8edf5);
    box-shadow: 2px 0 6px rgba(15, 35, 95, 0.04);
    vertical-align: top;
    overflow: visible;
}

.front-desk-guest-grid thead th.front-desk-room-col {
    z-index: 5;
    left: 0;
}

.front-desk-guest-row--alt td {
    background: rgba(248, 250, 252, 0.9);
}

.front-desk-guest-row--alt .front-desk-room-cell {
    background: color-mix(in srgb, var(--hms-bg) 40%, var(--admin-surface, #fff));
}

.front-desk-guest-row:hover td:not(.front-desk-room-cell) {
    background: var(--hms-tint-primary);
}

.front-desk-guest-row:hover .front-desk-room-cell {
    background: color-mix(in srgb, var(--hms-tint-primary) 70%, var(--admin-surface, #fff));
}

.front-desk-guest-row--vacant .front-desk-guest-empty {
    color: var(--hms-text-muted);
    font-size: 0.88rem;
    font-style: italic;
    vertical-align: middle;
}

.front-desk-guest-cell {
    min-width: 140px;
}

.front-desk-guest-name {
    display: block;
    font-weight: 600;
    color: var(--hms-text);
    line-height: 1.35;
}

.front-desk-guest-phone {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.8rem;
    color: var(--hms-text-muted);
}

.front-desk-notes-cell {
    font-size: 0.82rem;
    color: var(--hms-text-muted);
}

.front-desk-actions-col {
    width: 240px;
    min-width: 240px;
}

.front-desk-actions-cell {
    text-align: right;
    vertical-align: middle;
    white-space: normal;
}

.front-desk-actions-toolbar {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    max-width: 100%;
}

.front-desk-actions-toolbar > form {
    display: inline-flex;
    margin: 0;
}

.front-desk-actions-toolbar .btn-sm {
    padding: 0.32rem 0.65rem;
    font-size: 0.76rem;
    font-weight: 600;
    border-radius: 8px;
    line-height: 1.2;
    white-space: nowrap;
}

/* Front desk — Update room menu (custom floating panel; avoids sticky-table Popper bugs) */
.front-desk-room-dropdown {
    position: relative;
    width: 100%;
}

.front-desk-room-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    width: 100%;
    padding: 0.32rem 0.65rem;
    font-size: 0.76rem;
    font-weight: 600;
    border-radius: 8px;
    line-height: 1.2;
    white-space: nowrap;
    background: var(--admin-surface, #fff);
    border-color: var(--admin-card-border, #d8dee9);
    color: var(--hms-text);
}

.front-desk-room-dropdown-toggle:hover,
.front-desk-room-dropdown-toggle:focus {
    background: var(--admin-surface, #fff);
    border-color: color-mix(in srgb, var(--bs-primary, var(--hms-accent)) 45%, var(--admin-card-border, #d8dee9));
    color: var(--hms-text);
}

.front-desk-room-dropdown.is-open .front-desk-room-dropdown-toggle {
    background: color-mix(in srgb, var(--bs-primary, var(--hms-accent)) 8%, var(--admin-surface, #fff));
    border-color: var(--bs-primary, var(--hms-accent));
    color: var(--bs-primary, var(--hms-accent));
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.12);
}

.front-desk-room-dropdown-caret {
    font-size: 0.7rem;
    opacity: 0.75;
    transition: transform 0.15s ease;
}

.front-desk-room-dropdown.is-open .front-desk-room-dropdown-caret {
    transform: rotate(180deg);
}

.front-desk-room-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0;
    min-width: 11.75rem;
    max-height: min(70vh, 22rem);
    overflow-y: auto;
    background: var(--admin-surface, #fff);
    border: 1px solid var(--admin-card-border, #e2e8f0);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 35, 95, 0.14);
}

.front-desk-room-dropdown-menu--floating {
    position: fixed;
    z-index: 1080;
}

.front-desk-room-dropdown-label {
    display: block;
    padding: 0.35rem 0.85rem 0.2rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--hms-text-muted);
}

.front-desk-room-dropdown-divider {
    height: 1px;
    margin: 0.35rem 0;
    background: var(--admin-card-border, #e8edf5);
}

.front-desk-room-dropdown-menu form {
    display: block;
    width: 100%;
    margin: 0;
}

.front-desk-room-dropdown-item {
    display: block;
    width: 100%;
    padding: 0.45rem 0.85rem;
    font-size: 0.84rem;
    font-weight: 500;
    text-align: left;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--hms-text);
}

.front-desk-room-dropdown-item:hover,
.front-desk-room-dropdown-item:focus {
    background-color: var(--hms-tint-primary, rgba(13, 110, 253, 0.08));
    color: var(--hms-text);
}

.front-desk-room-dropdown-item.is-active {
    background-color: var(--bs-primary, var(--hms-accent));
    color: #fff;
}

.front-desk-room-cell-actions .front-desk-room-dropdown {
    width: 100%;
}

.front-desk-actions-cell,
.front-desk-room-cell-actions {
    overflow: visible;
}

.front-desk-guest-grid tbody td {
    overflow: visible;
}

.front-desk-guest-grid .admin-cell-money {
    text-align: right;
}

/* Front desk — modern segmented section tabs */
.admin-tabs {
    --admin-tabs-track: color-mix(in srgb, var(--hms-text) 5%, var(--admin-surface, #fff));
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.4rem;
    margin-bottom: 1.5rem !important;
    list-style: none;
    background: var(--admin-tabs-track);
    border: 1px solid color-mix(in srgb, var(--admin-card-border, var(--hms-border)) 75%, transparent);
    border-radius: 18px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 10px 28px rgba(15, 35, 95, 0.06);
}

.admin-tabs .nav-item {
    flex: 1 1 11rem;
    margin-bottom: 0;
}

.admin-tabs .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    min-height: 3.1rem;
    padding: 0.55rem 0.95rem;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--hms-text-muted);
    background: transparent;
    border: 1px solid transparent !important;
    border-radius: 14px;
    margin-bottom: 0;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.admin-tabs__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 11px;
    background: color-mix(in srgb, var(--hms-accent) 7%, transparent);
    color: var(--hms-accent);
    font-size: 1.02rem;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-tabs__label {
    text-align: left;
    white-space: nowrap;
}

.admin-tabs .nav-link:hover,
.admin-tabs .nav-link:focus-visible {
    color: var(--hms-text);
    background: color-mix(in srgb, var(--admin-surface, #fff) 72%, transparent);
    border-color: color-mix(in srgb, var(--hms-accent) 12%, transparent) !important;
}

.admin-tabs .nav-link:hover .admin-tabs__icon,
.admin-tabs .nav-link:focus-visible .admin-tabs__icon {
    background: color-mix(in srgb, var(--hms-accent) 14%, transparent);
    color: var(--hms-accent-dark);
}

.admin-tabs .nav-link.active {
    color: var(--hms-text);
    background: var(--admin-surface, #fff);
    border-color: color-mix(in srgb, var(--hms-accent) 18%, var(--admin-card-border)) !important;
    box-shadow:
        0 1px 2px rgba(15, 35, 95, 0.05),
        0 8px 20px rgba(15, 35, 95, 0.08);
    transform: translateY(-1px);
}

.admin-tabs .nav-link.active .admin-tabs__icon {
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--hms-accent) 88%, #fff),
        color-mix(in srgb, var(--hms-accent-dark) 75%, #000)
    );
    color: var(--hms-on-accent);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--hms-accent) 35%, transparent);
}

.admin-tabs .nav-link.active .admin-tabs__label {
    color: var(--hms-accent-dark);
}

@media (max-width: 991.98px) {
    .admin-tabs .nav-link {
        flex-direction: column;
        gap: 0.4rem;
        min-height: 4.5rem;
        padding: 0.65rem 0.55rem;
    }

    .admin-tabs__label {
        font-size: 0.78rem;
        text-align: center;
        white-space: normal;
        line-height: 1.25;
    }
}

/* Front desk — Book Now guest type (matches segmented tabs) */
.front-desk-guest-type-card {
    border: 1px solid color-mix(in srgb, var(--admin-card-border, var(--hms-border)) 75%, transparent);
    box-shadow: 0 8px 22px rgba(15, 35, 95, 0.05);
}

.front-desk-guest-type-card .card-body {
    background: var(--admin-surface, #fff);
}

.front-desk-guest-type-heading {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--hms-text-muted);
}

.front-desk-guest-type {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.35rem;
    background: color-mix(in srgb, var(--hms-text) 5%, var(--admin-surface, #fff));
    border: 1px solid color-mix(in srgb, var(--admin-card-border, var(--hms-border)) 75%, transparent);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.front-desk-guest-type-option {
    margin: 0;
    cursor: pointer;
}

.front-desk-guest-type-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.front-desk-guest-type-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--hms-text-muted);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 11px;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.front-desk-guest-type-pill i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 8px;
    font-size: 0.92rem;
    color: var(--hms-accent);
    background: color-mix(in srgb, var(--hms-accent) 8%, transparent);
}

.front-desk-guest-type-option:hover .front-desk-guest-type-pill {
    color: var(--hms-text);
    background: color-mix(in srgb, var(--admin-surface, #fff) 70%, transparent);
}

.front-desk-guest-type-input:focus-visible + .front-desk-guest-type-pill {
    outline: 2px solid var(--hms-accent-light);
    outline-offset: 2px;
}

.front-desk-guest-type-input:checked + .front-desk-guest-type-pill {
    color: var(--hms-accent-dark);
    background: var(--admin-surface, #fff);
    border-color: color-mix(in srgb, var(--hms-accent) 18%, var(--admin-card-border));
    box-shadow: 0 4px 14px rgba(15, 35, 95, 0.08);
}

.front-desk-guest-type-input:checked + .front-desk-guest-type-pill i {
    color: var(--hms-on-accent);
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--hms-accent) 88%, #fff),
        color-mix(in srgb, var(--hms-accent-dark) 75%, #000)
    );
}

.front-desk-folio-table thead th {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--hms-text-muted);
    border-bottom-width: 1px;
}

.front-desk-folio-table tfoot th {
    font-size: 0.82rem;
    border-top: 1px solid var(--admin-card-border, #e8edf5);
}

@media (max-width: 991.98px) {
    .front-desk-guest-scroll {
        max-height: calc(100vh - 280px);
    }
}

/* Laundry order — per-piece garment lines table */
.laundry-piece-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.laundry-piece-picker .form-select {
    min-width: min(100%, 280px);
    flex: 1 1 220px;
}

.laundry-order-lines-table {
    font-size: 0.875rem;
}

.laundry-order-lines-table th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.laundry-order-qty-col {
    width: 4.5rem;
}

.laundry-order-actions-col {
    width: 7.5rem;
}

.laundry-order-qty {
    display: inline-block;
    min-width: 1.75rem;
    font-weight: 700;
}

.laundry-order-line-actions .btn {
    padding: 0.2rem 0.45rem;
}

.laundry-order-line-name .fw-semibold {
    color: var(--bs-body-color);
}

.laundry-piece-order-total {
    font-size: 0.95rem;
}

/* Shop receipt — print layout (hide admin chrome, commission, sidebar) */
@media print {
    @page {
        margin: 12mm;
    }

    body.booking-body {
        background: #fff !important;
    }

    .admin-sidebar,
    .admin-header,
    .admin-portal-header,
    .app-dashboard-footer,
    .admin-shell .alert,
    .shop-receipt-no-print,
    .hms-receipt-no-print,
    .d-print-none {
        display: none !important;
    }

    .admin-shell {
        display: block !important;
        min-height: auto !important;
    }

    .admin-main {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: none !important;
    }

    .admin-main > main.container-fluid {
        padding: 0 !important;
        max-width: none !important;
    }

    .shop-receipt-print,
    .hms-receipt-print {
        color: #000 !important;
        padding-bottom: 12mm;
    }

    .shop-receipt-print .row,
    .hms-receipt-print .row {
        display: block !important;
        margin: 0 !important;
    }

    .shop-receipt-print .col-lg-8,
    .shop-receipt-print .col-lg-4,
    .hms-receipt-print .col-lg-8,
    .hms-receipt-print .col-lg-4,
    .hms-receipt-print .col-lg-6 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .shop-receipt-print .card,
    .hms-receipt-print .card {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 1rem !important;
    }

    .shop-receipt-print .card-header,
    .hms-receipt-print .card-header {
        background: #f8f9fa !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .shop-receipt-print .table,
    .hms-receipt-print .table {
        font-size: 0.9rem;
    }

    .shop-receipt-supplier-note {
        display: none !important;
    }

    .shop-receipt-print-header,
    .hms-receipt-print-header {
        text-align: center;
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #333;
    }

    .shop-receipt-print-meta,
    .hms-receipt-print-meta {
        font-size: 0.9rem;
        margin-bottom: 1rem !important;
    }

    .kitchen-ticket-print .card {
        border: 2px dashed #333 !important;
        max-width: 100% !important;
    }

    .shop-receipt-print::after,
    .hms-receipt-print::after {
        content: "BMS powered by Technology Wisdom";
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 9pt;
        color: #444;
        padding: 3mm 0;
    }
}

/* Folio invoice — dedicated print document (A4, no admin chrome) */
.folio-print-body {
    background: #f4f6f8;
    color: #111;
}

.folio-invoice-print {
    max-width: 210mm;
    margin: 0 auto;
    padding: 1.25rem;
    background: #fff;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
}

.folio-invoice-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

.folio-invoice-header {
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #222;
}

.folio-invoice-logo {
    max-height: 48px;
    max-width: 180px;
    object-fit: contain;
}

.folio-invoice-hotel {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.folio-invoice-doc-type {
    font-weight: 600;
    font-size: 1rem;
}

.folio-invoice-meta,
.folio-invoice-label {
    font-size: 0.85rem;
    color: #555;
}

.folio-invoice-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.7rem;
}

.folio-invoice-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.folio-invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    table-layout: fixed;
}

.folio-invoice-table th,
.folio-invoice-table td {
    border: 1px solid #ccc;
    padding: 0.35rem 0.5rem;
    vertical-align: top;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.folio-invoice-table th {
    background: #f3f4f6;
    font-weight: 600;
}

.folio-invoice-table th:nth-child(1),
.folio-invoice-table td:nth-child(1) { width: 14%; }
.folio-invoice-table th:nth-child(2),
.folio-invoice-table td:nth-child(2) { width: 36%; }
.folio-invoice-table th:nth-child(3),
.folio-invoice-table td:nth-child(3) { width: 16%; }
.folio-invoice-table th:nth-child(4),
.folio-invoice-table td:nth-child(4) { width: 8%; }
.folio-invoice-table th:nth-child(5),
.folio-invoice-table td:nth-child(5) { width: 13%; }
.folio-invoice-table th:nth-child(6),
.folio-invoice-table td:nth-child(6) { width: 13%; }

.folio-invoice-table--compact th:nth-child(1),
.folio-invoice-table--compact td:nth-child(1) { width: 18%; }
.folio-invoice-table--compact th:nth-child(2),
.folio-invoice-table--compact td:nth-child(2) { width: 18%; }
.folio-invoice-table--compact th:nth-child(3),
.folio-invoice-table--compact td:nth-child(3) { width: 16%; }
.folio-invoice-table--compact th:nth-child(4),
.folio-invoice-table--compact td:nth-child(4) { width: 22%; }
.folio-invoice-table--compact th:nth-child(5),
.folio-invoice-table--compact td:nth-child(5) { width: 26%; }

.folio-invoice-section-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.folio-invoice-totals {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.folio-invoice-totals table {
    width: 280px;
    font-size: 0.9rem;
}

.folio-invoice-totals td {
    padding: 0.2rem 0;
}

.folio-invoice-totals-strong td {
    font-weight: 700;
    border-top: 2px solid #222;
    padding-top: 0.35rem;
}

.folio-invoice-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 320px;
    margin-left: auto;
    padding: 0.75rem 1rem;
    border: 2px solid #222;
    font-size: 1rem;
}

.folio-invoice-thanks {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #555;
}

.folio-invoice-footer {
    margin-top: 1.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #ccc;
    font-size: 0.75rem;
    color: #666;
}

@media print {
    @page {
        size: A4 portrait;
        margin: 12mm;
    }

    html,
    body.folio-print-body {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        overflow: visible !important;
    }

    .folio-invoice-print {
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .folio-invoice-no-print {
        display: none !important;
    }

    .folio-invoice-table {
        page-break-inside: auto;
    }

    .folio-invoice-table tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }

    .folio-invoice-footer {
        position: static;
    }
}

.bootstrap-icon-picker__preview {
    min-width: 2.75rem;
    justify-content: center;
    font-size: 1.15rem;
}

.bootstrap-icon-picker__input[readonly] {
    background-color: #fff;
    cursor: default;
}

.bootstrap-icon-picker__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
    gap: 0.5rem;
    max-height: 22rem;
    overflow-y: auto;
    padding: 0.15rem;
}

.bootstrap-icon-picker__icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 0.25rem;
    border: 1px solid var(--hms-border-brand-light);
    border-radius: 0.65rem;
    background: #fff;
    font-size: 1.35rem;
    color: #334155;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    min-height: 4.75rem;
}

.bootstrap-icon-picker__icon-btn:hover,
.bootstrap-icon-picker__icon-btn:focus {
    border-color: var(--hms-accent-light);
    background: var(--hms-tint-accent);
    color: var(--hms-accent-dark);
    box-shadow: 0 0 0 0.15rem var(--hms-focus-ring);
}

.bootstrap-icon-picker__icon-btn.is-selected {
    border-color: var(--hms-primary);
    background: var(--hms-tint-accent);
    color: var(--hms-accent-dark);
}

.bootstrap-icon-picker__icon-label {
    font-size: 0.65rem;
    color: #64748b;
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
    max-width: 100%;
    padding: 0 0.15rem;
}

.bootstrap-icon-picker-modal .modal-body {
    min-height: 12rem;
}

/* Company pages (About us, How we work) */
.company-page-hero {
    margin-bottom: 2rem;
}

.company-page-hero__lead {
    max-width: 42rem;
    color: var(--hms-text-muted);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.company-page-section {
    padding: 1.75rem 0;
    border-top: 1px solid var(--hms-border);
}

.company-page-section:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.company-page-section__title {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.company-page-section__text {
    color: var(--hms-text-muted);
    margin-bottom: 0.75rem;
}

.company-page-section__text:last-child {
    margin-bottom: 0;
}

.company-page-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.company-page-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--hms-accent);
    background: color-mix(in srgb, var(--hms-accent) 8%, white);
    border: 1px solid color-mix(in srgb, var(--hms-accent) 14%, white);
}

.company-page-focus-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .company-page-focus-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.company-page-focus-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.company-page-focus-list__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--hms-accent-light);
    color: #fff;
    flex-shrink: 0;
}

.company-page-focus-list__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.company-page-focus-list__text {
    font-size: 0.92rem;
    color: var(--hms-text-muted);
    margin-bottom: 0;
}

/* Workflow timeline (How we work) */
.workflow-block {
    margin-bottom: 2.5rem;
}

.workflow-block:last-child {
    margin-bottom: 0;
}

.workflow-block__heading {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.workflow-block__intro {
    color: var(--hms-text-muted);
    margin-bottom: 1.25rem;
}

.workflow-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.workflow-timeline::before {
    content: "";
    position: absolute;
    left: 1.15rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--hms-accent) 35%, #dbeafe),
        color-mix(in srgb, var(--hms-accent) 12%, #e2e8f0)
    );
}

.workflow-step {
    position: relative;
    display: flex;
    gap: 1rem;
    padding-left: 0;
    padding-bottom: 1.5rem;
}

.workflow-step:last-child {
    padding-bottom: 0;
}

.workflow-step__marker {
    position: relative;
    z-index: 1;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
    border: 2px solid color-mix(in srgb, var(--hms-accent) 28%, white);
    color: var(--hms-accent);
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(15, 35, 95, 0.06);
}

.workflow-step__body {
    flex: 1;
    min-width: 0;
    padding-top: 0.15rem;
}

.workflow-step__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.workflow-step__text {
    color: var(--hms-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}
