.online-booking-kpi .card-body {
    display: grid;
    gap: 0.45rem;
}

.online-booking-kpi span {
    color: var(--bs-secondary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.online-booking-kpi strong {
    font-family: Manrope, sans-serif;
    font-size: 2rem;
    line-height: 1;
}

.online-booking-kpi strong small {
    color: var(--bs-secondary-color);
    font-size: 1rem;
    font-weight: 500;
}

.online-booking-empty {
    border-style: dashed;
}

.booking-service-picker {
    display: grid;
    gap: 0.55rem;
    max-height: 13rem;
    overflow-y: auto;
    padding: 0.25rem;
}

.booking-service-category {
    border: 1px solid var(--bs-border-color);
    padding: 0.5rem;
}

.booking-service-category-toggle {
    border-bottom: 1px solid var(--bs-border-color);
    display: block;
    margin-bottom: 0.4rem;
    padding-bottom: 0.4rem;
}

.booking-service-category-items {
    display: grid;
    gap: 0.4rem;
    padding-left: 0.25rem;
}

.booking-availability-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-availability-day {
    align-items: center;
    border: 1px solid var(--bs-border-color);
    display: grid;
    gap: 0.45rem;
    grid-template-columns: minmax(4.4rem, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    padding: 0.55rem;
}

.booking-technician-profile {
    align-items: center;
    display: flex;
    gap: 0.65rem;
    max-width: 20rem;
}

.booking-technician-profile strong,
.booking-technician-profile small {
    display: block;
}

.booking-technician-profile small {
    color: var(--bs-secondary-color);
    line-height: 1.3;
    margin-top: 0.15rem;
}

.booking-technician-avatar,
.booking-technician-image-preview {
    align-items: center;
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
    overflow: hidden;
}

.booking-technician-avatar {
    border-radius: 50%;
    height: 2.5rem;
    width: 2.5rem;
}

.booking-technician-avatar img,
.booking-technician-image-preview img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.booking-technician-image-control {
    align-items: center;
    display: flex;
    gap: 0.75rem;
}

.booking-technician-image-preview {
    border: 1px solid var(--bs-border-color);
    border-radius: 4px;
    height: 4rem;
    width: 4rem;
}

.booking-technician-image-field input[name="technician_image_url"] {
    display: none;
}

.booking-technician-file-library {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
}

.booking-technician-file {
    background: transparent;
    border: 1px solid var(--bs-border-color);
    color: inherit;
    padding: 0.35rem;
    text-align: left;
}

.booking-technician-file:hover,
.booking-technician-file:focus {
    border-color: var(--bs-primary);
}

.booking-technician-file img {
    display: block;
    height: 6rem;
    object-fit: cover;
    width: 100%;
}

.booking-technician-file span {
    display: block;
    font-size: 0.78rem;
    overflow: hidden;
    padding: 0.35rem 0.1rem 0.05rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.salon-policy-editor-shell {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    overflow: hidden;
}

.salon-policy-editor {
    min-height: 185px;
}

.salon-policy-editor .ql-toolbar {
    border: 0;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
}

.salon-policy-editor .ql-container {
    border: 0;
    min-height: 185px;
    font: inherit;
}

.salon-policy-editor .ql-editor {
    min-height: 185px;
    padding: 0.75rem 1rem;
}

.salon-policy-editor .ql-editor p,
.salon-policy-editor .ql-editor ul,
.salon-policy-editor .ql-editor ol,
.salon-policy-editor .ql-editor blockquote,
.salon-policy-editor .ql-editor h1,
.salon-policy-editor .ql-editor h2,
.salon-policy-editor .ql-editor h3 {
    margin-bottom: 0.75rem;
}

.key-value-editor {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    padding: 0.75rem;
    display: grid;
    gap: 0.75rem;
}

.key-value-editor-rows {
    display: grid;
    gap: 0.75rem;
}

.key-value-editor-row {
    align-items: start;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(10rem, 1fr) minmax(12rem, 2fr) auto;
}

.key-value-editor-key,
.key-value-editor-value {
    min-width: 0;
}

.key-value-editor-row textarea {
    min-height: 4rem;
    resize: vertical;
}

@media (max-width: 767.98px) {
    .key-value-editor-row {
        grid-template-columns: 1fr;
    }
}

.service-category-row th {
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.service-category-row.category-drop-target th {
    box-shadow: inset 0 -3px 0 var(--bs-primary);
}

.service-category-row.category-reorder-target th {
    box-shadow: inset 0 3px 0 var(--bs-primary);
}

.service-category-row.category-dragging {
    opacity: 0.45;
}

tr[data-booking-service-row].service-dragging {
    opacity: 0.45;
}

tr[data-booking-service-row].service-reorder-target td {
    box-shadow: inset 0 3px 0 var(--bs-primary);
}

.service-category-name {
    background: transparent;
    border: 1px solid transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    max-width: 14rem;
    outline: none;
    padding: 0.1rem 0.25rem;
}

.service-category-name:not([readonly]):hover,
.service-category-name:not([readonly]):focus {
    background: var(--bs-body-bg);
    border-color: var(--bs-primary);
}

.service-cell-input {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 2px;
    color: inherit;
    min-width: 5rem;
    outline: none;
    padding: 0.18rem 0.28rem;
    width: 100%;
}

.service-cell-input:hover,
.service-cell-input:focus {
    background: var(--bs-tertiary-bg);
    border-color: var(--bs-primary);
}

.service-name-input {
    font-weight: 600;
}

.service-description-input {
    line-height: 1.35;
    min-width: 14rem;
    resize: vertical;
}

.service-number-input {
    display: inline-block;
    min-width: 4.5rem;
    width: 5.5rem;
}

.service-color-picker {
    background: transparent;
    border: 0;
    cursor: pointer;
    height: 1.8rem;
    padding: 0;
    width: 1.8rem;
    border-radius: 100%;
}

@media (max-width: 575.98px) {
    .booking-availability-grid {
        grid-template-columns: 1fr;
    }
}