:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .spinner {
    width: 36px;
    height: 36px;
    border: 4px solid #e5e7eb;
    border-top-color: var(--bookaro-dashboard-accent, #3b82f6);
    border-radius: 50%;
    animation: bookaro-spin 1s linear infinite;
}

@keyframes bookaro-spin {
    to { transform: rotate(360deg); }
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-header {
    background: var(--bookaro-dashboard-surface, #ffffff);
    border-bottom: var(--bookaro-dashboard-border-width, 1px) solid var(--bookaro-dashboard-border, #e2e8f0);
    padding: 1rem 1.25rem;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-nav {
    background: var(--bookaro-dashboard-surface, #ffffff);
    border: var(--bookaro-dashboard-border-width, 1px) solid var(--bookaro-dashboard-border, #e2e8f0);
    border-radius: 999px;
    margin: 1rem 1.25rem;
    box-shadow: var(--bookaro-dashboard-shadow, 0 6px 16px rgba(15, 23, 42, 0.06));
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-nav__inner {
    display: flex;
    gap: 0.5rem;
    padding: 0.4rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scroll-padding-inline: 0.75rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    justify-content: center;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-nav__inner::-webkit-scrollbar {
    display: none;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-nav__item {
    appearance: none;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    white-space: nowrap;
    scroll-snap-align: start;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-nav__item:hover {
    border-color: var(--bookaro-dashboard-accent, #3498db);
    color: var(--bookaro-dashboard-accent, #3498db);
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-nav__item.is-active {
    background: var(--bookaro-dashboard-accent, #3498db);
    border-color: var(--bookaro-dashboard-accent, #3498db);
    color: #ffffff;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-nav__icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-nav__icon svg {
    width: 20px;
    height: 20px;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-nav__badge {
    background: rgba(15, 23, 42, 0.08);
    color: currentColor;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    line-height: 1.2;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-nav__item.is-active .bookaro-dashboard-nav__badge {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-subnav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    padding: 0.7rem;
    justify-content: center;
    background: var(--bookaro-dashboard-surface, #ffffff);
    border: var(--bookaro-dashboard-border-width, 1px) solid var(--bookaro-dashboard-border, #e2e8f0);
    border-radius: 999px;
    box-shadow: var(--bookaro-dashboard-shadow, 0 6px 16px rgba(15, 23, 42, 0.06));
    width: min(100%, 1130px);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scroll-padding-inline: 0.75rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-subnav::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    :is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-subnav {
        justify-content: flex-start;
        width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0.4rem 0.5rem;
    }

    :is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-subnav__item {
        flex: 0 0 auto;
        scroll-snap-align: start;
        white-space: nowrap;
    }
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-subnav__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-subnav__item:hover {
    border-color: var(--bookaro-dashboard-accent, #3498db);
    color: var(--bookaro-dashboard-accent, #3498db);
    background: transparent;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-subnav__item.is-active {
    background: var(--bookaro-dashboard-accent, #3498db);
    border-color: var(--bookaro-dashboard-accent, #3498db);
    color: #ffffff;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-subnav__icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

:is(.bookaro-scope,#bookaro-booking-app,#bookaro-provider-dashboard,#bookaro-owner-dashboard) .bookaro-dashboard-subnav__icon svg {
    width: 16px;
    height: 16px;
}

.bookaro-profiles {
    display: grid;
    gap: 16px;
}

.bookaro-profiles__tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bookaro-profiles__tabs .bookaro-btn.is-active {
    background: var(--bookaro-booking-accent, #3b82f6);
    color: #ffffff;
}

.bookaro-profiles__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bookaro-profiles__list {
    display: grid;
    gap: 12px;
}

.bookaro-profile-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--bookaro-booking-slot_border, #e5e7eb);
    background: #ffffff;
}

.bookaro-profile-card__title {
    font-weight: 600;
    color: #111827;
}

.bookaro-profile-card__meta {
    font-size: 0.75rem;
    color: #6b7280;
}

.bookaro-profile-card__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bookaro-profile-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 70;
    padding: 12vh 0 6vh;
}

.bookaro-profile-modal__card {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    width: min(620px, 92vw);
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
}
