/* ===== Do ALL brand ===== */
:root {
    /* Brand palette: 70% white, 20% deep navy, 10% Do ALL logo magenta */
    --doall-navy: #0b1d42;
    --doall-navy-2: #12295a;
    --doall-pink: #d61f69;
    --doall-purple: #12295a;
    --doall-blue: #1b3a78;
    --doall-orange: #ff9a1f;
    --doall-ink: #0b1d42;
    --doall-gradient: linear-gradient(135deg, #d61f69 0%, #b8145e 100%);
}
.text-brand { color: var(--doall-purple) !important; }
.bg-brand-gradient { background: var(--doall-gradient) !important; color: #fff; }
.badge-brand { background: var(--doall-gradient); color: #fff; }
.btn-brand { background: var(--doall-gradient); border: 0; color: #fff; font-weight: 600; box-shadow: 0 4px 14px rgba(164, 44, 245, .35); }
.btn-brand:hover, .btn-brand:focus { color: #fff; filter: brightness(1.08); box-shadow: 0 6px 18px rgba(164, 44, 245, .45); }
.btn-outline-brand { border: 2px solid var(--doall-purple); color: var(--doall-purple); font-weight: 600; background: #fff; }
.btn-outline-brand:hover { background: var(--doall-gradient); color: #fff; border-color: transparent; }
.brand-logo { height: 40px; width: auto; }
.brand-gradient-text { background: var(--doall-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.doall-footer a.doall-link { font-weight: 700; }
.doall-footer .doall-mini-logo { height: 22px; vertical-align: middle; margin-right: 6px; }

/* Admin (AdminLTE) */
.main-sidebar { background: var(--doall-ink) !important; }
.main-sidebar .brand-link { background: var(--doall-gradient); border-bottom: 0 !important; display: flex; align-items: center; color: #fff !important; }
.main-sidebar .brand-link .brand-image { float: none; max-height: 40px; margin: 0 10px 0 6px; box-shadow: none !important; opacity: 1; }
.main-sidebar .brand-link .brand-text { font-weight: 700 !important; letter-spacing: .3px; }
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active { background: var(--doall-gradient); color: #fff; box-shadow: 0 3px 10px rgba(164, 44, 245, .4); }
.sidebar-dark-primary .nav-header { color: #b9a6ff !important; }
.main-header.navbar { border-bottom: 3px solid transparent; border-image: var(--doall-gradient) 1; }
.main-footer.doall-footer { border-top: 3px solid transparent; border-image: var(--doall-gradient) 1; }

/* ===== Shared ===== */
.min-w-0 { min-width: 0; }
.text-xs { font-size: .75rem; }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; }

.login-bg {
    background: radial-gradient(circle at 15% 20%, rgba(255, 46, 147, .35), transparent 45%),
                radial-gradient(circle at 85% 80%, rgba(47, 107, 255, .35), transparent 45%),
                var(--doall-ink);
    min-height: 100vh;
}
.login-bg .card-outline.card-primary { border-top: 4px solid var(--doall-purple); }
.login-logo-img { height: 96px; width: auto; filter: drop-shadow(0 6px 16px rgba(164, 44, 245, .45)); }
.login-footer { color: rgba(255, 255, 255, .7); }
.login-footer a { color: #fff; }

/* ===== Facility icons ===== */
.facility-icon, .facility-icon-lg {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px; background: rgba(0, 123, 255, .1); color: #007bff; flex-shrink: 0;
}
.facility-icon { width: 42px; height: 42px; font-size: 1.15rem; }
.facility-icon-lg { width: 60px; height: 60px; font-size: 1.6rem; border-radius: 16px; }

.facility-card { transition: transform .15s, box-shadow .15s; }
.facility-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .08); }
.facility-card.inactive { opacity: .55; }

.facility-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.facility-chip {
    width: 30px; height: 30px; border-radius: 8px; background: #f1f5fb; color: #3c6fb4;
    display: inline-flex; align-items: center; justify-content: center; font-size: .85rem;
}

/* Icon picker (facility form) */
.icon-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; max-height: 320px; overflow-y: auto; }
.icon-option {
    border: 1px solid #dee2e6; border-radius: 8px; padding: 10px 4px; text-align: center; cursor: pointer;
    font-size: 1.3rem; color: #495057; background: #fff; transition: all .15s;
}
.icon-option span { display: block; font-size: .65rem; margin-top: 4px; color: #6c757d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-option:hover { border-color: #007bff; color: #007bff; }
.icon-option.active { border-color: #007bff; background: #007bff; color: #fff; }
.icon-option.active span { color: #e9f2ff; }

/* Facility tiles (room form) */
.facility-tile { border: 2px solid #e9ecef; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; height: 100%; }
.facility-tile-head { display: flex; align-items: center; gap: 10px; padding: 10px; cursor: pointer; font-weight: normal; }
.facility-tile .tick { color: #ced4da; font-size: 1.2rem; }
.facility-tile-body { padding: 0 10px 10px; display: none; }
.facility-tile.selected { border-color: #17a2b8; box-shadow: 0 4px 12px rgba(23, 162, 184, .15); }
.facility-tile.selected .tick { color: #17a2b8; }
.facility-tile.selected .facility-tile-body { display: block; }

/* ===== Room cards ===== */
.room-card { overflow: hidden; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.room-card.inactive { opacity: .65; }
.room-card-img, .room-hero, .room-photo-preview, .selected-room-thumb {
    background: linear-gradient(135deg, #4b6cb7, #182848) center / cover no-repeat;
    color: rgba(255, 255, 255, .6); display: flex; align-items: center; justify-content: center; position: relative;
}
.room-card-img { height: 150px; font-size: 3rem; }
.room-hero { height: 240px; font-size: 5rem; }
.room-photo-preview { height: 160px; border-radius: 8px; font-size: 3rem; }
.selected-room-thumb { width: 70px; height: 70px; border-radius: 12px; font-size: 1.8rem; flex-shrink: 0; }
.room-card-img .room-code, .room-card-img .room-status { position: absolute; top: 10px; font-size: .75rem; }
.room-card-img .room-code { left: 10px; background: rgba(0, 0, 0, .55); color: #fff; padding: 2px 8px; border-radius: 4px; }
.room-card-img .room-status { right: 10px; }

/* ===== Public site ===== */
.public-body { background: #f4f6f9; font-family: 'Source Sans Pro', sans-serif; }
.public-nav { background: var(--doall-ink); border-bottom: 3px solid transparent; border-image: var(--doall-gradient) 1; }
.public-nav .navbar-brand img { height: 42px; margin-right: 10px; }
.public-nav .nav-link.btn-brand { padding: .35rem 1rem; border-radius: 20px; margin-left: .5rem; }
.public-footer { background: var(--doall-ink); color: rgba(255, 255, 255, .7); border-top: 3px solid transparent; border-image: var(--doall-gradient) 1; }
.public-footer a { color: #fff; }
.public-footer a.text-muted { color: rgba(255, 255, 255, .55) !important; }
.public-hero { background: var(--doall-gradient); color: #fff; border-radius: 14px; padding: 28px 30px; box-shadow: 0 10px 30px rgba(164, 44, 245, .25); }

/* Landing & pricing */
.doall-hero { background: radial-gradient(circle at 10% 10%, rgba(255, 46, 147, .45), transparent 40%), radial-gradient(circle at 90% 90%, rgba(47, 107, 255, .45), transparent 40%), var(--doall-ink); color: #fff; border-radius: 18px; padding: 48px 36px; }
.doall-hero img { height: 140px; filter: drop-shadow(0 8px 24px rgba(255, 46, 147, .45)); }
.doall-hero h1 { font-weight: 800; }
/* Pricing page */
.pricing-hero { position: relative; overflow: hidden; color: #fff; border-radius: 24px; padding: 64px 24px 150px;
    background: radial-gradient(circle at 12% 18%, rgba(255, 46, 147, .55), transparent 42%),
                radial-gradient(circle at 88% 30%, rgba(47, 107, 255, .55), transparent 45%),
                radial-gradient(circle at 50% 120%, rgba(164, 44, 245, .6), transparent 55%), var(--doall-ink); }
.pricing-badge { display: inline-block; padding: 6px 16px; border-radius: 30px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-size: .8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.pricing-title { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.15; max-width: 820px; margin: 0 auto 16px; }
.pricing-subtitle { font-size: 1.15rem; color: rgba(255, 255, 255, .75); max-width: 680px; margin: 0 auto 30px; }
.billing-toggle { display: inline-flex; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 40px; padding: 5px; backdrop-filter: blur(6px); }
.billing-toggle button { border: 0; background: transparent; border-radius: 34px; padding: 9px 26px; font-weight: 700; color: rgba(255, 255, 255, .8); transition: all .2s; }
.billing-toggle button.active { background: #fff; color: var(--doall-ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.billing-save { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 12px; background: var(--doall-gradient); color: #fff; font-size: .72rem; }
.pricing-plans { margin-top: -110px; position: relative; z-index: 2; padding: 0 12px; }

.plan-card { position: relative; width: 100%; background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(22, 17, 46, .10); display: flex; flex-direction: column; border: 1px solid #ece8f7; transition: transform .2s, box-shadow .2s; }
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(22, 17, 46, .16); }
.plan-card.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--doall-gradient) border-box; box-shadow: 0 18px 50px rgba(164, 44, 245, .28); }
.plan-card.contact-sales .plan-card-top { background: linear-gradient(160deg, #1d1640 0%, #16112e 100%); color: #fff; }
.plan-card.contact-sales .plan-name, .plan-card.contact-sales .plan-tagline, .plan-card.contact-sales .plan-price-note { color: rgba(255, 255, 255, .85); }
.plan-card.contact-sales .plan-name { color: #fff; }
.plan-card.contact-sales .btn-outline-brand { background: #fff; border-color: #fff; color: var(--doall-ink); }
.plan-card.contact-sales .btn-outline-brand:hover { background: var(--doall-gradient); color: #fff; }
.plan-card.inactive { opacity: .6; }
.plan-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--doall-gradient); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 16px; border-radius: 20px; text-transform: uppercase; letter-spacing: .6px; box-shadow: 0 4px 12px rgba(164, 44, 245, .4); z-index: 1; }
.plan-card-top { padding: 30px 28px 24px; border-radius: 19px 19px 0 0; }
.plan-name { font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; color: var(--doall-ink); }
.plan-tagline { color: #6c757d; min-height: 48px; margin-bottom: 18px; font-size: .95rem; }
.plan-price { display: flex; align-items: baseline; gap: 6px; min-height: 56px; }
.plan-currency { font-weight: 700; color: #8a84a3; font-size: 1rem; }
.plan-amount { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -1px; background: var(--doall-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-amount-text { font-size: 2.5rem; }
.plan-cycle { color: #8a84a3; font-weight: 600; }
.plan-price-note { color: #8a84a3; font-size: .85rem; min-height: 26px; margin: 6px 0 20px; }
.plan-save { display: inline-block; padding: 1px 8px; border-radius: 10px; background: #e8fff1; color: #138a47; font-weight: 700; font-size: .75rem; }
.plan-cta { border-radius: 12px; font-size: 1rem; padding: 12px; }
.plan-card-body { padding: 4px 28px 28px; flex: 1; }
.plan-section-title { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: #8a84a3; margin: 18px 0 10px; }
.plan-limits, .plan-features { list-style: none; padding: 0; margin: 0; }
.plan-limits li, .plan-features li { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; font-size: .94rem; }
.plan-limits li > i { width: 18px; text-align: center; color: var(--doall-purple); margin-top: 4px; }
.plan-unlimited { background: var(--doall-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-feature-icon { flex: 0 0 24px; height: 24px; border-radius: 8px; background: rgba(139, 44, 245, .1); color: var(--doall-purple); display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; margin-top: 1px; }
.plan-feature-value { color: var(--doall-purple); font-weight: 700; }
.plan-card-admin { padding: 14px 20px 18px; border-top: 1px solid #f0edf8; }

.pricing-section { padding: 56px 0 8px; }
.pricing-section-title { text-align: center; font-weight: 800; color: var(--doall-ink); margin-bottom: 28px; font-size: 2rem; }
.compare-wrap { background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(22, 17, 46, .08); overflow: hidden; border: 1px solid #ece8f7; }
.compare-table th, .compare-table td { vertical-align: middle; border-top: 1px solid #f1eef9; padding: 14px 16px; }
.compare-table thead th { border-bottom: 0; border-top: 0; background: #fff; position: sticky; top: 0; z-index: 1; padding-top: 22px; }
.compare-feature-col { min-width: 260px; text-align: left; }
.compare-table td.compare-feature-col { position: sticky; left: 0; background: #fff; }
.compare-plan-name { font-weight: 800; color: var(--doall-ink); font-size: 1.05rem; }
.compare-plan-price { color: #8a84a3; font-weight: 600; font-size: .9rem; }
.compare-table .is-featured { background: rgba(139, 44, 245, .045); }
.compare-table thead .is-featured { background: rgba(139, 44, 245, .08); box-shadow: inset 0 3px 0 var(--doall-purple); }
.compare-group td { background: #faf8ff !important; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--doall-purple); padding: 10px 16px !important; }
.compare-icon { width: 22px; color: #a39bc2; margin-right: 8px; text-align: center; }
.compare-yes { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center; background: var(--doall-gradient); color: #fff; font-size: .75rem; }
.compare-no { color: #cfcade; font-weight: 700; }
.compare-value { font-weight: 700; color: var(--doall-ink); font-size: .9rem; }
.compare-unlimited { font-weight: 700; background: var(--doall-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.compare-cta-row td { border-top: 1px solid #f1eef9; padding: 20px 16px 24px; }

.faq-item { background: #fff; border-radius: 14px; border: 1px solid #ece8f7; margin-bottom: 14px; overflow: hidden; transition: box-shadow .2s; }
.faq-item:hover { box-shadow: 0 6px 18px rgba(22, 17, 46, .07); }
.faq-question { width: 100%; text-align: left; background: transparent; border: 0; padding: 18px 20px; font-weight: 700; color: var(--doall-ink); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-question:focus { outline: none; }
.faq-question i { color: var(--doall-purple); transition: transform .2s; }
.faq-question:not(.collapsed) i { transform: rotate(45deg); }
.faq-answer { padding: 0 20px 18px; color: #5f5a75; }

.contact-panel { border-radius: 24px; overflow: hidden; box-shadow: 0 18px 50px rgba(22, 17, 46, .15); background: #fff; }
.contact-panel .contact-panel-intro { color: #fff; padding: 44px 40px; background: radial-gradient(circle at 0% 0%, rgba(255, 46, 147, .55), transparent 50%), radial-gradient(circle at 100% 100%, rgba(47, 107, 255, .55), transparent 50%), var(--doall-ink); }
.contact-panel-intro h2 { font-weight: 800; }
.contact-panel-intro p { color: rgba(255, 255, 255, .78); font-size: 1.05rem; }
.contact-logo { height: 70px; filter: drop-shadow(0 6px 16px rgba(255, 46, 147, .45)); }
.contact-link { color: #fff; font-weight: 700; }
.contact-link:hover { color: #fff; text-decoration: underline; }
.contact-panel .contact-panel-form { padding: 40px; }
.contact-panel-form label { font-weight: 600; font-size: .9rem; }
.contact-panel-form .form-control { border-radius: 10px; }
.contact-success { padding: 50px 10px; }
.contact-success-icon { display: inline-flex; width: 72px; height: 72px; border-radius: 50%; align-items: center; justify-content: center; background: var(--doall-gradient); color: #fff; font-size: 1.8rem; margin-bottom: 16px; }
@media (max-width: 767.98px) {
    .pricing-hero { padding: 44px 18px 130px; border-radius: 18px; }
    .contact-panel .contact-panel-intro, .contact-panel .contact-panel-form { padding: 28px 22px; }
}

.booking-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; padding: 0; }
.booking-steps li { color: rgba(255, 255, 255, .6); font-weight: 600; }
.booking-steps li span {
    display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center;
    border: 2px solid rgba(255, 255, 255, .6); margin-right: 6px; font-size: .8rem;
}
.booking-steps li.active, .booking-steps li.done { color: #fff; }
.booking-steps li.active span { background: #fff; color: #1e3c72; border-color: #fff; }
.booking-steps li.done span { background: #28a745; border-color: #28a745; color: #fff; }

.category-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.category-pills .btn { border-radius: 20px; padding-left: 14px; padding-right: 14px; }

.step-no {
    display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: #007bff; color: #fff;
    align-items: center; justify-content: center; font-size: .85rem; margin-right: 8px;
}

/* Slot grid */
.slot-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.slot-break { flex-basis: 100%; height: 4px; border-top: 1px dashed #dee2e6; margin: 4px 0; }
.slot {
    min-width: 86px; padding: 6px 8px; border-radius: 6px; font-size: .85rem; border: 1px solid #28a745;
    background: #fff; color: #28a745; transition: all .1s;
}
.slot.available:hover { background: #e8f6ec; }
.slot.selected { background: #007bff; border-color: #007bff; color: #fff; }
.slot.booked { background: #fdecea; border-color: #f5c2c0; color: #c0392b; cursor: not-allowed; text-decoration: line-through; }
.slot.past { background: #f1f3f5; border-color: #e9ecef; color: #adb5bd; cursor: not-allowed; }
.slot-legend span { margin-right: 14px; white-space: nowrap; }
.slot-key { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: middle; margin-right: 4px; border: 1px solid; }
.slot-key.available { border-color: #28a745; background: #fff; }
.slot-key.selected { border-color: #007bff; background: #007bff; }
.slot-key.booked { border-color: #f5c2c0; background: #fdecea; }
.slot-key.past { border-color: #e9ecef; background: #f1f3f5; }

/* Facility options (public) */
.facility-option {
    display: block; position: relative; text-align: center; padding: 16px 10px; border: 2px solid #e9ecef; border-radius: 12px;
    background: #fff; cursor: pointer; height: 100%; font-weight: normal; transition: all .15s; margin: 0;
}
.facility-option:hover { border-color: #9ec5fe; }
.facility-option .tick { position: absolute; top: 8px; right: 8px; color: #dee2e6; }
.facility-option.selected { border-color: #007bff; background: #f3f8ff; }
.facility-option.selected .tick { color: #007bff; }
.facility-option.locked { cursor: default; border-color: #28a745; background: #f4fbf6; }
.facility-option.locked .tick { color: #28a745; }

.booking-summary { position: sticky; top: 80px; }
.status-hero { border-top-width: 4px !important; }
.visit-live { border: 1px solid #e5e9f2; border-left: 4px solid #d61f69 !important; border-radius: .85rem; }
.visit-token { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; height: 96px; padding: 0 .75rem; border-radius: 1rem; background: #0b1d42; color: #fff; font-size: 2.6rem; font-weight: 800; box-shadow: 0 12px 30px rgba(11, 29, 66, .18); }

@media (max-width: 991.98px) {
    .booking-summary { position: static; }
}

.plan-feature-matrix tr.table-success-soft td { background: rgba(40, 167, 69, .05); }
.sales-status-tabs .nav-link { border-radius: 20px; }

.badge-brand-soft { background: rgba(124, 58, 237, .12); color: #6d28d9; font-weight: 600; }
.feature-override-table select { min-width: 150px; }


/* ---------- Registration ("Get Started") ---------- */
.register-section { margin-top: 40px; }
.register-steps { list-style: none; padding: 0; margin: 0 0 28px; }
.register-steps li { display: flex; align-items: flex-start; margin-bottom: 16px; }
.register-steps li > span { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--doall-gradient); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-right: 14px; box-shadow: 0 6px 16px rgba(255, 46, 147, .35); }
.register-steps strong { display: block; }
.register-steps small { color: rgba(255, 255, 255, .75); }
.license-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; padding: 26px 16px; border: 2px dashed #d5d0e6; border-radius: 16px; background: #faf9fe; cursor: pointer; text-align: center; font-weight: 400; transition: border-color .15s, background .15s; margin-bottom: 0; }
.license-drop i { font-size: 2rem; margin-bottom: 8px; background: var(--doall-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.license-drop small { color: #8a84a3; margin-top: 4px; }
.license-drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.license-drop:hover, .license-drop.dragging { border-color: #ff2e93; background: #fff5fa; }
.license-drop.has-file { border-style: solid; border-color: #28a745; background: #f3fbf5; }
.license-drop.is-invalid { border-color: #dc3545; }
.license-preview { width: 100%; height: 520px; border: 1px solid #e5e5ef; border-radius: 8px; }
.license-preview-img { max-width: 100%; max-height: 520px; border-radius: 8px; border: 1px solid #e5e5ef; }
