/* ============================================================
   Nova Theme — Dynamic Custom CSS
   Generated from admin settings (main_color: #003580)
   This file REPLACES the legacy BC custom-css.blade.php
   ============================================================ */

/* --- CSS Custom Properties (used by Tailwind @theme and components) --- */
:root {
    --color-main: #003580;
    --color-main-rgb: 0, 53, 128;
    --color-main-50: #e6ebf2;
    --color-main-100: #ccd7e6;
    --color-main-200: #99aecc;
    --color-main-300: #6686b3;
    --color-main-400: #335d99;
    --color-main-500: #0d3f86;
    --color-main-600: #003580;
    --color-main-700: #00255a;
    --color-main-800: #001b40;
    --color-main-900: #00132d;
    --color-main-950: #000b1a;
}

/* --- Typography from admin settings --- */
body {
}

/* --- Minimal legacy compatibility (only for JS-dependent components) --- */
/* Booking engine, daterangepicker, ion-slider need main_color */
.bc_single_book, .bc_single_hotel_book { border-top-color: #003580; }
.daterangepicker td.active, .daterangepicker td.active:hover { background-color: #003580; }
.daterangepicker .btn-primary { background-color: #003580; border-color: #003580; }
body .daterangepicker .drp-calendar .calendar-table tbody tr td.end-date { border-right-color: #003580; }
body .daterangepicker .drp-calendar .calendar-table tbody tr td.start-date { border-left-color: #003580; }
.irs--flat .irs-bar, .irs--flat .irs-handle > i:first-child,
.irs--flat .irs-from, .irs--flat .irs-to, .irs--flat .irs-single { background-color: #003580; }
.irs--flat .irs-from:before, .irs--flat .irs-to:before, .irs--flat .irs-single:before { border-top-color: #003580; }
.bc-pagination ul li.active a, .bc-pagination ul li.active span { color: #003580 !important; border-color: #003580 !important; }
.bc_single_book .nav-enquiry .enquiry-item.active span { border-bottom-color: #003580 !important; color: #003580 !important; }
.bc-checkbox input[type=checkbox]:checked + .checkmark:after { border-color: #003580; }
.booking-success-notice .booking-info-detail { border-left-color: #003580; }

/* --- Admin custom CSS (from Settings > Style > Custom CSS) --- */



/* --- Header Logo Force Styling --- */
header .group img,
header a[href*="/"] img,
.mobile-drawer-logo,
.bc-logo img {
    max-width: 180px !important;
    max-height: 40px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

@media (max-width: 1024px) {
    header .group img,
    header a[href*="/"] img,
    .mobile-drawer-logo,
    .bc-logo img {
        max-width: 140px !important;
        max-height: 32px !important;
    }
}

@media (max-width: 640px) {
    header .group img,
    header a[href*="/"] img,
    .mobile-drawer-logo,
    .bc-logo img {
        max-width: 120px !important;
        max-height: 28px !important;
    }
}
