/* Basic Frontend Styles */
.bw-frontend-wrapper {
    max-width: none !important;
    width: 100% !important;
    margin: 0 auto;
    background: transparent;
    border-radius: 8px;
    box-shadow: none;
    padding: 0;
    font-family: var(--bw-font-family, 'Inter', sans-serif);
    border: none;
    display: block !important;
}

/* Steps Progress Bar */
.ba-steps {
    display: flex;
    justify-content: center;
    margin: 30px auto;
    padding: 0 20px;
    max-width: 900px;
    gap: 30px;
}

.ba-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #64748b;
    position: relative;
}

.ba-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
}

.ba-step.active .ba-step-number,
.ba-step.completed .ba-step-number {
    background: var(--bw-primary-color, #2563eb) !important;
    color: white !important;
}

.ba-step.active .ba-step-number::before,
.ba-step.completed .ba-step-number::before {
    content: "";
    position: absolute;
    width: 48px;
    height: 48px;
    border: 2px solid var(--bw-primary-color, #2563eb);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

.ba-step.active .ba-step-text,
.ba-step.completed .ba-step-text {
    color: var(--bw-primary-color, #2563eb);
    font-weight: 600;
}

@media (max-width:768px) {
    .ba-steps {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }
}

.bw-app-wrapper,
.bw-force-fullwidth {
    width: 100% !important;
    max-width: 900px !important;
    margin-inline: auto !important;
    position: relative;
    left: auto;
    right: auto;
    transform: none;
}

.bw-wizard-container {
    min-height: 500px;
    width: 100% !important;
    max-width: none !important;
    display: flex;
    flex-direction: row;
    /* Stack steps and content horizontally */
    background: transparent;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

[v-cloak] {
    display: none;
}

/* Service & Staff Grids */
.bw-category-section {
    margin-bottom: 25px;
}

.bw-category-section h4 {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

.bw-service-grid,
.bw-staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.bw-service-card,
.bw-staff-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    text-align: center;
}

.bw-service-card:hover,
.bw-staff-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: #409eff;
    /* Element Plus Primary Color */
}

.bw-service-info h5,
.bw-staff-card h4 {
    margin: 0 0 8px 0;
    font-size: 1em;
    font-weight: 600;
}

.bw-price {
    display: block;
    font-weight: bold;
    color: #409eff;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.bw-duration,
.bw-staff-card p {
    font-size: 0.85em;
    color: #777;
    margin: 0;
}

.bw-staff-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid #f0f0f0;
}

/* Slot Buttons Grid */
.bw-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.bw-nav-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.bw-step-success {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
    text-align: left;
}

.bw-step-success .bw-summary-split {
    flex: 1;
    min-height: 280px;
}

.bw-success-confirm-column {
    display: flex;
    align-items: stretch;
}

.bw-success-confirm-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding: 8px 4px 0;
}

.bw-success-check {
    color: var(--bw-primary-color, #044343);
    margin-bottom: 16px;
    line-height: 0;
}

.bw-success-confirm-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 600;
    color: var(--bw-title-color, #044343);
    line-height: 1.3;
}

.bw-success-confirm-message {
    margin: 0 0 0;
    font-size: 14px;
    color: var(--bw-detail-text-color, #64748b);
    line-height: 1.5;
    max-width: 320px;
}

.bw-success-actions {
    margin-top: 24px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.bw-success-actions .bw-btn-continue {
    min-width: 180px;
    font-family: var(--bw-button-font-family, var(--bw-font-family, inherit));
    font-size: var(--bw-button-font-size, 1.05rem);
}

@media (max-width: 768px) {
    .bw-success-actions .bw-btn-continue {
        width: 100%;
        max-width: 320px;
    }
}

/* Sidebar Styling */
.bw-wizard-sidebar {
    flex: 0 0 200px;
    width: 200px;
    background-color: #409eff;
    /* Main Blue used for price badges */
    color: #fff;
    padding: 20px 15px;
    position: relative;
    transition: width 0.3s ease, flex 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bw-sidebar-collapsed .bw-wizard-sidebar {
    width: 80px;
    flex: 0 0 80px;
}

.bw-sidebar-steps {
    flex-grow: 1;
}

.bw-sidebar-step {
    display: flex;
    align-items: center;
    padding: 12px 10px;
    margin-bottom: 5px;
    border-radius: 6px;
    opacity: 0.9;
    transition: all 0.2s;
}

.bw-sidebar-step.active {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
    /* Subtle highlight */
}

/* Custom Calendar and Slots Layout */
.bw-datetime-container {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .bw-datetime-container {
        flex-direction: column;
    }
}

.bw-calendar-wrapper {
    flex: 1;
    min-width: 320px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.bw-custom-calendar .bw-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    padding: 10px 15px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
}

.bw-cal-nav {
    cursor: pointer;
    padding: 5px 10px;
    font-size: 1rem;
    color: #718096;
    user-select: none;
}

.bw-cal-nav:hover {
    color: #2d3748;
}

.bw-cal-nav.bw-cal-nav-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.bw-loading-calendar-container {
    min-height: 260px;
    padding: 30px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bw-calendar-body {
    padding: 0;
}

.bw-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    padding: 8px 0;
    font-size: var(--bw-subtitle-size, 0.8rem);
    font-weight: 500;
    color: var(--bw-subtitle-color, #718096);
    border-bottom: 1px solid #e2e8f0;
}

.bw-cal-title,
.bw-slots-title,
.bw-slot-btn {
    font-weight: 600 !important;
}

.bw-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    min-height: 200px;
}

.bw-cal-day {
    padding: 10px 5px;
    text-align: center;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    font-weight: 500;
    font-size: var(--bw-subtitle-size, 0.8rem);
    font-weight: 500;
    color: var(--bw-subtitle-color, #718096);
    transition: all 0.2s;
    user-select: none;
}

.bw-cal-day:nth-child(7n) {
    border-right: none;
}

.bw-cal-day.bw-cal-outside {
    color: #cbd5e0;
}

.bw-cal-day.bw-cal-disabled {
    color: #e2e8f0;
    cursor: not-allowed;
    background-color: #f7fafc;
}

.bw-cal-day:not(.bw-cal-disabled):not(.bw-cal-selected):hover {
    background-color: #ecf5ff;
    color: #409eff;
}

.bw-cal-day.bw-cal-selected {
    background-color: #409eff;
    color: #fff;
    font-weight: 600;
}

.bw-slots-wrapper {
    flex: 1;
    min-width: 180px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #fff;
    display: flex;
    flex-direction: column;
    max-height: 400px;
}

.bw-slots-title {
    padding: 15px 20px;
    margin: 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
}

.bw-slots-inner {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* Scrollbar for slots inner */
.bw-slots-inner::-webkit-scrollbar {
    width: 6px;
}

.bw-slots-inner::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.bw-slots-inner::-webkit-scrollbar-thumb {
    background: #a0aec0;
    border-radius: 3px;
}

.bw-slots-inner::-webkit-scrollbar-thumb:hover {
    background: #718096;
}

.bw-slot-group h4 {
    margin: 0 0 15px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #4a5568;
}

.mt-15 {
    margin-top: 25px;
}

.bw-slot-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bw-slot-btn {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    padding: 8px 12px;
    border-radius: 4px;
    text-align: left;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.bw-slot-btn:hover {
    border-color: #409eff;
    color: #409eff;
    background-color: #ecf5ff;
}

.bw-slot-btn.selected {
    background: #409eff;
    color: #fff;
    border-color: #409eff;
}

.bw-sidebar-step.completed {
    opacity: 1;
}

.bw-sidebar-step-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.bw-sidebar-step-text {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.3s;
}

.bw-sidebar-collapsed .bw-sidebar-step-text {
    opacity: 0;
    pointer-events: none;
    width: 0;
}

.bw-step-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: #fff;
    white-space: normal;
    line-height: 1.2;
}

.bw-step-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Call Today footer box */
.bw-call-today-box {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
}

.bw-call-today-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.bw-call-today-phone {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Sidebar Footer Connect/Collapse */
.bw-sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    transition: opacity 0.3s;
}

.bw-sidebar-footer:hover {
    opacity: 0.8;
}

.bw-collapse-text {
    white-space: nowrap;
}

.bw-sidebar-collapsed .bw-collapse-text {
    opacity: 0;
    pointer-events: none;
    width: 0;
}

.bw-collapse-icon {
    background: #fff;
    color: #3c82f6;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.bw-collapse-icon.rotated {
    transform: rotate(180deg);
}

/* Right Content Area */
.bw-wizard-content {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    /* Full width now */
    background-color: #f7f3ed;
    /* Competitor off-white background */
    padding: 15px 0px;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

.bw-wizard-content-body {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.bw-sidebar-collapsed+.bw-wizard-content {
    width: calc(100% - 80px) !important;
    /* fallback */
    max-width: calc(100% - 80px) !important;
    /* fallback */
}

.bw-wizard-content-header {
    background: transparent;
    padding: 0 10px 20px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--bw-border-color) !important;
}

.bw-bp-category-filter {
    border: none !important;
    border-bottom: none !important;
}

.bw-wizard-content .bw-bp-category-filter button {
    border-color: var(--bw-border-color) !important;
}

.bw-wizard-content .bw-slots-title,
.bw-custom-calendar .bw-calendar-header {
    border-bottom: 1px solid var(--bw-border-color) !important;
}

.bw-wizard-content .el-input__wrapper,
.bw-wizard-content .el-textarea__inner {
    box-shadow: none !important;
}

.bw-wizard-content .bw-custom-calendar {
    border: 1px solid var(--bw-border-color) !important;
}

.bw-content-back-btn {
    background: transparent;
    border: 1px solid #ccc;
    color: #555;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    cursor: pointer;
}

.bw-content-back-btn:hover {
    background: #e2dcd9;
}

.bw-content-back-spacer {
    display: none;
    /* Removing header spacer */
}

.bw-content-title {
    font-size: 1.25rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

.bw-step-wrapper {
    padding: 10px 20px 10px 20px;
    flex-grow: 1;
    min-height: 0;
    height: calc(100vh - 330px);
    overflow-y: auto;
    overflow-x: hidden;
}

/* Form Styles Override */
.bw-step-details .el-form-item__label {
    font-weight: 600;
    color: #4a5568;
}

.bw-step-details .el-input__wrapper {
    background-color: #f7f5f4;
    border: 1px solid #d4cdc9;
    box-shadow: none !important;
}

.bw-date-select-first {
    font-size: 12px;
    padding: 10px;
}

.bw-step-details .el-input__inner {
    color: #4a5568;
}

.bw-step-details .el-textarea__inner {
    background-color: #f7f5f4;
    border: 1px solid #d4cdc9;
    box-shadow: none !important;
    color: #4a5568;
}

.bw-phone-container {
    width: 100%;
}

.bw-phone-container .iti {
    width: 100%;
    margin-bottom: 2px;
}

.bw-phone-container input[type="tel"] {
    width: 100%;
    height: 40px;
    background-color: #f7f5f4;
    border: 1px solid #d4cdc9;
    border-radius: 4px;
    color: #4a5568;
    box-sizing: border-box;
    transition: box-shadow 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.bw-phone-container input[type="tel"]:focus {
    outline: none;
    box-shadow: 0 0 0 1px #409eff inset;
    border-color: #409eff;
}

.bw-btn-continue {
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-family: var(--bw-button-font-family, var(--bw-font-family, inherit));
    font-size: var(--bw-button-font-size, 1.05rem);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.bw-btn-back {
    border: 1px solid #d4cdc9;
    background-color: transparent;
    border-radius: 6px;
    padding: 12px 24px;
    font-family: var(--bw-button-font-family, var(--bw-font-family, inherit));
    font-size: var(--bw-button-font-size, 1.05rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.bw-bp-nav-footer {
    border-top: 1px solid #d4cdc9;
    /* padding: 20px 40px; */
    background-color: transparent;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.bw-bp-nav-footer.right-only {
    justify-content: flex-end;
}

.bw-service-card h5,
.bw-staff-card h4 {
    font-size: 1.1em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.bw-service-card .bw-price {
    font-size: 1.25em;
    font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .bw-wizard-container {
        flex-direction: column;
        max-width: 100%;
        box-sizing: border-box;
    }

    .bw-wizard-sidebar {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 10px 12px;
        border-radius: 8px 8px 0 0;
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        align-self: flex-start;
    }

    .bw-wizard-sidebar.bw-sidebar-collapsed {
        width: 100%;
    }

    .bw-bp-design .bw-bp-service-list {
        min-height: 0;
        max-height: none;
        overflow: visible;
    }

    .bw-sidebar-steps {
        display: flex;
        flex-wrap: nowrap;
        gap: 4px;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        padding-bottom: 0;
        counter-reset: bw-step-counter;
        flex-grow: 0;
        height: auto;
        min-height: 0;
        align-content: start;
        box-sizing: border-box;
    }

    .bw-sidebar-step {
        counter-increment: bw-step-counter;
        flex: 1 1 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 8px 2px;
        margin-bottom: 0;
        border-radius: 8px;
        min-height: 52px;
        min-width: 0;
        max-width: none;
        background: transparent;
        height: auto;
        box-sizing: border-box;
    }

    .bw-sidebar-step.active,
    .bw-sidebar-step.completed {
        background: rgba(255, 255, 255, 0.12);
    }

    .bw-sidebar-step-icon {
        display: none;
    }

    .bw-sidebar-step::before {
        content: counter(bw-step-counter);
        width: 25px;
        height: 25px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        font-weight: 600;
        color: #fff;
        margin: 0;
        flex-shrink: 0;
        background: transparent;
    }

    .bw-sidebar-step.active::before,
    .bw-sidebar-step.completed::before {
        background: rgba(255, 255, 255, 0.18);
        border-color: rgba(255, 255, 255, 0.8);
    }

    .bw-sidebar-step-text {
        display: none;
    }

    .bw-step-subtitle {
        display: none;
    }

    .bw-sidebar-footer {
        display: none;
        /* Hide collapse on mobile */
    }

    .bw-step-wrapper,
    .bw-wizard-content-header {
        padding: 20px;
    }

    .bw-service-grid,
    .bw-staff-grid {
        grid-template-columns: 1fr;
    }

    .bw-frontend-wrapper {
        padding: 10px;
    }

    .bw-nav-buttons {
        flex-direction: row;
        gap: 10px;
        padding: 10px 12px;
        box-sizing: border-box;
    }

    .bw-nav-buttons button {
        width: 50%;
    }

    .bw-btn-back {
        margin-right: 0;
    }

    .bw-datetime-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .bw-calendar-wrapper {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .bw-slots-wrapper {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .bw-custom-calendar {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .bw-cal-weekdays,
    .bw-cal-days {
        width: 100%;
        min-width: 0;
    }

    .bw-cal-weekdays span,
    .bw-cal-day {
        min-width: 0;
    }

    .bw-cal-day {
        padding: 8px 2px;
        font-size: clamp(0.7rem, 2.8vw, 0.85rem);
    }

    .bw-cal-weekdays {
        font-size: clamp(0.58rem, 2.2vw, 0.75rem);
        padding: 6px 0;
    }

    .bw-custom-calendar .bw-calendar-header {
        padding: 10px 8px;
        font-size: 0.9rem;
    }

    .bw-cal-nav {
        padding: 5px 6px;
        flex-shrink: 0;
    }

    .bw-cal-title {
        flex: 1;
        text-align: center;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bw-step-wrapper.bw-step-datetime {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 480px) {
    .bw-sidebar-steps {
        gap: 3px;
    }

    .bw-sidebar-step {
        min-height: 48px;
        padding: 8px 2px;
    }

}

@media (max-width: 580px) {
    .bw-wizard-content .bw-step-title {
        font-size: 9px !important;
    }
}

@media (max-width: 400px) {
    .bw-cal-weekdays span {
        font-size: 0;
        line-height: 1;
    }

    .bw-cal-weekdays span::first-letter {
        font-size: 0.65rem;
        font-weight: 500;
    }

    .bw-cal-day {
        padding: 6px 1px;
    }
}

/* Category Filter Buttons */
.bw-category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.bw-category-filter button {
    background: #f0f2f5;
    border: 1px solid #dcdfe6;
    border-radius: 20px;
    padding: 6px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #606266;
    transition: all 0.3s;
}

.bw-category-filter button.active {
    color: #fff;
    background-color: #409eff;
    border-color: #409eff;
}

/* Bookwell-like Design Styles */
.bw-bp-design .bw-bp-section-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    border-bottom: none;
    padding-bottom: 0;
}

.bw-bp-design .bw-bp-category-filter {
    margin-bottom: 25px;
}

.bw-bp-design .bw-bp-category-filter button {
    background: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.bw-bp-design .bw-bp-category-filter button.active {
    border-color: #409eff;
    color: #409eff;
    background-color: #fff;
    box-shadow: none;
}

.bw-bp-design .bw-bp-service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    /* min-height: 360px;
    max-height: 480px;
    overflow-y: auto;
    overflow-x: hidden; */
    padding-right: 10px;
}

/* Scrollbar styles for the service list (Competitor style matching) */
.bw-bp-service-list::-webkit-scrollbar {
    width: 8px;
}

.bw-bp-service-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.bw-bp-service-list::-webkit-scrollbar-thumb {
    background: #8c8c8c;
    border-radius: 4px;
}

.bw-bp-service-list::-webkit-scrollbar-thumb:hover {
    background: #737373;
}

.bw-error-msg {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #f3c2c2;
    background: #fff5f5;
    color: #c53030;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.35;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.bw-error-msg--inline {
    position: absolute;
    top: 10px;
    left: 20px;
    right: 20px;
    z-index: 20;
    width: auto;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
}

#bookwellab_frontend_app[dir="rtl"] .bw-error-msg--inline,
#bookwellab_frontend_app.bw-rtl .bw-error-msg--inline {
    left: 20px;
    right: 20px;
}

.bw-error-msg-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e53e3e;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.bw-error-msg-text {
    flex: 1;
}

.bw-error-msg-close {
    border: 0;
    background: transparent;
    color: #c53030;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
    flex-shrink: 0;
}

.bw-error-msg-close:hover {
    color: #9b2c2c;
}

.bw-summary-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #d4cdc9;
}

.bw-summary-card p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #2c3e50;
}

.bw-summary-label {
    font-weight: 600;
}

.bw-summary-value {
    font-weight: 400;
}

.bw-payment-title {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c3e50;
}

.bw-bp-service-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    height: fit-content;
}

.bw-bp-service-card:hover,
.bw-bp-service-card.selected {
    border-color: #409eff;
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.1);
}

.bw-bp-service-card.selected {
    background-color: #f4f9ff;
}

.bw-bp-staff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.bw-bp-staff-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.bw-bp-staff-card:hover,
.bw-bp-staff-card.selected {
    border-color: #409eff;
    background-color: #f4f9ff;
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.1);
}

.bw-bp-staff-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.bw-bp-staff-name {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
}

.bw-bp-staff-email {
    margin: 0;
    font-size: 0.85rem;
    color: #718096;
}

.bw-bp-service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f7fafc;
    border: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.bw-bp-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.bw-bp-service-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.bw-bp-service-info {
    flex-grow: 1;
}

.bw-bp-service-name {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
}

.bw-bp-service-description {
    margin: 8px 0 0 0;
    font-size: 0.8rem;
    color: #718096;
    line-height: 1.35;
}

.bw-bp-service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #718096;
}

.bw-bp-meta-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.bw-bp-meta-duration-icon {
    flex-shrink: 0;
}

.bw-bp-price-badge {
    background-color: #409eff;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
}

.bw-bp-nav-footer {
    padding-right: 20px;
}

.bw-btn-back {
    margin-right: 20px;
}

.bw-bp-nav-footer {
    /* margin-top: 30px; */
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
}

.bw-step-title {
    text-transform: uppercase !important;
}

@media (max-width: 600px) {
    .bw-bp-design .bw-bp-service-list {
        grid-template-columns: 1fr;
    }

    .bw-bp-service-card {
        flex-direction: row;
        align-items: flex-start;
        padding: 12px;
    }

    .bw-bp-service-icon {
        width: 44px;
        height: 44px;
        margin-right: 10px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .bw-bp-service-name {
        font-size: 0.92rem;
        margin-bottom: 6px;
    }

    .bw-bp-service-meta {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-bottom: 4px;
    }

    .bw-bp-meta-duration,
    .bw-bp-price-badge {
        font-size: 0.78rem;
    }

    .bw-bp-service-description {
        display: block;
        font-size: 0.78rem;
        line-height: 1.35;
        margin-top: 4px;
        word-break: break-word;
    }

    .bw-bp-staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* 3-Dot Loader */
.bw-loading-slots-container {
    padding: 30px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bw-bp-design .bw-bp-service-list .bw-loading-slots-container {
    grid-column: 1 / -1;
    width: 100%;
    height: 120px;
}

.bw-3dot-loader {
    display: flex;
    gap: 6px;
}

.bw-3dot-loader div {
    width: 10px;
    height: 10px;
    background-color: var(--bw-primary-color, #409eff);
    border-radius: 50%;
    animation: bw-3dot-bounce 0.6s infinite alternate;
}

.bw-3dot-loader div:nth-child(2) {
    animation-delay: 0.2s;
}

.bw-3dot-loader div:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bw-3dot-bounce {
    to {
        transform: translateY(-8px);
    }
}

/* --------------------------------------------------------------------------
   RTL layout (Arabic and other right-to-left WordPress locales)
   -------------------------------------------------------------------------- */
#bookwellab_frontend_app[dir="rtl"],
#bookwellab_frontend_app.bw-rtl {
    direction: rtl;
    text-align: right;
}

#bookwellab_frontend_app[dir="rtl"] .bw-wizard-container,
#bookwellab_frontend_app.bw-rtl .bw-wizard-container {
    flex-direction: row-reverse;
}

#bookwellab_frontend_app[dir="rtl"] .bw-sidebar-step-icon,
#bookwellab_frontend_app.bw-rtl .bw-sidebar-step-icon {
    margin-right: 0;
    margin-left: 15px;
}

#bookwellab_frontend_app[dir="rtl"] .bw-content-back-btn,
#bookwellab_frontend_app.bw-rtl .bw-content-back-btn {
    margin-right: 0;
    margin-left: 20px;
}

#bookwellab_frontend_app[dir="rtl"] .bw-wizard-content-header,
#bookwellab_frontend_app.bw-rtl .bw-wizard-content-header {
    padding: 0 20px 20px 10px;
}

#bookwellab_frontend_app[dir="rtl"] .bw-bp-service-icon,
#bookwellab_frontend_app.bw-rtl .bw-bp-service-icon {
    margin-right: 0;
    margin-left: 20px;
}

#bookwellab_frontend_app[dir="rtl"] .bw-bp-meta-duration,
#bookwellab_frontend_app.bw-rtl .bw-bp-meta-duration {
    gap: 8px;
}

#bookwellab_frontend_app[dir="rtl"] .bw-bp-design .bw-bp-service-list,
#bookwellab_frontend_app.bw-rtl .bw-bp-design .bw-bp-service-list {
    padding-right: 0;
    padding-left: 10px;
}

#bookwellab_frontend_app[dir="rtl"] .bw-slot-btn,
#bookwellab_frontend_app.bw-rtl .bw-slot-btn {
    text-align: right;
}

#bookwellab_frontend_app[dir="rtl"] .bw-cal-day,
#bookwellab_frontend_app.bw-rtl .bw-cal-day {
    border-right: none;
    border-left: 1px solid #e2e8f0;
}

#bookwellab_frontend_app[dir="rtl"] .bw-cal-day:nth-child(7n),
#bookwellab_frontend_app.bw-rtl .bw-cal-day:nth-child(7n) {
    border-left: none;
}

#bookwellab_frontend_app[dir="rtl"] .bw-bp-nav-footer,
#bookwellab_frontend_app.bw-rtl .bw-bp-nav-footer {
    padding-right: 0;
    padding-left: 20px;
    gap: 12px;
}

#bookwellab_frontend_app[dir="rtl"] .bw-nav-buttons,
#bookwellab_frontend_app.bw-rtl .bw-nav-buttons {
    gap: 12px;
}

#bookwellab_frontend_app[dir="rtl"] .bw-btn-back,
#bookwellab_frontend_app.bw-rtl .bw-btn-back {
    margin-right: 0;
    margin-left: 0;
}


#bookwellab_frontend_app[dir="rtl"] .bw-step-details .el-form-item__label,
#bookwellab_frontend_app.bw-rtl .bw-step-details .el-form-item__label {
    text-align: right;
    justify-content: flex-end;
}

#bookwellab_frontend_app[dir="rtl"] .bw-phone-container .iti--allow-dropdown input,
#bookwellab_frontend_app.bw-rtl .bw-phone-container .iti--allow-dropdown input,
#bookwellab_frontend_app[dir="rtl"] .bw-phone-container .iti--allow-dropdown input[type="tel"],
#bookwellab_frontend_app.bw-rtl .bw-phone-container .iti--allow-dropdown input[type="tel"] {
    padding-right: var(--iti-input-padding, 52px);
    padding-left: 12px;
    text-align: right;
    direction: ltr;
    unicode-bidi: plaintext;
}

#bookwellab_frontend_app[dir="rtl"] .bw-phone-container .iti__flag-container,
#bookwellab_frontend_app.bw-rtl .bw-phone-container .iti__flag-container {
    right: 0;
    left: auto;
}

@media (max-width: 768px) {
    #bookwellab_frontend_app[dir="rtl"] .bw-wizard-container,
    #bookwellab_frontend_app.bw-rtl .bw-wizard-container {
        flex-direction: column;
    }
}