/* 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__sep {
    margin: 0 0.35rem;
    opacity: 0.6;
}

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

.booking-nav .booking-main-links .nav-link {
    font-weight: 500;
    padding: 0.5rem 0.75rem !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: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 .navbar-text {
    color: rgba(255, 255, 255, 0.88) !important;
}

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

.booking-nav .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.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: 0.15rem;
    padding-bottom: 0.15rem;
}

@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-wrap--with-image .brand-logo-image {
    width: auto;
    height: 40px;
    max-width: 120px;
    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--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);
}

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

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

.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;
    }
}

.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);
}

/* 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-accent);
    font-weight: 800;
}

.why-pms-card {
    background: var(--hms-surface);
    border: 1px solid var(--hms-border);
    border-radius: 12px;
    padding: 1.15rem 1.1rem 1.25rem;
    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-icon-bg);
    color: var(--hms-accent);
}

.why-pms-card__badge-icon {
    position: absolute;
    right: -0.2rem;
    bottom: -0.15rem;
    font-size: 0.95rem;
    background: #fff;
    border-radius: 50%;
    padding: 0.1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.why-pms-card__check {
    position: absolute;
    right: -0.25rem;
    bottom: -0.2rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: var(--hms-accent);
    color: #fff;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.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;
}

.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-button);
    color: var(--hms-on-accent);
    font-weight: 700;
}

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

.booking-nav .btn-auth-signin:hover {
    background: var(--hms-button-dark);
    color: var(--hms-on-accent);
}

.booking-nav .btn-auth-register {
    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);
}

.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: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    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: #fff;
    color: var(--hms-primary);
    border: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.direct-booking-banner__btn-primary:hover,
.direct-booking-banner__btn-primary:focus {
    background: #f8fafc;
    color: var(--hms-primary);
    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;
}

@media (max-width: 767.98px) {
    .direct-booking-banner__inner {
        grid-template-columns: 1fr;
        padding: 1.25rem 1.15rem;
    }
}

.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: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.footer-brand .brand-logo-text strong {
    color: var(--hms-text);
}

.footer-brand .brand-logo-text small {
    color: var(--hms-text-muted);
    opacity: 1;
}

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

.footer-link {
    color: var(--hms-accent-dark);
    text-decoration: none;
    margin-bottom: 0.4rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--hms-highlight);
    text-decoration: underline;
}

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

.footer-social {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #d8e2f3;
    color: #335996;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.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: #0156d1;
}

.tw-copyright--site .tw-copyright__link:hover {
    color: #013f9a;
}

.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;
}

@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 rgba(255, 255, 255, 0.14);
    z-index: 1040;
    background: #013a8c;
    box-shadow: 4px 0 24px rgba(15, 35, 95, 0.12);
}

.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;
}

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

.admin-menu-label {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    padding-left: 0.35rem;
    font-weight: 700;
}

.admin-menu-link {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    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: rgba(255, 255, 255, 0.16);
    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: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateX(2px);
}

.admin-menu-link.active {
    background: rgba(255, 255, 255, 0.14);
    border-left-color: var(--hms-button);
    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-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 {
    position: sticky;
    top: 0;
    z-index: 1020;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid var(--admin-border) !important;
}

.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-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;
}

.kpi-icon-blue { background: linear-gradient(135deg, var(--hms-accent), var(--hms-accent-dark)); }
.kpi-icon-teal { background: linear-gradient(135deg, var(--hms-accent-light), var(--hms-accent-dark)); }
.kpi-icon-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.kpi-icon-green { background: linear-gradient(135deg, #22c55e, #15803d); }
.kpi-icon-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.kpi-icon-red { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.kpi-icon-slate { background: linear-gradient(135deg, #64748b, #334155); }

.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);
}

.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 {
    margin-bottom: 1.25rem !important;
}

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

.admin-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-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-money {
    text-align: right;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
    white-space: nowrap;
}

.admin-table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.admin-table-actions.text-end {
    justify-content: flex-end;
}

.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-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: #dbeafe;
    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-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, #eef4ff 0%, #f7f9ff 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: #d6dfef !important;
    background: #f8fbff !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-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, #f0fdf4 0%, #dcfce7 100%); }
.customer-kpi-indigo { background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 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: #eff6ff;
}

.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;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #013a8c;
    color: #e8f0ff;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 4px 0 24px rgba(15, 35, 95, 0.12);
}

.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;
}

.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;
}

.customer-menu-label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
    padding-left: 0.5rem;
}

.customer-menu-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.62rem 0.75rem;
    border-radius: 0.65rem;
    color: rgba(255, 255, 255, 0.92);
    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: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.customer-menu-link.active {
    background: rgba(255, 255, 255, 0.14);
    border-left: 3px solid var(--hms-button);
    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;
}

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

.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 {
        flex-direction: column;
    }

    .customer-sidebar {
        width: 100%;
        min-height: auto;
    }

    .customer-menu {
        flex-direction: row;
        flex-wrap: wrap;
        padding-bottom: 1rem !important;
    }

    .customer-menu-label {
        width: 100%;
    }

    .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-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;
    }
}

@media (max-width: 991px) {
    .admin-shell {
        display: block;
    }

    .admin-sidebar {
        width: 100%;
        min-height: auto;
    }

    .admin-menu {
        flex: none;
    }

    .admin-header {
        position: static;
    }
}

/* 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 {
    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;
    }

    .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 {
        width: 100%;
    }

    .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: 767.98px) {
    .booking-topbar {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .search-panel {
        border-radius: var(--hms-radius-md, 8px);
        padding: 0.65rem 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .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 {
        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));
    }
}

@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 {
        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-page {
    background: radial-gradient(circle at top right, #dbeafe 0%, #f8fafc 45%, #eef2ff 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-alert {
    border-radius: 0.85rem;
    border: 0;
    box-shadow: 0 6px 18px rgba(15, 35, 95, 0.06);
}

.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: #dce6f8;
    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), #1d4ed8);
}

.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-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 #c9d7ef;
    border-radius: 0.9rem;
    background: linear-gradient(180deg, #f8fbff 0%, #f1f6ff 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: #eef4ff;
}

.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;
}

.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 #dce6f8;
    border-radius: 0.85rem;
    background: #f8fbff;
}

.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, #fafcff 0%, #f3f7ff 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 #dce6f8;
    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: #c9d7ef;
    color: #475569;
}

.setup-btn-back:hover {
    background: #eef4ff;
    border-color: #9eb8e8;
    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-accent), var(--hms-primary));
    box-shadow: 0 8px 20px rgba(var(--theme-accent-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-accent-rgb), 0.34);
    background: linear-gradient(135deg, var(--hms-accent), var(--hms-primary));
    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);
}
