/* Admin dashboard + bookings shell — global (Interactive Server does not use Client scoped CSS) */
/* Home dashboard (.db-*) */
.db {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.25rem 0.15rem 2rem;
    color: #0f172a;
}

.db-loader {
    margin-bottom: 1rem;
    border-radius: 999px;
}

.db-alert {
    margin-bottom: 1rem;
}

/* Hero */
.db-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.25rem;
    margin-bottom: 1.35rem;
}

.db-hero__title {
    margin: 0;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #0f172a;
}

.db-hero__sub {
    margin: 0.35rem 0 0;
    color: #64748b;
    font-size: 0.95rem;
}

.db-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.db-datechip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.db-datechip i {
    color: #64748b;
}

.db-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    background: #3b82f6;
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.28);
    transition: background 0.15s ease, transform 0.15s ease;
}

.db-btn-primary:hover {
    background: #2563eb;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Metric cards */
.db-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.db-metric {
    position: relative;
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 16px;
    padding: 1rem 1.05rem 0.65rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 10px 28px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    min-width: 0;
}

.db-metric__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.db-metric__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--m-color) 14%, #fff);
    color: var(--m-color);
    font-size: 1rem;
}

.db-metric__menu {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1;
    letter-spacing: 0.05em;
}

.db-metric__label {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
}

.db-metric__value {
    display: block;
    margin-top: 0.2rem;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.1;
}

.db-metric__trend {
    margin-top: 0.35rem;
}

.db-metric__delta {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.db-metric__delta.is-up {
    color: #16a34a;
}

.db-spark {
    display: block;
    width: calc(100% + 2.1rem);
    height: 36px;
    margin: 0.55rem -1.05rem -0.65rem;
}

.db-spark__line {
    fill: none;
    stroke: var(--m-color);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.db-spark__area {
    fill: color-mix(in srgb, var(--m-color) 16%, transparent);
    stroke: none;
}

/* Cards / grid */
.db-main,
.db-lower {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.db-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.db-lower {
    grid-template-columns: 1.4fr 1fr;
}

.db-card {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 10px 28px rgba(15, 23, 42, 0.04);
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.db-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.15rem 0.35rem;
}

.db-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 750;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.db-card__link {
    font-size: 0.85rem;
    font-weight: 650;
    color: #3b82f6;
    text-decoration: none;
    white-space: nowrap;
}

.db-card__link:hover {
    text-decoration: underline;
}

.db-card__body {
    padding: 0.65rem 1.15rem 1.15rem;
    flex: 1 1 auto;
}

.db-card__body--scroll {
    max-height: 340px;
    overflow-y: auto;
}

.db-card__body--chart {
    position: relative;
}

.db-empty {
    margin: 0.5rem 0 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.db-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 180px;
    color: #94a3b8;
    text-align: center;
}

.db-empty-state i {
    font-size: 1.75rem;
    color: #cbd5e1;
}

.db-empty-state p {
    margin: 0;
    font-size: 0.92rem;
}

/* Pipeline */
.db-pipe {
    list-style: none;
    margin: 0;
    padding: 0.25rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.db-pipe__row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "meta pct"
        "track track";
    gap: 0.25rem 0.65rem;
    align-items: center;
}

.db-pipe__meta {
    grid-area: meta;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.db-pipe__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.db-pipe__count {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

.db-pipe__track {
    grid-area: track;
    height: 8px;
    border-radius: 999px;
    background: #f1f5f9;
    overflow: hidden;
}

.db-pipe__fill {
    height: 100%;
    border-radius: 999px;
    min-width: 0;
    transition: width 0.35s ease;
}

.db-pipe__pct {
    grid-area: pct;
    font-size: 0.8rem;
    font-weight: 650;
    color: #64748b;
    text-align: right;
}

/* Donut + legend */
.db-donut-wrap {
    position: relative;
}

.db-donut-center {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.db-donut-center strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.db-donut-center span {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
}

.db-legend {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.db-legend li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.55rem;
    align-items: center;
    font-size: 0.86rem;
}

.db-legend__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.db-legend__name {
    color: #475569;
    font-weight: 550;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.db-legend__pct {
    color: #0f172a;
    font-weight: 700;
}

/* Activity feed */
.db-feed {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.db-feed__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.7rem;
    align-items: start;
    padding: 0.65rem 0.15rem;
    border-bottom: 1px solid #f1f5f9;
}

.db-feed__item:last-child {
    border-bottom: 0;
}

.db-feed__avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.db-feed__avatar.is-info {
    background: #dcfce7;
    color: #16a34a;
}

.db-feed__avatar.is-success {
    background: #dbeafe;
    color: #2563eb;
}

.db-feed__title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
}

.db-feed__desc {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: #64748b;
}

.db-feed__time {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
    white-space: nowrap;
}

/* Tasks */
.db-tasks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.db-tasks__item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.7rem 0.75rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.db-tasks__badge {
    flex: 0 0 auto;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: #fef3c7;
    color: #b45309;
}

.db-tasks__text {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
}

@media (max-width: 1100px) {
    .db-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .db-main {
        grid-template-columns: 1fr 1fr;
    }

    .db-main .db-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .db-metrics,
    .db-main,
    .db-lower {
        grid-template-columns: 1fr;
    }

    .db-main .db-card:last-child {
        grid-column: auto;
    }

    .db-hero__title {
        font-size: 1.35rem;
    }
}

/* â”€â”€ Admin Bookings â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bk {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0.5rem 0.25rem 2rem;
}

.bk .bi {
    font-size: 1rem !important;
    line-height: 1;
    vertical-align: middle;
}

.bk-shell {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04), 0 16px 48px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.bk-shell__body {
    padding: 0 1.5rem 1.5rem;
}

.bk-shell__foot {
    padding: 0.85rem 0 0.25rem;
    border-top: 1px solid #eef2f7;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #64748b;
}

.bk-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.bk-pagination__summary strong {
    color: #0f172a;
}

.bk-pagination__controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.bk-pagination__page {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    padding: 0 0.35rem;
    white-space: nowrap;
}

.bk-select-wrap--pager {
    width: auto;
    min-width: 7.5rem;
}

.bk-select--pager {
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    line-height: 36px;
    font-size: 0.82rem;
    padding-left: 0.65rem;
}

.bk-header {
    margin-bottom: 0;
    padding-top: 0.35rem;
}

.bk-header--inset {
    padding: 1.35rem 1.5rem 1.15rem;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
}

.bk-header--with-action {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.bk-header--detail {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.bk-header__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.bk-header__title {
    margin: 0;
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.bk-header__sub {
    margin: 0.45rem 0 0;
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.45;
}

.bk-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.bk-back:hover {
    text-decoration: underline;
}

.bk-panel {
    background: #f8fafc;
    border: 1px solid #e8eef5;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.bk-panel--highlight {
    background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
    border-color: #bfdbfe;
}

.bk-panel__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid #e8eef5;
    background: #fff;
}

.bk-panel__icon {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    color: #2563eb;
    font-size: 1.05rem;
}

.bk-panel__icon .bi {
    font-size: 1.05rem !important;
    line-height: 1;
}

.bk-panel__icon--accent {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #fff;
}

.bk-panel__head h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.bk-panel__body {
    padding: 1.1rem 1.15rem 1.15rem;
}

.bk-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.bk-card--section {
    margin-bottom: 1rem;
}

.bk-card--summary {
    margin-bottom: 1rem;
    border-color: #bfdbfe;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.bk-card__head {
    padding: 0.95rem 1.25rem;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
}

.bk-card__head h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bk-card__head h2 i {
    color: #2563eb;
    font-size: 1rem;
}

.bk-card__body {
    padding: 1.15rem 1.25rem 1.25rem;
}

.bk-card__foot {
    padding: 0.85rem 1.25rem;
    border-top: 1px solid #eef2f7;
    background: #fafbfd;
    font-size: 0.85rem;
    color: #64748b;
}

.bk-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eef2f7;
    background: #fff;
    align-items: center;
}

.bk-toolbar__search {
    flex: 1 1 220px;
    position: relative;
    min-width: 0;
}

.bk-toolbar__search i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.bk-toolbar__search .bk-input {
    padding-left: 2.35rem;
}

.bk-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.bk-select-wrap--toolbar {
    min-width: 170px;
    max-width: 200px;
}

.bk-select-wrap--full,
.bk-field .bk-select-wrap {
    display: flex;
    width: 100%;
}

.bk-select-wrap__chevron {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #64748b;
    font-size: 0.85rem !important;
}

.bk-input,
.bk-select {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 0.85rem;
    font: inherit;
    font-size: 0.9rem;
    color: #0f172a;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bk-input {
    height: 42px;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.bk-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    line-height: 42px;
    padding-right: 2.35rem;
    cursor: pointer;
}

.bk-select option {
    color: #0f172a;
    background: #fff;
}

.bk-input--area {
    height: auto;
    min-height: 88px;
    max-height: none;
    line-height: 1.45;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    resize: vertical;
}

.bk-input:focus,
.bk-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.bk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.bk-btn--primary {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.bk-btn--primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

.bk-btn--outline {
    background: #fff;
    color: #2563eb;
    border-color: #bfdbfe;
}

.bk-btn--outline:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.bk-btn--sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
}

.bk-btn--block {
    width: 100%;
}

.bk-toolbar .bk-btn {
    height: 42px;
    flex-shrink: 0;
}

.bk-table-wrap {
    overflow-x: auto;
}

.bk-table-wrap--flush .bk-table thead th:first-child,
.bk-table-wrap--flush .bk-table tbody td:first-child {
    padding-left: 1.25rem;
}

.bk-table-wrap--flush .bk-table thead th:last-child,
.bk-table-wrap--flush .bk-table tbody td:last-child {
    padding-right: 1.25rem;
}

.bk-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.bk-table thead th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.bk-table tbody td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.bk-table tbody tr:hover {
    background: #f8fafc;
}

.bk-table tbody tr:last-child td {
    border-bottom: 0;
}

.bk-table--compact thead th,
.bk-table--compact tbody td {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.bk-table__primary {
    display: block;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
}

.bk-table__secondary {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.35;
}

.bk-table__ref {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.82rem;
    font-weight: 600;
    color: #2563eb;
}

.bk-table__link {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.bk-table__link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.bk-table__money {
    font-weight: 600;
}

.bk-table__money--paid {
    color: #15803d;
}

.bk-table__money--pending {
    color: #b45309;
}

.bk-table__money-sep {
    margin: 0 0.25rem;
    color: #cbd5e1;
}

.bk-table__actions {
    text-align: right;
    white-space: nowrap;
}

.bk-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.bk-badge--lg {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
}

.bk-badge--muted {
    background: #f1f5f9;
    color: #475569;
}

.bk-badge--neutral {
    background: #e2e8f0;
    color: #334155;
}

.bk-badge--warning {
    background: #fef3c7;
    color: #b45309;
}

.bk-badge--info {
    background: #dbeafe;
    color: #1d4ed8;
}

.bk-badge--success {
    background: #dcfce7;
    color: #15803d;
}

.bk-badge--danger {
    background: #fee2e2;
    color: #b91c1c;
}

.bk-badge--purple {
    background: #ede9fe;
    color: #6d28d9;
}

.bk-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 3rem 1.5rem;
    color: #64748b;
}

.bk-spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid #e2e8f0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: bk-spin 0.7s linear infinite;
}

@keyframes bk-spin {
    to { transform: rotate(360deg); }
}

.bk-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 3rem 1.5rem;
    text-align: center;
    color: #64748b;
}

.bk-empty i {
    font-size: 2rem;
    color: #cbd5e1;
    margin-bottom: 0.35rem;
}

.bk-empty p {
    margin: 0;
    font-weight: 600;
    color: #334155;
}

.bk-empty span {
    font-size: 0.88rem;
}

.bk-alert {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.92rem;
}

.bk-alert--warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.bk-alert--danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    margin-bottom: 1rem;
}

.bk-alert--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    margin-bottom: 1rem;
}

.bk-empty .bk-btn {
    margin-top: 0.85rem;
}

.bk-empty--compact {
    padding: 2rem 1rem;
    margin-top: 0.5rem;
}

.bk-empty--compact i {
    font-size: 1.75rem !important;
}

.bk-tenant-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.bk-tenant-grid__full {
    grid-column: 1 / -1;
}

.bk-info-grid--compact {
    margin-bottom: 0.25rem;
}

.bk-info--wide {
    grid-column: 1 / -1;
}

.bk-form--divider {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eef2f7;
}

.bk-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 1.25rem;
}

.bk-form-row .bk-field {
    flex: 1 1 240px;
    min-width: 0;
}

.bk-form-row > .bk-btn {
    height: 42px;
    margin-bottom: 0;
}

.bk-btn--danger-outline {
    background: #fff;
    color: #dc2626;
    border-color: #fecaca;
}

.bk-btn--danger-outline:hover:not(:disabled) {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fca5a5;
}

.bk-btn--danger-outline:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.bk-header__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
}

.bk-form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 0.35rem;
    padding-top: 0.25rem;
}

.bk-alert--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    line-height: 1.45;
}

.bk-photo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
}

.bk-photo__avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #e2e8f0, 0 6px 16px rgba(15, 23, 42, 0.08);
    background: #f8fafc;
}

.bk-photo__placeholder {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eff6ff;
    color: #2563eb;
    font-size: 1.75rem;
    border: 1px dashed #93c5fd;
}

.bk-photo .bk-input {
    height: auto;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    font-size: 0.82rem;
}

/* Bootstrap / Mud controls inside booking shell â€” match rounded inputs */
.bk .form-control,
.bk .form-select,
.bk-shell .form-control,
.bk-shell .form-select {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    min-height: 42px;
    font-size: 0.9rem;
    color: #0f172a;
}

.bk .form-control:focus,
.bk .form-select:focus,
.bk-shell .form-control:focus,
.bk-shell .form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.bk .mud-table,
.bk-shell .mud-table {
    background: transparent;
    box-shadow: none !important;
}

.bk .mud-table-container,
.bk-shell .mud-table-container {
    border-radius: 12px;
    overflow: hidden;
}

.bk .mud-table th,
.bk-shell .mud-table th {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b !important;
}

.bk .mud-button-filled,
.bk-shell .mud-button-filled {
    border-radius: 10px !important;
}

.bk-spinner--sm {
    width: 0.95rem;
    height: 0.95rem;
    border-width: 2px;
}

/* Multi-color / gradient company brand name */
.brand-name__seg {
    display: inline;
}

.brand-name__seg--gradient {
    background-image: linear-gradient(180deg, var(--bn-c1, #ff8a00) 0%, var(--bn-c2, #ffd54a) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.bk-muted {
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
}

.bk-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 1.15rem;
    align-items: start;
}

.bk-layout__main {
    min-width: 0;
}

.bk-layout__aside {
    min-width: 0;
    position: sticky;
    top: 1rem;
}

.bk-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.bk-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 12px;
}

.bk-info__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.bk-info__value {
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    word-break: break-word;
}

.bk-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bk-list__item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.bk-list__item:last-child {
    border-bottom: 0;
}

.bk-list__avatar {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    color: #2563eb;
    border-radius: 10px;
}

.bk-list__avatar .bi {
    font-size: 1rem !important;
    line-height: 1;
}

.bk-list__content {
    min-width: 0;
}

.bk-list__content strong {
    display: block;
    font-size: 0.92rem;
    color: #0f172a;
    line-height: 1.35;
}

.bk-list__content span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.35;
}

.bk-list__item strong {
    display: block;
    font-size: 0.92rem;
    color: #0f172a;
}

.bk-list__item span {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.82rem;
    color: #64748b;
}

.bk-timeline {
    list-style: none;
    margin: 0;
    padding: 1rem 1.25rem 1.25rem;
}

.bk-timeline__item {
    display: flex;
    gap: 0.85rem;
    padding-bottom: 1.1rem;
    position: relative;
}

.bk-timeline__item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 0.45rem;
    top: 1.1rem;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.bk-timeline__dot {
    flex-shrink: 0;
    width: 0.95rem;
    height: 0.95rem;
    margin-top: 0.2rem;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 4px #dbeafe;
}

.bk-timeline__body {
    min-width: 0;
}

.bk-timeline__body time {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bk-timeline__body p {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.45;
}

.bk-timeline__body p strong {
    color: #0f172a;
}

.bk-timeline__arrow {
    font-size: 1.1rem !important;
    color: #94a3b8;
    vertical-align: middle;
    margin: 0 0.1rem;
}

.bk-timeline__note {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.45;
}

.bk-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0;
    font-size: 0.92rem;
    color: #475569;
}

.bk-summary-row + .bk-summary-row {
    border-top: 1px dashed #e2e8f0;
}

.bk-summary-row strong {
    font-size: 1rem;
    color: #0f172a;
}

.bk-summary-row--success strong {
    color: #15803d;
}

.bk-summary-row--danger strong {
    color: #b91c1c;
    font-size: 1.1rem;
}

.bk-summary-row--muted {
    font-size: 0.85rem;
    color: #64748b;
}

.bk-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.bk-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.bk-field > span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
}

.bk-link-result {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
}

.bk-link-result span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #15803d;
    margin-bottom: 0.25rem;
}

.bk-link-result a {
    font-size: 0.82rem;
    word-break: break-all;
}

.bk-code {
    font-size: 0.78rem;
    color: #475569;
    background: #f1f5f9;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

@media (max-width: 991px) {
    .bk-layout {
        grid-template-columns: 1fr;
    }

    .bk-layout__aside {
        position: static;
    }

    .bk-tenant-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .bk {
        padding: 0.25rem 0.15rem 1.5rem;
    }

    .bk-shell__body {
        padding: 0 1rem 1rem;
    }

    .bk-header--inset {
        padding: 1.1rem 1rem 1rem;
    }

    .bk-toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }

    .bk-select-wrap--toolbar {
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    .bk-info-grid {
        grid-template-columns: 1fr;
    }

    .bk-header--detail {
        flex-direction: column;
    }

    .bk-pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .bk-pagination__controls {
        justify-content: space-between;
    }

    .bk-table--tenants thead {
        display: none;
    }

    .bk-table--tenants tbody tr {
        display: block;
        border: 1px solid #e8eef5;
        border-radius: 12px;
        margin-bottom: 0.75rem;
        padding: 0.35rem 0;
        background: #fff;
    }

    .bk-table--tenants tbody td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.55rem 1rem;
        border: none;
        border-bottom: 1px solid #f1f5f9;
    }

    .bk-table--tenants tbody td:last-child {
        border-bottom: none;
        justify-content: flex-end;
        padding-top: 0.65rem;
    }

    .bk-table--tenants tbody td::before {
        content: attr(data-label);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #94a3b8;
        flex-shrink: 0;
    }

    .bk-table--tenants tbody td[data-label=""]::before {
        content: none;
    }

    .bk-table--domains thead {
        display: none;
    }

    .bk-table--domains tbody tr {
        display: block;
        border: 1px solid #e8eef5;
        border-radius: 12px;
        margin-bottom: 0.75rem;
        padding: 0.35rem 0;
        background: #fff;
    }

    .bk-table--domains tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        padding: 0.55rem 1rem;
        border: none;
        border-bottom: 1px solid #f1f5f9;
    }

    .bk-table--domains tbody td:last-child {
        border-bottom: none;
        justify-content: flex-end;
    }

    .bk-table--domains tbody td::before {
        content: attr(data-label);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #94a3b8;
    }

    .bk-table--domains tbody td[data-label=""]::before {
        content: none;
    }

    .bk-table--payments thead {
        display: none;
    }

    .bk-table--payments tbody tr {
        display: block;
        border: 1px solid #e8eef5;
        border-radius: 12px;
        margin-bottom: 0.75rem;
        padding: 0.35rem 0;
        background: #fff;
    }

    .bk-table--payments tbody td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.55rem 1rem;
        border: none;
        border-bottom: 1px solid #f1f5f9;
    }

    .bk-table--payments tbody td:last-child {
        border-bottom: none;
        justify-content: flex-end;
        padding-top: 0.65rem;
    }

    .bk-table--payments tbody td::before {
        content: attr(data-label);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #94a3b8;
        flex-shrink: 0;
        padding-top: 0.1rem;
    }

    .bk-table--payments tbody td[data-label=""]::before {
        content: none;
    }

    .bk-form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .bk-form-row > .bk-btn {
        width: 100%;
    }
}

/* Subscription lock / renew experience */
.sub-lock__body {
    max-width: 720px;
    margin: 0 auto;
}

.sub-lock__grid {
    display: grid;
    gap: 1rem;
}

.sub-lock__card {
    border-radius: 16px;
}

.sub-lock__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 1.75rem;
}

.sub-lock__icon--warn {
    background: #fff7ed;
    color: #c2410c;
}

.sub-lock__icon--success {
    background: #ecfdf5;
    color: #059669;
}

.sub-lock__icon--danger {
    background: #fef2f2;
    color: #dc2626;
}

.sub-lock__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.25rem;
}

.sub-lock__desc {
    margin: 1.25rem 0;
}

.sub-lock__renew-form {
    display: grid;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.sub-lock__quote {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    background: #f8fafc;
}

.sub-lock__quote-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
}

.sub-lock__quote-row--success {
    color: #059669;
}

.sub-lock__quote-row--total {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
    font-size: 1.05rem;
}

.sub-lock__safe {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #eff6ff;
    color: #1e3a5f;
}

.sub-lock__safe i {
    font-size: 1.25rem;
    color: #2563eb;
    margin-top: 0.15rem;
}

.sub-lock__safe p {
    margin: 0.2rem 0 0;
    font-size: 0.92rem;
    color: #475569;
}

.sub-lock__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.92rem;
}

.sub-lock__quick a {
    color: #2563eb;
    text-decoration: none;
}

.sub-lock__quick a:hover {
    text-decoration: underline;
}

.sub-lock__success-grid {
    text-align: left;
    margin: 1.25rem auto;
    max-width: 420px;
}

.bk-btn--block {
    width: 100%;
    justify-content: center;
}

.bk-grace-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
}

.bk-grace-banner__text {
    margin: 0;
    flex: 1 1 240px;
    font-size: 0.95rem;
}

.bk-grace-banner__text strong {
    display: block;
    margin-bottom: 0.15rem;
}

.tm-nav__link--locked,
.tm-nav__group-btn--locked {
    opacity: 0.55;
    cursor: not-allowed !important;
    pointer-events: none;
}

.tm-nav__lock {
    margin-left: auto;
    font-size: 0.85rem;
    opacity: 0.9;
}
