/* ============================================================
   Vezpa PMS — Brand Overrides
   Applied on top of Bootswatch base theme (bootstrap or darkly).
   Only brand-specific touches, no dark mode logic.
   ============================================================ */

/* --- Typography ------------------------------------------- */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- Brand variables -------------------------------------- */
:root {
    --vezpa-accent: #37DBB5;
    --vezpa-accent-rgb: 55, 219, 181;
}

/* --- Navbar: accent border bottom ------------------------- */
.navbar {
    border-bottom: 2px solid var(--vezpa-accent) !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* --- Cards: rounded + shadow ------------------------------ */
.card {
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* --- Form controls focus: accent ring --------------------- */
.form-control:focus,
.form-select:focus {
    border-color: var(--vezpa-accent);
    box-shadow: 0 0 0 0.2rem rgba(var(--vezpa-accent-rgb), 0.25);
}

/* --- Modal: rounded --------------------------------------- */
.modal-content {
    border-radius: 0.75rem;
}

/* --- Dropdown: rounded + shadow --------------------------- */
.dropdown-menu {
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* --- Scrollbar: accent thumb ------------------------------ */
::-webkit-scrollbar-track {
    border-radius: 1rem;
    background-color: #CCCCCC;
}

::-webkit-scrollbar {
    width: 0.5rem;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    border-radius: 1rem;
    background-color: var(--vezpa-accent);
}

/* --- List-group hover: accent color ----------------------- */
button.list-group-item.list-group-item-action:hover {
    color: var(--vezpa-accent) !important;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

a.list-group-item:hover {
    color: inherit;
}

a.list-group-item:hover span {
    color: var(--vezpa-accent) !important;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* --- Vezpa logo (Oleo Script) ----------------------------- */
.vezpa-logo {
    font-family: 'Oleo Script', cursive !important;
    font-size: 1.2em !important;
    color: #37dbb5 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Print: keep table rows on same page ------------------ */
tr,
td {
    page-break-inside: avoid;
}

/* --- Centered select text --------------------------------- */
select {
    text-align-last: center;
}

/* --- Input text color ------------------------------------- */
input {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
}

/* --- Booking source buttons (preserved) ------------------- */
.btn-portale { background-color: rgb(222, 116, 45) !important; }
.btn-telefono { background-color: rgb(90, 250, 40) !important; }
.btn-walkin { background-color: rgb(224, 64, 251) !important; }
.btn-ota { background-color: rgb(59, 152, 189) !important; }
.btn-richiesta { background-color: rgba(255, 255, 0, 0.8) !important; }
.btn-chiuso {
    background-color: grey !important;
    opacity: 0.7;
}

/* --- Dashed outline button -------------------------------- */
.btn-outline-dashed {
    border-style: dashed !important;
}

/* --- Striped progress bar --------------------------------- */
.progress-bar-striped {
    background-image: linear-gradient(45deg,
        rgba(255,255,255,.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255,255,255,.15) 50%,
        rgba(255,255,255,.15) 75%,
        transparent 75%,
        transparent) !important;
    background-size: 1rem 1rem !important;
}

/* --- btn-group: match btn-lg height to form-control ------ */
.btn-group > .form-control ~ .btn.btn-lg {
    font-size: 1rem !important;
    padding-top: .375rem !important;
    padding-bottom: .375rem !important;
}

.btn-group > .btn.btn-lg:first-child:has(~ .form-control) {
    font-size: 1rem !important;
    padding-top: .375rem !important;
    padding-bottom: .375rem !important;
}

/* --- Orientation toggle (baseM.html) ---------------------- */
#orientationToggle {
    padding: 0;
    margin: 0;
    width: 2em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    box-shadow: none;
    background-color: transparent;
}
