.modal-xxl {
    max-width: 95% !important;
    width: 95% !important;
    margin: auto;
}

.modal-dialog {
    display: flex;
    align-items: center;
    min-height: 100vh;  /* ensures vertical centering */
}

.modal-content {
    height: 75vh;
    border-radius: 8px;
    margin: auto;
}

.modal-body iframe {
    height: 70vh !important;
    width: 85%;
    border: none;
}

@media only screen and (max-width: 768px) {
    .theme-container {
        margin: 20px 10px !important;
        padding: 15px !important;
    }
}


@media only screen and (max-width: 768px) {
    .suite-card .card-title {
        font-size: 1rem;
    }

    .suite-card {
        margin: 10px auto !important;
        width: 95% !important;
        height: auto !important;
    }
}

@media only screen and (max-width: 480px) {
    .suite-card .card-title {
        font-size: 0.95rem;
    }

    .suite-card {
        padding: 0 !important;
    }

    .suite-card img {
        height: 160px !important;
    }
}

/* ════════════ VISUAL PACK (hero, tabs, cards, loader, stats) ════════════ */
/* Brand: cobalt navy #004890 / #003A73, amber gold #F0A800 (fills only) / bronze #8A6D0F (text) */

/* — Hero is now a static professional banner (styled in bot-theme.css);
     the animated BOT intro video moved to the For Fun tab. — */

/* — Tab content cross-fade (class toggled by clientside callback) — */
.tab-anim { animation: paneIn .35s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* — Tab indicator: solid navy underline (institutional; never gold) — */
.tab--selected { position: relative; }
.tab--selected::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--bot-navy);
}

/* — Suite card hover lift/glow — */
.suite-card { transition: transform .25s ease, box-shadow .25s ease; }
.suite-card:hover { transform: translateY(0); box-shadow: 0 14px 34px rgba(16,24,40, .20) !important; }

/* — Calm skeleton loader (flat block, gentle opacity pulse — no shimmer sweep) — */
._dash-loading { color: transparent !important; position: relative; display: block; min-height: 40vh; }
._dash-loading::after {
  content: ""; position: absolute; inset: 0;
  background: #ECE6DA; animation: calmPulse 1.6s ease-in-out infinite; border-radius: 8px;
}
@keyframes calmPulse { 0%,100% { opacity: .55; } 50% { opacity: .9; } }

/* — Scroll-reveal (powered by reveal.js) — */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* — Stat strip — */
.bot-stats {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
  margin: 18px auto 8px; max-width: 1100px;
}
.bot-stat {
  flex: 1 1 180px; min-width: 150px; text-align: center;
  padding: 18px 14px; border-radius: 6px;
  background: #FFFFFF; border: 1px solid var(--bot-border, #D6CBB5);
  box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
}
.bot-stat .count-up { font-size: 2rem; font-weight: 700; color: #004890; line-height: 1; }
.bot-stat-label { margin-top: 6px; font-size: .85rem; color: #5C564F; letter-spacing: .02em; }
.bot-stat-tag { font-style: italic; color: var(--bot-gold-text, #8A6D0F); font-weight: 700; }
@media (max-width: 768px) { .bot-stat { flex: 1 1 45%; } .bot-stat .count-up { font-size: 1.6rem; } }

/* ════════════ v2 — RESPONSIVE + A11Y (additive; must not regress Home/Why) ════════════ */
:root { --bot-navy:#004890; --bot-blue:#003A73; --bot-gold:#F0A800; --bot-ink:#1F2733; }

/* — Clickable affordance + visible focus (a11y) — */
[role="button"], .dropdown-toggle, .suite-card a, .clickable { cursor: pointer; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid var(--bot-navy); outline-offset: 2px;
}

/* — Responsive images: kill stretch/distortion — */
img { max-width: 100%; }
@media (max-width: 768px) {
  .carousel-item img, .suite-card img, .card img, .property-card img, .dbc-carousel img {
    width: 100% !important; height: 200px !important; object-fit: cover !important; display: block !important;
  }
  /* Floor plans must NOT be cropped */
  .floorplan img, [class*="floorplan"] img, [alt*="floor" i] {
    object-fit: contain !important; height: auto !important; max-height: 220px !important;
  }
  .suite-card iframe, #tabs-content iframe { width: 100% !important; }
}

/* — Global mobile baseline for the weak tabs (improve, don't regress) — */
@media (max-width: 768px) {
  #tabs-content img, #tabs-content iframe, #tabs-content video,
  #tabs-content table, #tabs-content pre { max-width: 100% !important; }
  #tabs-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  #tabs-content .theme-container { margin: 8px 2px !important; padding: 12px !important; }
  #tabs-content p, #tabs-content li { font-size: 15px !important; line-height: 1.55 !important; }
  #tabs-content h1 { font-size: clamp(22px, 6.5vw, 30px) !important; line-height: 1.2 !important; overflow-wrap: break-word; }
  #tabs-content h2 { font-size: clamp(18px, 5vw, 24px) !important; overflow-wrap: break-word; }
}

/* — Respect reduced-motion — */
@media (prefers-reduced-motion: reduce) {
  .tab-anim, .reveal, .count-up, .bot-hero-video, .suite-card, ._dash-loading::after,
  .tab--selected::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ════════════ Available Suites — filter bar + cards ════════════ */
.bot-filterbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 22px;
  background: #fff; border: 1px solid #D6CBB5; border-radius: 6px; padding: 1.1rem 1.4rem;
  box-shadow: 0 4px 16px rgba(16,24,40,.07); max-width: 1080px; margin: 0 auto 1.8rem; }
.bot-filter-field { display: flex; flex-direction: column; gap: 7px; min-width: 170px; }
.bot-filter-grow  { flex: 1 1 280px; }
.bot-filter-grow2 { flex: 2 1 360px; padding-bottom: 6px; }
.bot-filter-label { font-size: .68rem; font-weight: 600; letter-spacing: .12em;
  color: var(--bot-navy); text-transform: uppercase; margin: 0; }
.bot-sort { display: flex; gap: 16px; }
.bot-sort label { font-weight: 600; color: #1F2733; cursor: pointer; }
.bot-sort input { margin-right: 5px; accent-color: var(--bot-navy); }
/* Multi-select dropdown: rounded, navy chips, contained to its field */
.bot-dd .Select-control { border-radius: 9px !important; border-color: #D6CBB5 !important; min-height: 42px; }
.bot-dd .Select-value, .bot-dd .Select-value-label,
.bot-dd .Select--multi .Select-value { background: #E8EEF6 !important; color: var(--bot-navy) !important;
  border-radius: 6px !important; border: 0 !important; }
/* RangeSlider accent: navy track, navy/gold handles (Available Suites + property pages) */
#tabs-content .rc-slider-track { background: var(--bot-navy) !important; }
#tabs-content .rc-slider-handle { border-color: var(--bot-navy) !important;
  box-shadow: 0 0 0 4px rgba(16,24,40,.14) !important; }
#tabs-content .rc-slider-dot-active { border-color: var(--bot-navy) !important; }
/* Suite-card grid: even rounded cards */
#dashboard-suite-card-container .suite-card, #dashboard-suite-card-container .card {
  border: 1px solid #D6CBB5; border-radius: 6px; overflow: hidden; height: 100%; }
@media (max-width: 768px) { .bot-filterbar { gap: 14px; } .bot-filter-grow, .bot-filter-grow2 { flex: 1 1 100%; } }

/* ════════════ Contact Us ════════════ */
.bot-contact-info { background:#fff; border:1px solid #D6CBB5; border-left:4px solid var(--bot-gold);
  border-radius:6px; padding:1.4rem; box-shadow:0 4px 16px rgba(16,24,40,.07); height:100%; }
.bot-contact-info h4, .bot-contact-form h4 { color: var(--bot-navy); }
.bot-ci-row { display:flex; gap:9px; align-items:flex-start; margin-bottom:11px; color:#1F2733; line-height:1.5; }
.bot-ci-row a { color: var(--bot-navy); font-weight:600; text-decoration:none; }
.bot-ci-row a:hover { text-decoration:underline; }
.bot-ci-ico { flex:0 0 auto; }
.bot-contact-form { background:#fff; border:1px solid #D6CBB5; border-radius:6px; padding:1.5rem;
  box-shadow:0 4px 16px rgba(16,24,40,.07); }
.bot-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px 18px; margin:1rem 0 1.2rem; }
.bot-field { display:flex; flex-direction:column; gap:5px; }
.bot-field-full { grid-column:1 / -1; }
.bot-form-label { font-size:.68rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--bot-navy); }
.bot-input { width:100%; padding:10px 12px; border:1px solid #d8d9e8; border-radius:9px;
  font-size:14px; color:#1F2733; background:#fff; transition:border-color .15s ease, box-shadow .15s ease; }
.bot-input::placeholder { color:#9a9ab0; }
.bot-input:focus { outline:none; border-color:var(--bot-navy); box-shadow:0 0 0 3px rgba(16,24,40,.13); }
.bot-submit-btn { background:var(--bot-navy); color:#fff; border:0; border-radius:6px;
  padding:12px 30px; font-weight:700; cursor:pointer; transition:background .15s ease, transform .1s ease; }
.bot-submit-btn:hover { background:#003A73; transform:translateY(-1px); }
@media (max-width:768px) { .bot-form-grid { grid-template-columns:1fr; } }

/* ════════════ Resources + About ════════════ */
.bot-resource-card { background:#fff; border:1px solid #D6CBB5; border-radius:6px; padding:1.3rem;
  box-shadow:0 4px 16px rgba(16,24,40,.07); height:100%; }
.bot-resource-card h4 { color: var(--bot-navy); }
.bot-resource-card .list-group-item.bot-link-item { border:0; border-bottom:1px solid #EDE7DB;
  padding:.6rem .2rem; background:transparent; }
.bot-resource-card .bot-link-item:last-child { border-bottom:0; }
.bot-resource-card .bot-link-item a { color: var(--bot-navy); font-weight:600; text-decoration:none; }
.bot-resource-card .bot-link-item a:hover { color: var(--bot-navy-2, #003A73); text-decoration:underline; }
.bot-estimate-out { margin-top:1rem; padding:.9rem 1.1rem; border-radius:6px; background:#F4EFE4;
  color: var(--bot-navy); font-weight:700; font-size:1.05rem; border-left:4px solid var(--bot-gold); }
.bot-cta-card { background: linear-gradient(120deg, var(--bot-navy), var(--bot-navy-3)); color:#fff;
  border-radius:6px; padding:1.6rem 1.8rem; margin-top:1.8rem; box-shadow:0 8px 26px rgba(16,24,40,.18); }
.bot-cta-card h4 { color:#fff; }
.bot-cta-card p { color:#dbe6f2; }
.bot-cta-card .btn-outline-primary { color:#fff; border-color: rgba(255,255,255,.6); }
.bot-cta-card .btn-outline-primary:hover { background: var(--bot-gold); border-color: var(--bot-gold); color: var(--bot-navy); }

/* ════════════ Header mobile + unified button system + map ════════════ */
/* Header: stack brand over nav on phones, give buttons room (don't bunch) */
@media (max-width: 820px) {
  .bot-header .row { row-gap: 10px; }
  .bot-header .bot-nav { justify-content: center !important; width: 100%; }
}
@media (max-width: 600px) {
  .bot-header { padding: .6rem .55rem; }
  .bot-header .col-auto { flex: 0 0 100% !important; max-width: 100% !important;
    text-align: center; justify-content: center; }
  /* nav → tidy 2-col grid: equal-width CTAs side-by-side, long dropdowns + Staff full-width,
     all the same height/size (was flex-wrap → mismatched widths stacked messily) */
  .bot-header .bot-nav { display: grid !important; grid-template-columns: 1fr 1fr;
    gap: 8px !important; width: 100%; align-items: stretch; }
  .bot-header .bot-nav > .dropdown, .bot-header .bot-nav > .bot-staff { grid-column: 1 / -1; }
  .bot-header .bot-nav .dropdown, .bot-header .bot-nav .btn,
  .bot-header .bot-nav .dropdown-toggle { width: 100%; }
  .bot-header .bot-nav .btn, .bot-header .bot-nav .dropdown-toggle, .bot-header .bot-nav .bot-staff {
    display: flex; align-items: center; justify-content: center; min-height: 40px;
    font-size: .82rem; padding: .45rem .5rem; border-radius: 8px; margin: 0; }
  .bot-header .bot-nav .bot-staff { border: 1px solid rgba(255,255,255,.32); }
  .bot-brand { justify-content: center !important; flex-wrap: wrap; row-gap: 2px; text-align: center; }
  .bot-brand > div { text-align: center; }
  .bot-co-name { font-size: 18px; }
  .bot-co-sub, .bot-tagline { display: block; margin-left: 0 !important; }
}
.bot-nav .btn, .bot-nav .dropdown-toggle { white-space: nowrap; }

/* Unified, elegant button system — navy primary, navy-outline, gold accent
   (replaces the rainbow of bootstrap button colors site-wide) */
.btn-primary, .btn-success, .btn-info {
  background: var(--bot-navy) !important; border-color: var(--bot-navy) !important; color: #fff !important; }
.btn-primary:hover, .btn-success:hover, .btn-info:hover {
  background: var(--bot-navy-2, #003A73) !important; border-color: var(--bot-gold) !important; color: #fff !important; }
.btn-secondary { background: #fff !important; color: var(--bot-navy) !important; border: 1px solid #D6CBB5 !important; }
.btn-secondary:hover { background: var(--bot-navy) !important; color: #fff !important; border-color: var(--bot-navy) !important; }
.btn-outline-primary, .btn-outline-secondary {
  color: var(--bot-navy) !important; border-color: var(--bot-navy) !important; background: transparent !important; }
.btn-outline-primary:hover, .btn-outline-secondary:hover {
  background: var(--bot-navy) !important; color: #fff !important; border-color: var(--bot-navy) !important; }
.btn-warning { background: var(--bot-gold) !important; border-color: var(--bot-gold) !important;
  color: var(--bot-navy) !important; font-weight: 600; }
.btn-warning:hover { background: #b8941f !important; border-color: #b8941f !important; }

/* Map card: not too tall, tidy on mobile */
.bot-mapcard iframe { height: clamp(300px, 48vh, 440px) !important; }
@media (max-width: 768px) { .bot-mapcard { padding: .9rem; margin: 1rem auto 1.6rem; } }

/* — Kill horizontal overflow (was clipping the centered H1 on mobile) + wrap headings — */
html, body { max-width: 100%; overflow-x: hidden; }
#tabs-content, .bot-header, .bot-hero, .bot-why-hero { max-width: 100%; overflow-x: hidden; }
#tabs-content h1, #tabs-content h2, .bot-why-headline, .bot-hero-overlay h1 {
  overflow-wrap: break-word; word-break: break-word; max-width: 100%; white-space: normal !important; }

/* Contractor Management — COI expiration bands (AG Grid cellClassRules) */
.cs-coi-red   { color: #B02A37; font-weight: 700; }
.cs-coi-amber { color: #B8860B; font-weight: 700; }
.cs-coi-green { color: #1E7E34; }
