/* ==========================================================================
   Grand Azure Resort & Spa - Booking.com-ish Design System
   CodeIgniter 3 + Bootstrap 5
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
    /* Primary palette (Booking.com inspired) */
    --bc-blue:       #003580;
    --bc-blue-dark:  #00224f;
    --bc-blue-light: #0071c2;
    --bc-blue-hover: #00487a;
    --bc-accent:     #febb02;
    --bc-accent-dark:#e5a800;
    --bc-success:    #008009;
    --bc-danger:     #d4111e;
    --bc-warning:    #ff8000;
    --bc-info:       #0077b6;

    /* Neutrals */
    --bc-white:      #ffffff;
    --bc-bg:         #f5f5f5;
    --bc-bg-warm:    #faf7f2;
    --bc-gray-50:    #fafafa;
    --bc-gray-100:   #f1f1f1;
    --bc-gray-200:   #e0e0e0;
    --bc-gray-300:   #bdbdbd;
    --bc-gray-400:   #9e9e9e;
    --bc-gray-500:   #757575;
    --bc-gray-600:   #616161;
    --bc-gray-700:   #424242;
    --bc-gray-800:   #333333;
    --bc-gray-900:   #1a1a2e;
    --bc-text:       #1a1a2e;
    --bc-text-muted: #6b6b6b;
    --bc-border:     #e0e0e0;

    /* Typography */
    --bc-font:       'BlinkMacSystemFont', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --bc-font-size:  14px;
    --bc-line-height:1.5;

    /* Spacing */
    --bc-space-xs:   4px;
    --bc-space-sm:   8px;
    --bc-space-md:   16px;
    --bc-space-lg:   24px;
    --bc-space-xl:   32px;
    --bc-space-2xl:  48px;

    /* Radius */
    --bc-radius-sm:  4px;
    --bc-radius-md:  8px;
    --bc-radius-lg:  12px;

    /* Shadows */
    --bc-shadow-sm:  0 1px 4px rgba(0,0,0,.08);
    --bc-shadow-md:  0 2px 8px rgba(0,0,0,.12);
    --bc-shadow-lg:  0 4px 16px rgba(0,0,0,.16);
    --bc-shadow-xl:  0 8px 28px rgba(0,0,0,.20);

    /* Transitions */
    --bc-transition: all .2s ease;

    /* Sidebar */
    --sidebar-width: 260px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

body {
    font-family: var(--bc-font);
    font-size: var(--bc-font-size);
    line-height: var(--bc-line-height);
    color: var(--bc-text);
    background: var(--bc-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--bc-blue-light); text-decoration: none; transition: var(--bc-transition); }
a:hover { color: var(--bc-blue); text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--bc-text);
    line-height: 1.3;
}
h1 { font-size: 28px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

.text-bc-blue { color: var(--bc-blue) !important; }
.text-bc-light { color: var(--bc-blue-light) !important; }
.text-bc-accent { color: var(--bc-accent) !important; }
.text-bc-success { color: var(--bc-success) !important; }
.text-bc-danger { color: var(--bc-danger) !important; }
.text-bc-muted { color: var(--bc-text-muted) !important; }
.bg-bc-blue { background-color: var(--bc-blue) !important; }
.bg-bc-accent { background-color: var(--bc-accent) !important; }
.bg-bc-bg { background-color: var(--bc-bg) !important; }

/* ====================================================================
   PUBLIC SITE - NAVBAR
   ==================================================================== */
.bc-navbar {
    background: var(--bc-blue);
    padding: 0;
    z-index: 1030;
}
.bc-navbar .navbar-brand {
    color: var(--bc-white) !important;
    font-weight: 700;
    font-size: 20px;
    padding: 12px 0;
    text-decoration: none;
}
.bc-navbar .navbar-brand:hover { opacity: .9; }
.bc-navbar .brand-sub {
    font-weight: 300;
    font-size: 11px;
    opacity: .75;
    display: block;
    margin-top: -2px;
}
.bc-navbar .nav-link {
    color: rgba(255,255,255,.85) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 16px 12px !important;
    border-bottom: 3px solid transparent;
    transition: var(--bc-transition);
    text-decoration: none;
}
.bc-navbar .nav-link:hover,
.bc-navbar .nav-link.active {
    color: var(--bc-white) !important;
    border-bottom-color: var(--bc-white);
}
.bc-navbar .navbar-toggler {
    border-color: rgba(255,255,255,.3);
    padding: 4px 8px;
}
.bc-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Offset for fixed navbar */
#main-content {
    padding-top: 60px;
}

/* Nav account area */
.bc-nav-account .btn-register {
    background: var(--bc-white);
    color: var(--bc-blue);
    border: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: var(--bc-radius-sm);
}
.bc-nav-account .btn-register:hover {
    background: var(--bc-bg);
}
.bc-nav-flag {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    object-fit: cover;
}

/* ====================================================================
   SEARCH BAR (Hero & Sticky)
   ==================================================================== */
.bc-search-bar {
    background: var(--bc-accent);
    padding: 16px 0;
    position: relative;
    z-index: 10;
}
.bc-search-bar .search-form {
    display: flex;
    gap: 4px;
    align-items: stretch;
}
.bc-search-field {
    flex: 1;
    min-width: 0;
    position: relative;
}
.bc-search-field label {
    display: none;
}
.bc-search-field .form-control,
.bc-search-field .bc-guests-trigger {
    height: 48px;
    border: 2px solid var(--bc-accent);
    border-radius: var(--bc-radius-sm);
    padding: 8px 12px 8px 40px;
    font-size: 14px;
    width: 100%;
    background: var(--bc-white);
    transition: var(--bc-transition);
}
.bc-search-field .form-control:focus {
    border-color: var(--bc-blue-light);
    box-shadow: 0 0 0 3px rgba(0,113,194,.15);
    outline: none;
}
.bc-search-field .field-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bc-gray-600);
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
}
.bc-search-btn {
    background: var(--bc-blue-light);
    color: var(--bc-white);
    border: none;
    padding: 0 24px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--bc-radius-sm);
    cursor: pointer;
    white-space: nowrap;
    height: 48px;
    transition: var(--bc-transition);
}
.bc-search-btn:hover {
    background: var(--bc-blue);
}

/* Guests dropdown */
.bc-guests-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-md);
    box-shadow: var(--bc-shadow-lg);
    padding: 16px;
    z-index: 100;
    display: none;
    min-width: 280px;
}
.bc-guests-dropdown.show { display: block; }
.bc-guests-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}
.bc-guests-row + .bc-guests-row {
    border-top: 1px solid var(--bc-gray-100);
}
.bc-guests-label {
    font-weight: 600;
    font-size: 14px;
}
.bc-guests-sublabel {
    font-size: 12px;
    color: var(--bc-text-muted);
}
.bc-stepper {
    display: flex;
    align-items: center;
    gap: 12px;
}
.bc-stepper-btn {
    width: 32px;
    height: 32px;
    border: 2px solid var(--bc-blue-light);
    border-radius: var(--bc-radius-sm);
    background: var(--bc-white);
    color: var(--bc-blue-light);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--bc-transition);
    padding: 0;
    line-height: 1;
}
.bc-stepper-btn:hover:not(:disabled) {
    background: var(--bc-blue-light);
    color: var(--bc-white);
}
.bc-stepper-btn:disabled {
    border-color: var(--bc-gray-200);
    color: var(--bc-gray-300);
    cursor: not-allowed;
}
.bc-stepper-value {
    font-weight: 700;
    font-size: 16px;
    min-width: 24px;
    text-align: center;
}
.bc-guests-done {
    width: 100%;
    margin-top: 12px;
    background: var(--bc-blue-light);
    color: var(--bc-white);
    border: none;
    padding: 10px;
    border-radius: var(--bc-radius-sm);
    font-weight: 600;
    cursor: pointer;
}
.bc-guests-done:hover { background: var(--bc-blue); }

/* ====================================================================
   HERO SECTION
   ==================================================================== */
.bc-hero {
    background: linear-gradient(to bottom, var(--bc-blue) 0%, var(--bc-blue) 55%, var(--bc-accent) 55%, var(--bc-accent) 100%);
    padding: 40px 0 0;
    color: var(--bc-white);
    min-height: 380px;
}
.bc-hero-content {
    padding-bottom: 32px;
}
.bc-hero h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--bc-white);
    margin-bottom: 8px;
    line-height: 1.2;
}
.bc-hero p {
    font-size: 16px;
    opacity: .9;
    max-width: 500px;
}

/* ====================================================================
   PAGE HEADER (inner pages)
   ==================================================================== */
.bc-page-header {
    background: var(--bc-blue);
    color: var(--bc-white);
    padding: 80px 0 24px;
}
.bc-page-header h1 {
    color: var(--bc-white);
    font-size: 28px;
    margin-bottom: 4px;
}
.bc-page-header .breadcrumb {
    margin-bottom: 0;
    font-size: 13px;
}
.bc-page-header .breadcrumb-item a { color: rgba(255,255,255,.7); text-decoration: none; }
.bc-page-header .breadcrumb-item a:hover { color: var(--bc-white); text-decoration: underline; }
.bc-page-header .breadcrumb-item.active { color: rgba(255,255,255,.5); }
.bc-page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ====================================================================
   ROOM CARD (List & Grid)
   ==================================================================== */
.bc-room-card {
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-md);
    overflow: hidden;
    transition: var(--bc-transition);
    display: flex;
    flex-direction: row;
    margin-bottom: 16px;
}
.bc-room-card:hover {
    box-shadow: var(--bc-shadow-md);
    border-color: var(--bc-blue-light);
}
.bc-room-card .room-thumb {
    width: 240px;
    min-height: 200px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}
.bc-room-card .room-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.bc-room-card:hover .room-thumb img {
    transform: scale(1.05);
}
.bc-room-card .room-thumb .badge-featured {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--bc-accent);
    color: var(--bc-text);
    padding: 4px 8px;
    border-radius: var(--bc-radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.bc-room-card .room-body {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
}
.bc-room-card .room-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--bc-blue-light);
    margin-bottom: 4px;
}
.bc-room-card .room-title a {
    color: inherit;
    text-decoration: none;
}
.bc-room-card .room-title a:hover {
    text-decoration: underline;
}
.bc-room-card .room-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--bc-text-muted);
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.bc-room-card .room-meta i {
    margin-right: 4px;
    color: var(--bc-gray-400);
}
.bc-room-card .room-desc {
    font-size: 13px;
    color: var(--bc-gray-600);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bc-room-card .room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.bc-room-card .amenity-tag {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 50px;
    background: var(--bc-gray-50);
    border: 1px solid var(--bc-gray-200);
    color: var(--bc-gray-700);
}
.bc-room-card .amenity-tag i { margin-right: 3px; font-size: 10px; }

.bc-room-card .room-price-area {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 12px;
    border-top: 1px solid var(--bc-gray-100);
}
.bc-room-card .room-price {
    text-align: right;
}
.bc-room-card .price-label {
    font-size: 11px;
    color: var(--bc-text-muted);
}
.bc-room-card .price-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--bc-text);
    line-height: 1.1;
}
.bc-room-card .price-per {
    font-size: 12px;
    color: var(--bc-text-muted);
    font-weight: 400;
}
.bc-room-card .price-includes {
    font-size: 11px;
    color: var(--bc-success);
}
.bc-room-card .price-includes i { margin-right: 2px; }

/* Room card grid variant */
.bc-room-card.card-grid {
    flex-direction: column;
}
.bc-room-card.card-grid .room-thumb {
    width: 100%;
    height: 200px;
    min-height: 200px;
}
.bc-room-card.card-grid .room-price-area {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}
.bc-room-card.card-grid .room-price {
    text-align: left;
}

/* ====================================================================
   BOOKING STEPS (Progress Bar)
   ==================================================================== */
.bc-booking-steps {
    background: var(--bc-white);
    border-bottom: 1px solid var(--bc-border);
    padding: 16px 0;
}
.bc-steps-list {
    display: flex;
    justify-content: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
}
.bc-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    position: relative;
    counter-increment: step;
}
.bc-step::before {
    content: counter(step);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bc-gray-200);
    color: var(--bc-gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.bc-step .step-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--bc-gray-500);
    white-space: nowrap;
}
.bc-step + .bc-step::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--bc-gray-200);
    margin-right: -20px;
}

/* Active step */
.bc-step.active::before {
    background: var(--bc-blue);
    color: var(--bc-white);
}
.bc-step.active .step-label {
    color: var(--bc-blue);
    font-weight: 700;
}

/* Completed step */
.bc-step.completed::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    background: var(--bc-success);
    color: var(--bc-white);
    font-size: 12px;
}
.bc-step.completed .step-label {
    color: var(--bc-success);
}
.bc-step.completed + .bc-step::after {
    background: var(--bc-success);
}

/* ====================================================================
   FILTER SIDEBAR
   ==================================================================== */
.bc-filter-sidebar {
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-md);
    padding: 0;
}
.bc-filter-group {
    padding: 16px;
    border-bottom: 1px solid var(--bc-gray-100);
}
.bc-filter-group:last-child { border-bottom: none; }
.bc-filter-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--bc-text);
}
.bc-filter-group .form-check {
    padding-left: 28px;
    margin-bottom: 8px;
}
.bc-filter-group .form-check-input {
    border-color: var(--bc-gray-300);
    width: 18px;
    height: 18px;
    margin-left: -28px;
    margin-top: 1px;
}
.bc-filter-group .form-check-input:checked {
    background-color: var(--bc-blue-light);
    border-color: var(--bc-blue-light);
}
.bc-filter-group .form-check-label {
    font-size: 13px;
    color: var(--bc-text);
}
.bc-filter-count {
    float: right;
    font-size: 12px;
    color: var(--bc-text-muted);
}

/* Price range slider */
.bc-price-range {
    padding: 0 4px;
}
.bc-price-range input[type="range"] {
    width: 100%;
    accent-color: var(--bc-blue-light);
}
.bc-price-values {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--bc-text-muted);
    margin-top: 4px;
}

/* ====================================================================
   PRICE BREAKDOWN (Sidebar)
   ==================================================================== */
.bc-price-summary {
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-md);
    overflow: hidden;
}
.bc-price-summary .summary-header {
    background: var(--bc-blue);
    color: var(--bc-white);
    padding: 16px;
}
.bc-price-summary .summary-header h5 {
    color: var(--bc-white);
    margin: 0;
    font-size: 16px;
}
.bc-price-summary .summary-body {
    padding: 16px;
}
.bc-price-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}
.bc-price-row.total {
    border-top: 2px solid var(--bc-text);
    padding-top: 12px;
    margin-top: 8px;
    font-weight: 800;
    font-size: 18px;
}
.bc-price-row .label { color: var(--bc-text); }
.bc-price-row .value { font-weight: 600; }
.bc-price-row.discount .value { color: var(--bc-success); }
.bc-price-row.tax .label { color: var(--bc-text-muted); }

/* ====================================================================
   TRUST BADGES
   ==================================================================== */
.bc-trust-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 0;
}
.bc-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--bc-text-muted);
}
.bc-trust-badge i {
    font-size: 16px;
    color: var(--bc-success);
}

.bc-trust-banner {
    background: var(--bc-gray-50);
    border: 1px solid var(--bc-gray-200);
    border-radius: var(--bc-radius-md);
    padding: 16px 24px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.bc-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--bc-gray-700);
}
.bc-trust-item i {
    font-size: 20px;
    color: var(--bc-blue-light);
}

/* ====================================================================
   REVIEW / RATING BADGE
   ==================================================================== */
.bc-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.bc-rating-score {
    background: var(--bc-blue);
    color: var(--bc-white);
    font-weight: 800;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: var(--bc-radius-sm) var(--bc-radius-sm) var(--bc-radius-sm) 0;
    line-height: 1;
}
.bc-rating-text {
    font-size: 13px;
}
.bc-rating-label {
    font-weight: 700;
    color: var(--bc-text);
}
.bc-rating-count {
    color: var(--bc-text-muted);
    font-size: 12px;
}

/* ====================================================================
   BUTTONS
   ==================================================================== */
.btn-bc-primary {
    background: var(--bc-blue-light);
    color: var(--bc-white);
    border: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--bc-radius-sm);
    font-size: 14px;
    transition: var(--bc-transition);
}
.btn-bc-primary:hover {
    background: var(--bc-blue);
    color: var(--bc-white);
}
.btn-bc-secondary {
    background: var(--bc-white);
    color: var(--bc-blue-light);
    border: 1px solid var(--bc-blue-light);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--bc-radius-sm);
    font-size: 14px;
    transition: var(--bc-transition);
}
.btn-bc-secondary:hover {
    background: var(--bc-blue-light);
    color: var(--bc-white);
}
.btn-bc-accent {
    background: var(--bc-accent);
    color: var(--bc-text);
    border: none;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--bc-radius-sm);
    font-size: 14px;
    transition: var(--bc-transition);
}
.btn-bc-accent:hover {
    background: var(--bc-accent-dark);
    color: var(--bc-text);
}
.btn-bc-success {
    background: var(--bc-success);
    color: var(--bc-white);
    border: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--bc-radius-sm);
    font-size: 14px;
}
.btn-bc-success:hover {
    background: #006607;
    color: var(--bc-white);
}
.btn-bc-danger {
    background: var(--bc-danger);
    color: var(--bc-white);
    border: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--bc-radius-sm);
    font-size: 14px;
}

/* ====================================================================
   CARDS & SECTIONS
   ==================================================================== */
.bc-card {
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-md);
    overflow: hidden;
}
.bc-card-header {
    padding: 16px;
    border-bottom: 1px solid var(--bc-gray-100);
    font-weight: 700;
    font-size: 16px;
}

.section-padding { padding: 48px 0; }
.section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
}
.section-subtitle {
    color: var(--bc-text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

/* ====================================================================
   FEATURE / HIGHLIGHTS CARDS (Home)
   ==================================================================== */
.bc-highlight-card {
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-md);
    padding: 24px;
    text-align: center;
    transition: var(--bc-transition);
}
.bc-highlight-card:hover {
    box-shadow: var(--bc-shadow-md);
    border-color: var(--bc-blue-light);
}
.bc-highlight-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0,53,128,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 22px;
    color: var(--bc-blue);
}
.bc-highlight-card h5 {
    font-size: 15px;
    margin-bottom: 6px;
}
.bc-highlight-card p {
    font-size: 13px;
    color: var(--bc-text-muted);
    margin-bottom: 0;
}

/* ====================================================================
   OFFER / DEAL CARD
   ==================================================================== */
.bc-deal-card {
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-md);
    padding: 20px;
    position: relative;
    transition: var(--bc-transition);
}
.bc-deal-card:hover {
    box-shadow: var(--bc-shadow-md);
}
.bc-deal-badge {
    position: absolute;
    top: -8px;
    right: 16px;
    background: var(--bc-danger);
    color: var(--bc-white);
    padding: 4px 12px;
    border-radius: var(--bc-radius-sm);
    font-size: 12px;
    font-weight: 700;
}
.bc-deal-card h5 {
    font-size: 16px;
    margin-bottom: 4px;
}
.bc-deal-card .deal-desc {
    font-size: 13px;
    color: var(--bc-text-muted);
    margin-bottom: 12px;
}
.bc-deal-code {
    display: inline-block;
    background: var(--bc-bg);
    border: 1px dashed var(--bc-gray-300);
    padding: 4px 12px;
    border-radius: var(--bc-radius-sm);
    font-family: monospace;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}

/* ====================================================================
   TESTIMONIAL / REVIEW CARD
   ==================================================================== */
.bc-review-card {
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-md);
    padding: 20px;
}
.bc-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.bc-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bc-blue);
    color: var(--bc-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}
.bc-review-name { font-weight: 700; font-size: 14px; }
.bc-review-date { font-size: 12px; color: var(--bc-text-muted); }
.bc-review-body { font-size: 14px; color: var(--bc-gray-700); line-height: 1.6; }
.bc-review-stars { color: var(--bc-accent); font-size: 14px; }

/* ====================================================================
   CHECKOUT FORM
   ==================================================================== */
.bc-form-section {
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-md);
    padding: 24px;
    margin-bottom: 16px;
}
.bc-form-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bc-gray-100);
}
.bc-form-section .form-label {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 4px;
}
.bc-form-section .form-control,
.bc-form-section .form-select {
    border: 1px solid var(--bc-gray-300);
    border-radius: var(--bc-radius-sm);
    padding: 10px 12px;
    font-size: 14px;
}
.bc-form-section .form-control:focus,
.bc-form-section .form-select:focus {
    border-color: var(--bc-blue-light);
    box-shadow: 0 0 0 3px rgba(0,113,194,.12);
}
.bc-form-section .form-control.is-invalid {
    border-color: var(--bc-danger);
}
.bc-form-section .invalid-feedback {
    font-size: 12px;
}

/* ====================================================================
   PAYMENT PAGE
   ==================================================================== */
.bc-payment-method {
    border: 2px solid var(--bc-border);
    border-radius: var(--bc-radius-md);
    padding: 16px 20px;
    cursor: pointer;
    transition: var(--bc-transition);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.bc-payment-method:hover {
    border-color: var(--bc-blue-light);
    background: rgba(0,113,194,.03);
}
.bc-payment-method.selected {
    border-color: var(--bc-blue-light);
    background: rgba(0,113,194,.05);
}
.bc-payment-method .method-icon {
    font-size: 24px;
    color: var(--bc-blue);
    width: 40px;
    text-align: center;
}
.bc-payment-method .method-info {
    flex: 1;
}
.bc-payment-method .method-name {
    font-weight: 700;
    font-size: 15px;
}
.bc-payment-method .method-desc {
    font-size: 12px;
    color: var(--bc-text-muted);
}

/* ====================================================================
   THANK YOU PAGE
   ==================================================================== */
.bc-thankyou {
    text-align: center;
    padding: 48px 0;
}
.bc-thankyou-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0,128,9,.1);
    color: var(--bc-success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 36px;
}
.bc-thankyou h2 {
    font-size: 28px;
    margin-bottom: 8px;
}
.bc-thankyou p {
    color: var(--bc-text-muted);
    max-width: 500px;
    margin: 0 auto 24px;
}
.bc-booking-code {
    display: inline-block;
    background: var(--bc-bg);
    border: 2px solid var(--bc-border);
    padding: 12px 32px;
    border-radius: var(--bc-radius-md);
    font-family: monospace;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--bc-blue);
}

/* ====================================================================
   FOOTER
   ==================================================================== */
.bc-footer {
    background: var(--bc-gray-900);
    color: rgba(255,255,255,.7);
}
.bc-footer-main {
    padding: 48px 0 32px;
}
.bc-footer h5 {
    color: var(--bc-white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}
.bc-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bc-footer-links li {
    margin-bottom: 8px;
}
.bc-footer-links a {
    color: rgba(255,255,255,.6);
    font-size: 13px;
    text-decoration: none;
    transition: var(--bc-transition);
}
.bc-footer-links a:hover {
    color: var(--bc-white);
    text-decoration: none;
}
.bc-footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
}
.bc-footer-contact i {
    color: var(--bc-accent);
    margin-top: 3px;
    width: 16px;
    flex-shrink: 0;
}
.bc-footer .social-links {
    display: flex;
    gap: 8px;
}
.bc-footer .social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bc-white);
    font-size: 14px;
    transition: var(--bc-transition);
    text-decoration: none;
}
.bc-footer .social-link:hover {
    background: var(--bc-blue-light);
    color: var(--bc-white);
    text-decoration: none;
}
.bc-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 16px 0;
    font-size: 12px;
    color: rgba(255,255,255,.4);
}
.bc-footer-bottom a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
}
.bc-footer-bottom a:hover { color: var(--bc-white); text-decoration: none; }

/* ====================================================================
   ADMIN PORTAL
   ==================================================================== */
.admin-body {
    background: var(--bc-bg);
}
#admin-sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    overflow-y: auto;
    background: var(--bc-blue-dark);
    transition: margin-left .3s ease;
}
#admin-sidebar .sidebar-brand {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    gap: 10px;
}
#admin-sidebar .sidebar-brand h5 {
    color: var(--bc-white);
    font-size: 16px;
    margin: 0;
    font-weight: 700;
}
#admin-sidebar .sidebar-brand i {
    color: var(--bc-accent);
    font-size: 18px;
}
#admin-sidebar .sidebar-label {
    padding: 16px 20px 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,.35);
}
#admin-sidebar .nav-link {
    padding: 9px 20px;
    font-size: 13px;
    color: rgba(255,255,255,.7);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--bc-transition);
    border-left: 3px solid transparent;
    text-decoration: none;
}
#admin-sidebar .nav-link:hover {
    color: var(--bc-white);
    background: rgba(255,255,255,.06);
}
#admin-sidebar .nav-link.active {
    color: var(--bc-white);
    background: rgba(255,255,255,.1);
    border-left-color: var(--bc-accent);
    font-weight: 600;
}
#admin-sidebar .nav-link i {
    width: 18px;
    text-align: center;
    font-size: 14px;
}
#admin-sidebar .nav-badge {
    margin-left: auto;
    background: var(--bc-danger);
    color: var(--bc-white);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

#admin-main {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left .3s ease;
}
#admin-main.sidebar-collapsed {
    margin-left: 0;
}
.admin-topbar {
    background: var(--bc-white);
    border-bottom: 1px solid var(--bc-border);
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1020;
}
.admin-topbar .topbar-toggle {
    background: none;
    border: 1px solid var(--bc-gray-200);
    border-radius: var(--bc-radius-sm);
    padding: 6px 10px;
    color: var(--bc-gray-600);
    cursor: pointer;
}
.admin-topbar .topbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}
.admin-content {
    padding: 24px;
}
.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.admin-page-header h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

/* Admin stat cards */
.admin-stat-card {
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--bc-transition);
    border-left: 4px solid var(--bc-blue-light);
}
.admin-stat-card:hover {
    box-shadow: var(--bc-shadow-sm);
}
.admin-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--bc-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.admin-stat-value {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}
.admin-stat-label {
    font-size: 12px;
    color: var(--bc-text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .5px;
}

/* Admin table */
.admin-table {
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-md);
    overflow: hidden;
}
.admin-table .table {
    margin-bottom: 0;
}
.admin-table .table th {
    background: var(--bc-gray-50);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--bc-gray-600);
    padding: 12px 16px;
    border-bottom: 1px solid var(--bc-border);
}
.admin-table .table td {
    padding: 12px 16px;
    vertical-align: middle;
    font-size: 13px;
    border-bottom: 1px solid var(--bc-gray-100);
}
.admin-table .table tbody tr:hover {
    background: var(--bc-gray-50);
}

/* ====================================================================
   AGENT PORTAL
   ==================================================================== */
#agent-sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    overflow-y: auto;
    background: linear-gradient(180deg, var(--bc-blue) 0%, var(--bc-blue-dark) 100%);
    transition: margin-left .3s ease;
}
#agent-sidebar .sidebar-brand {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
#agent-sidebar .sidebar-brand h5 {
    color: var(--bc-white);
    font-size: 16px;
    margin: 0;
    font-weight: 700;
}
#agent-sidebar .sidebar-brand i {
    color: var(--bc-accent);
}
#agent-sidebar .nav-link {
    padding: 10px 20px;
    font-size: 13px;
    color: rgba(255,255,255,.7);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--bc-transition);
    border-left: 3px solid transparent;
    text-decoration: none;
}
#agent-sidebar .nav-link:hover {
    color: var(--bc-white);
    background: rgba(255,255,255,.08);
}
#agent-sidebar .nav-link.active {
    color: var(--bc-white);
    background: rgba(255,255,255,.12);
    border-left-color: var(--bc-accent);
    font-weight: 600;
}
#agent-sidebar .nav-link i { width: 18px; text-align: center; }

/* ====================================================================
   BADGE VARIANTS
   ==================================================================== */
.badge-bc-pending {
    background: #fef3c7;
    color: #92400e;
    font-weight: 600;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: var(--bc-radius-sm);
}
.badge-bc-confirmed {
    background: #d1fae5;
    color: #065f46;
}
.badge-bc-checkedin {
    background: #dbeafe;
    color: #1e40af;
}
.badge-bc-checkedout {
    background: #e5e7eb;
    color: #374151;
}
.badge-bc-cancelled {
    background: #fee2e2;
    color: #991b1b;
}
.badge-bc-success {
    background: #d1fae5;
    color: #065f46;
}
.badge-bc-danger {
    background: #fee2e2;
    color: #991b1b;
}
.badge-bc-warning {
    background: #fef3c7;
    color: #92400e;
}
.badge-bc-info {
    background: #dbeafe;
    color: #1e40af;
}

/* ====================================================================
   SKELETON LOADER
   ==================================================================== */
.bc-skeleton {
    background: linear-gradient(90deg, var(--bc-gray-100) 25%, var(--bc-gray-50) 50%, var(--bc-gray-100) 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    border-radius: var(--bc-radius-sm);
}
.bc-skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    width: 100%;
}
.bc-skeleton-text.short { width: 60%; }
.bc-skeleton-text.xs { width: 30%; }
.bc-skeleton-img {
    width: 100%;
    height: 200px;
}
.bc-skeleton-card {
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-md);
    padding: 16px;
}
@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ====================================================================
   TOAST NOTIFICATIONS
   ==================================================================== */
.bc-toast-container {
    position: fixed;
    top: 72px;
    right: 16px;
    z-index: 1070;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 400px;
    width: 100%;
}
.bc-toast {
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-md);
    box-shadow: var(--bc-shadow-lg);
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: toastSlideIn .3s ease;
}
.bc-toast.toast-success { border-left: 4px solid var(--bc-success); }
.bc-toast.toast-error { border-left: 4px solid var(--bc-danger); }
.bc-toast.toast-warning { border-left: 4px solid var(--bc-warning); }
.bc-toast.toast-info { border-left: 4px solid var(--bc-blue-light); }
.bc-toast .toast-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.bc-toast.toast-success .toast-icon { color: var(--bc-success); }
.bc-toast.toast-error .toast-icon { color: var(--bc-danger); }
.bc-toast.toast-warning .toast-icon { color: var(--bc-warning); }
.bc-toast.toast-info .toast-icon { color: var(--bc-blue-light); }
.bc-toast .toast-body { flex: 1; font-size: 14px; }
.bc-toast .toast-close {
    background: none;
    border: none;
    font-size: 16px;
    color: var(--bc-gray-400);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.bc-toast.toast-hide {
    animation: toastSlideOut .3s ease forwards;
}
@keyframes toastSlideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* ====================================================================
   FLASH MESSAGES (Inline)
   ==================================================================== */
.bc-flash {
    position: fixed;
    top: 64px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1060;
    width: 100%;
    max-width: 600px;
    pointer-events: none;
}
.bc-flash .alert {
    pointer-events: auto;
    border-radius: var(--bc-radius-md);
    box-shadow: var(--bc-shadow-lg);
    border: none;
    font-size: 14px;
    padding: 12px 20px;
}

/* ====================================================================
   FORM OVERRIDES
   ==================================================================== */
.form-control:focus,
.form-select:focus {
    border-color: var(--bc-blue-light);
    box-shadow: 0 0 0 3px rgba(0,113,194,.12);
}
.form-check-input:checked {
    background-color: var(--bc-blue-light);
    border-color: var(--bc-blue-light);
}

/* Pagination */
.page-link { color: var(--bc-blue-light); }
.page-item.active .page-link {
    background-color: var(--bc-blue-light);
    border-color: var(--bc-blue-light);
}

/* ====================================================================
   STICKY SIDEBAR
   ==================================================================== */
.bc-sticky-sidebar {
    position: sticky;
    top: 80px;
}

/* ====================================================================
   UTILITY CLASSES
   ==================================================================== */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cursor-pointer { cursor: pointer; }
.font-mono { font-family: 'Courier New', monospace; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

/* ====================================================================
   RESPONSIVE — PWA-FEEL MOBILE STYLES
   ==================================================================== */

/* --- Phase 1: Global PWA foundations --- */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Prevent iOS zoom on input focus */
@media (max-width: 767.98px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="url"],
    input[type="date"],
    select,
    textarea,
    .form-control,
    .form-select {
        font-size: 16px !important;
    }
}

/* Touch-friendly: disable hover transforms on touch devices */
@media (hover: none) {
    .bc-highlight-card:hover,
    .bc-deal-card:hover,
    .bc-room-card:hover {
        box-shadow: none;
        border-color: var(--bc-border);
        transform: none;
    }
    .bc-room-card:hover .room-thumb img {
        transform: none;
    }
    .admin-stat-card:hover {
        box-shadow: none;
    }
}

/* --- Phase 2–7: Breakpoint-based rules --- */

/* ============= >= 992px keeps desktop as-is ============= */

/* ============= TABLET: max-width 991.98px ============= */
@media (max-width: 991.98px) {
    /* Hero / search */
    .bc-hero h1 { font-size: 26px; }
    .bc-search-bar .search-form { flex-wrap: wrap; }
    .bc-search-field { flex: 1 1 calc(50% - 2px); min-width: 140px; }
    .bc-search-btn { flex: 1 1 100%; }

    /* Room cards stack */
    .bc-room-card { flex-direction: column; }
    .bc-room-card .room-thumb { width: 100%; height: 200px; min-height: 200px; }

    /* Booking steps */
    .bc-steps-list { gap: 4px; }
    .bc-step { padding: 0 8px; }
    .bc-step + .bc-step::after { width: 16px; margin-right: -8px; }
    .section-padding { padding: 32px 0; }

    /* Navbar collapse: solid background & touch-friendly links */
    .bc-navbar .navbar-collapse {
        background: var(--bc-blue);
        max-height: 70vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 8px 0;
        border-radius: 0 0 var(--bc-radius-md) var(--bc-radius-md);
    }
    .bc-navbar .navbar-nav .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 10px 16px;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
    .bc-navbar .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    .bc-navbar .navbar-nav .btn-bc-accent {
        width: 100%;
        margin: 8px 16px;
        text-align: center;
    }
    #main-content { padding-top: 56px; }

    /* Sticky sidebar → static on tablets/mobile */
    .bc-sticky-sidebar {
        position: static !important;
        top: auto !important;
    }

    /* Booking flow: full-width CTA */
    .bc-price-summary .btn,
    .bc-form-section .btn[type="submit"] {
        width: 100%;
        min-height: 48px;
    }
}

/* ============= MOBILE: max-width 767.98px ============= */
@media (max-width: 767.98px) {
    /* Hero */
    .bc-hero {
        min-height: auto;
        padding: 24px 0 0;
    }
    .bc-hero h1 { font-size: 22px; }
    .bc-hero-content { text-align: center; }
    .bc-hero p { font-size: 14px; }

    /* Search fields full-width */
    .bc-search-field { flex: 1 1 100%; }
    .bc-search-btn { min-height: 48px; }

    /* Guests dropdown → bottom sheet overlay */
    .bc-guests-dropdown {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 24px rgba(0,0,0,.2);
        padding: 20px;
        z-index: 1060;
    }
    .bc-guests-dropdown::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: var(--bc-gray-300);
        border-radius: 4px;
        margin: 0 auto 16px;
    }
    .bc-guests-dropdown .stepper-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 18px;
    }

    /* Section titles */
    .section-title { font-size: 20px; }
    .section-subtitle { font-size: 13px; }

    /* Booking steps scroll-snap */
    .bc-booking-steps { overflow-x: auto; }
    .bc-steps-list {
        min-width: max-content;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .bc-step {
        scroll-snap-align: center;
    }
    .bc-step .step-label { font-size: 12px; }

    /* Trust banner compact */
    .bc-trust-banner { gap: 20px; padding: 12px 16px; }

    /* Form inputs touch-friendly */
    .bc-form-section {
        padding: 16px;
    }
    .bc-form-section .form-control,
    .bc-form-section .form-select {
        min-height: 44px;
    }

    /* Price summary compact */
    .bc-price-summary .summary-body { padding: 12px; }
    .bc-price-row { font-size: 13px; padding: 5px 0; }
    .bc-price-row.total { font-size: 16px; }

    /* Search results: price/qty stack vertically */
    #searchResultsForm .d-flex.justify-content-between.align-items-end {
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px;
    }
    #searchResultsForm .text-end {
        text-align: left !important;
        display: flex;
        align-items: baseline;
        gap: 6px;
    }

    /* Payment method cards touch target */
    .bc-payment-method {
        min-height: 64px;
        padding: 14px 16px;
    }

    /* Thank you page compact */
    .bc-thankyou { padding: 32px 0; }
    .bc-thankyou-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }
    .bc-thankyou h2 { font-size: 22px; }

    /* Room detail: carousel shorter */
    #roomImageCarousel .carousel-item img {
        height: 280px !important;
    }

    /* Promo code row wrap */
    .bc-promo-row {
        flex-wrap: wrap;
    }
    .bc-promo-row .form-control {
        flex: 1 1 100%;
    }
    .bc-promo-row .btn {
        flex: 1 1 100%;
        margin-top: 8px;
    }

    /* Home page: highlight cards compact */
    .bc-highlight-card {
        padding: 16px;
    }
    .bc-highlight-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    /* Deal cards compact */
    .bc-deal-card { padding: 16px; }

    /* Footer: center-align */
    .bc-footer-main { padding: 32px 0 24px; }
    .bc-footer .col-lg-3,
    .bc-footer .col-lg-4,
    .bc-footer .col-md-3,
    .bc-footer .col-md-4,
    .bc-footer .col-md-6 {
        text-align: center;
    }
    .bc-footer-links { margin-bottom: 24px; }
    .bc-footer-contact li { justify-content: center; }
    .bc-footer .social-links { justify-content: center; }
    .bc-footer-bottom { text-align: center; }
    .bc-footer-bottom .d-flex {
        flex-direction: column;
        gap: 8px;
    }

    /* Toasts → bottom of screen (native feel) */
    .bc-toast-container {
        top: auto;
        bottom: 16px;
        right: 8px;
        left: 8px;
        max-width: 100%;
    }
    @keyframes toastSlideIn {
        from { transform: translateY(100%); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
    @keyframes toastSlideOut {
        from { transform: translateY(0); opacity: 1; }
        to { transform: translateY(100%); opacity: 0; }
    }

    /* Admin/Agent responsive */
    .admin-content { padding: 16px; }
    #admin-sidebar, #agent-sidebar {
        margin-left: calc(-1 * var(--sidebar-width));
    }
    #admin-sidebar.show, #agent-sidebar.show {
        margin-left: 0;
    }
    #admin-main {
        margin-left: 0;
    }

    /* Admin topbar compact */
    .admin-topbar {
        padding: 0 12px;
    }
    .admin-topbar .topbar-username {
        display: none;
    }

    /* Admin stat cards compact */
    .admin-stat-card {
        padding: 14px;
        gap: 12px;
    }
    .admin-stat-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .admin-stat-value { font-size: 20px; }

    /* Admin page header stacks */
    .admin-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .admin-page-header h1 { font-size: 18px; }
    .admin-page-header .btn { width: 100%; }

    /* Admin tables compact */
    .admin-table .table th,
    .admin-table .table td {
        padding: 8px 10px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* Similar rooms: full-width on mobile */
    .col-md-4:has(> .bc-room-card.card-grid) {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ============= SMALL MOBILE: max-width 575.98px ============= */
@media (max-width: 575.98px) {
    .bc-hero h1 { font-size: 20px; }

    /* Room detail carousel even shorter */
    #roomImageCarousel .carousel-item img {
        height: 220px !important;
    }

    /* Thank you code compact */
    .bc-booking-code {
        font-size: 18px;
        padding: 8px 20px;
    }
    .bc-thankyou h2 { font-size: 20px; }
    .bc-thankyou-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    /* Search results card padding */
    #searchResultsForm .bc-card [style*="padding:20px"] {
        padding: 12px !important;
    }

    /* Full-width buttons */
    .btn-bc-primary,
    .btn-bc-accent,
    .btn-bc-secondary {
        min-height: 44px;
    }
}
