/* ============================================================
   Booking System - Frontend Styles
   Weekly Calendar Layout with Morning / Afternoon blocks
   ============================================================ */

.bs-booking-wrap {
    max-width: 900px;
    margin: 30px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bs-booking-title {
    font-size: 28px;
    margin: 0 0 30px 0;
    color: #333;
    text-align: center;
}

/* ============================================================
   STEPS PROGRESS
   ============================================================ */
.bs-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
    position: relative;
}

.bs-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.bs-step {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 500;
    color: #999;
    text-align: center;
    cursor: default;
}

.bs-step::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background: #e0e0e0;
    border-radius: 50%;
    margin: 0 auto 8px;
    transition: background 0.3s;
}

.bs-step.bs-step-active {
    color: #0073aa;
    font-weight: 600;
}

.bs-step.bs-step-active::before {
    background: #0073aa;
}

/* Step Content */
.bs-step-content {
    display: none;
}

.bs-step-content.bs-step-visible {
    display: block;
}

.bs-step-content h3 {
    font-size: 22px;
    margin: 0 0 20px;
    color: #333;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.bs-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.bs-service-card {
    background: #f9f9f9;
    border: 2px solid #eee;
    border-radius: 6px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bs-service-card:hover {
    border-color: #0073aa;
    box-shadow: 0 2px 8px rgba(0,115,170,0.12);
    transform: translateY(-2px);
}

.bs-service-card.bs-service-selected {
    border-color: #0073aa;
    background: #f0f8ff;
    box-shadow: 0 2px 8px rgba(0,115,170,0.2);
}

.bs-service-card.bs-service-in-cart {
    border-color: #4caf50;
    background: #f1f8e9;
    cursor: default;
    opacity: 0.85;
}

.bs-service-card.bs-service-in-cart .bs-btn-add {
    background: #4caf50;
    color: #fff;
    cursor: default;
}

.bs-service-card .bs-btn-add {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 8px 12px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.bs-service-card .bs-btn-add:hover {
    background: #005a87;
}

.bs-service-card .bs-btn-add:disabled {
    background: #4caf50;
    cursor: default;
    opacity: 0.8;
}

.bs-service-name {
    margin: 0 0 6px;
    font-size: 16px;
    color: #333;
}

.bs-service-desc {
    font-size: 13px;
    color: #777;
    margin: 5px 0;
    line-height: 1.4;
}

.bs-service-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
    color: #555;
}

.bs-service-duration {
    background: #e8f0fe;
    padding: 3px 8px;
    border-radius: 3px;
    color: #0073aa;
}

.bs-service-price {
    font-weight: 600;
    color: #2e7d32;
}

/* ============================================================
   STEP 1: TWO-COLUMN LAYOUT (Services + Cart)
   ============================================================ */
.bs-step1-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.bs-services-column {
    flex: 1;
    min-width: 0;
}

.bs-cart-column {
    width: 320px;
    flex-shrink: 0;
}

.bs-step1-nav {
    margin-top: 20px;
}

/* Cart */
.bs-cart {
    background: #fafafa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    min-height: 120px;
}

.bs-cart-empty {
    text-align: center;
    color: #999;
    padding: 20px 10px;
}

.bs-cart-empty p {
    margin: 5px 0;
    font-size: 14px;
}

.bs-cart-hint {
    font-size: 12px !important;
    color: #bbb !important;
}

.bs-cart-items {
    margin-bottom: 12px;
}

.bs-cart-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 8px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.bs-cart-item:last-child {
    border-bottom: none;
}

.bs-cart-item-name {
    flex: 1;
    font-weight: 600;
    color: #333;
}

.bs-cart-item-duration {
    color: #0073aa;
    font-size: 12px;
    white-space: nowrap;
}

.bs-cart-item-price {
    font-weight: 600;
    color: #2e7d32;
    font-size: 13px;
    white-space: nowrap;
    min-width: 50px;
    text-align: right;
}

.bs-cart-remove {
    background: none;
    border: none;
    color: #d32f2f;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    transition: color 0.15s;
}

.bs-cart-remove:hover {
    color: #b71c1c;
}

.bs-cart-totals {
    border-top: 2px solid #e0e0e0;
    padding-top: 12px;
    margin-top: 4px;
}

.bs-cart-totals p {
    margin: 4px 0;
    font-size: 14px;
    color: #333;
}

/* Step 2: Cart Summary */
.bs-cart-summary {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.bs-cart-summary p {
    margin: 4px 0;
    font-size: 14px;
}

/* Step 3: Summary Services Table */
.bs-summary-services-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
    font-size: 14px;
}

.bs-summary-services-table th {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 2px solid #cce5ff;
    color: #0073aa;
    font-weight: 600;
}

.bs-summary-services-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
}

.bs-summary-services-table th:last-child,
.bs-summary-services-table td:last-child {
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .bs-step1-layout {
        flex-direction: column;
    }

    .bs-cart-column {
        width: 100%;
    }
}

/* ============================================================
   WEEKLY CALENDAR NAVIGATION
   ============================================================ */
.bs-week-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 20px;
    margin-bottom: 20px;
}

.bs-week-prev,
.bs-week-next {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 16px;
    font-size: 16px;
    cursor: pointer;
    color: #555;
    transition: all 0.2s;
}

.bs-week-prev:hover,
.bs-week-next:hover {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.bs-week-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* ============================================================
   7-DAY CALENDAR GRID
   ============================================================ */
.bs-week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 25px;
}

.bs-week-day {
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    padding: 12px 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fafafa;
}

.bs-week-day:hover {
    border-color: #0073aa;
    background: #f0f8ff;
}

.bs-week-day.bs-day-selected {
    border-color: #0073aa;
    background: #e3f2fd;
    box-shadow: 0 0 0 1px #0073aa;
}

.bs-week-day.bs-day-past {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5;
}

.bs-week-day.bs-day-today {
    border-color: #ff9800;
}

.bs-week-day.bs-day-today.bs-day-selected {
    border-color: #0073aa;
    border-width: 2px;
}

.bs-week-day-name {
    font-size: 12px;
    font-weight: 600;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.bs-week-day.bs-day-selected .bs-week-day-name {
    color: #0073aa;
}

.bs-week-day-number {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.bs-week-day.bs-day-selected .bs-week-day-number {
    color: #0073aa;
}

.bs-week-day-month {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

/* ============================================================
   TIME SLOTS - Morning & Afternoon sections
   ============================================================ */
.bs-slots-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    color: #777;
    font-size: 14px;
}

.bs-slots-section {
    margin-bottom: 20px;
}

.bs-slots-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #555;
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.bs-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
}

.bs-slot {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    transition: all 0.2s;
}

.bs-slot:hover {
    border-color: #0073aa;
    background: #f0f8ff;
    color: #0073aa;
}

.bs-slot.bs-slot-selected {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.bs-loading-msg {
    color: #999;
    font-style: italic;
}

.bs-empty-message {
    color: #999;
    text-align: center;
    padding: 40px;
}

.bs-no-slots {
    color: #e65100;
    font-style: italic;
    padding: 15px 0;
    text-align: center;
}

/* ============================================================
   BOOKING SUMMARY
   ============================================================ */
.bs-booking-summary {
    background: #f0f8ff;
    border: 1px solid #cce5ff;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
}

.bs-booking-summary h4 {
    margin: 0 0 12px;
    color: #0073aa;
    font-size: 16px;
}

.bs-summary-details p {
    margin: 5px 0;
    font-size: 14px;
}

.bs-summary-details strong {
    min-width: 80px;
    display: inline-block;
}

/* ============================================================
   CLIENT FIELDS
   ============================================================ */
.bs-client-fields {
    margin-bottom: 20px;
}

.bs-field {
    margin-bottom: 18px;
}

.bs-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #444;
    font-size: 14px;
}

.bs-required {
    color: #d32f2f;
}

.bs-field input[type="text"],
.bs-field input[type="email"],
.bs-field input[type="tel"],
.bs-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.bs-field input:focus,
.bs-field textarea:focus {
    border-color: #0073aa;
    outline: none;
}

.bs-field textarea {
    resize: vertical;
    min-height: 80px;
}

/* ID Number Lookup */
.bs-id-lookup-status {
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
}

.bs-id-lookup-status.bs-id-found {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.bs-id-lookup-status.bs-id-not-found {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffe0b2;
}

.bs-id-lookup-status.bs-id-loading {
    background: #f3f4f6;
    color: #666;
    border: 1px solid #e5e7eb;
}

/* Success step returning customer badge */
.bs-returning-customer-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    margin-left: 8px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.bs-step-nav {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    justify-content: space-between;
}

.bs-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.bs-btn-next,
.bs-btn-submit {
    background: #0073aa;
    color: #fff;
}

.bs-btn-next:hover,
.bs-btn-submit:hover {
    background: #005a87;
}

.bs-btn-prev {
    background: #f0f0f0;
    color: #555;
}

.bs-btn-prev:hover {
    background: #e0e0e0;
}

.bs-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================================
   MESSAGES
   ============================================================ */
.bs-message {
    padding: 12px 18px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

.bs-message.bs-error {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.bs-message.bs-success {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
}

/* Success Step */
.bs-step-success {
    text-align: center;
    padding: 50px 20px;
}

.bs-success-icon {
    font-size: 60px;
    color: #4caf50;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    background: #e8f5e9;
    margin: 0 auto 20px;
}

.bs-success-message {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Loading spinner */
.bs-loading {
    text-align: center;
    padding: 30px;
}

.bs-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #e0e0e0;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: bs-spin 0.6s linear infinite;
}

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

/* ============================================================
   CANCEL FORM
   ============================================================ */
.bs-cancel-wrap {
    max-width: 500px;
}

.bs-cancel-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
}

.bs-btn-cancel {
    background: #d32f2f;
    color: #fff;
    width: 100%;
    margin-top: 10px;
}

.bs-btn-cancel:hover {
    background: #b71c1c;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .bs-booking-wrap {
        padding: 20px;
        margin: 15px;
    }

    .bs-services-grid {
        grid-template-columns: 1fr;
    }

    .bs-week-grid {
        gap: 4px;
    }

    .bs-week-day {
        padding: 8px 4px;
    }

    .bs-week-day-number {
        font-size: 18px;
    }

    .bs-week-day-name {
        font-size: 10px;
    }

    .bs-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .bs-steps {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .bs-week-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 3px;
    }

    .bs-week-day {
        padding: 6px 2px;
    }

    .bs-week-day-number {
        font-size: 14px;
    }

    .bs-week-day-name {
        font-size: 8px;
    }

    .bs-week-day-month {
        display: none;
    }
}

/* ============================================================
   SERVICES LISTING PAGE  (shortcode: [booking_services])
   ============================================================ */
.bs-services-page-wrap {
    max-width: 960px;
    margin: 30px auto;
    padding: 0 20px;
}

.bs-services-page-title {
    font-size: 32px;
    text-align: center;
    margin: 0 0 10px;
    color: #333;
}

.bs-services-page-desc {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 35px;
    line-height: 1.6;
}

.bs-services-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.bs-service-page-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.bs-service-page-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.bs-service-page-card-body {
    padding: 24px 22px 16px;
    flex: 1;
}

.bs-service-page-name {
    font-size: 20px;
    margin: 0 0 10px;
    color: #222;
    line-height: 1.3;
}

.bs-service-page-excerpt {
    font-size: 14px;
    color: #777;
    line-height: 1.5;
    margin: 0 0 16px;
}

.bs-service-page-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.bs-service-page-duration {
    color: #0073aa;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bs-service-page-duration svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.bs-service-page-price {
    font-weight: 700;
    font-size: 18px;
    color: #2e7d32;
}

.bs-service-page-price.bs-price-free {
    color: #999;
    font-weight: 500;
    font-size: 14px;
}

.bs-service-page-card-footer {
    padding: 0 22px 22px;
}

.bs-btn-book-now {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: #0073aa;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.bs-btn-book-now:hover {
    background: #005a87;
    color: #fff;
}

.bs-services-page-booking-link {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.bs-services-page-booking-link p {
    font-size: 15px;
    color: #666;
}

.bs-services-page-booking-link a {
    color: #0073aa;
    font-weight: 600;
    text-decoration: none;
}

.bs-services-page-booking-link a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .bs-services-page-grid {
        grid-template-columns: 1fr;
    }

    .bs-services-page-title {
        font-size: 26px;
    }
}

/* ============================================================
   SINGLE SERVICE CARD  (shortcode: [booking_service_card])
   ============================================================ */
.bs-service-card-single {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-width: 360px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.bs-service-card-single:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.bs-service-card-single-body {
    padding: 22px 20px 14px;
    flex: 1;
}

.bs-service-card-single-name {
    font-size: 18px;
    margin: 0 0 8px;
    color: #222;
    line-height: 1.3;
}

.bs-service-card-single-excerpt {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    margin: 0 0 14px;
}

/* Reuse .bs-service-page-meta, .bs-service-page-duration, .bs-service-page-price,
   .bs-service-page-card-footer, .bs-btn-book-now from the listing styles above */

/* ============================================================
   COMBINED ONE-PAGE BOOKING LAYOUT  ([booking_services])
   Services grid on left, cart + calendar + form on right
   ============================================================ */
.bs-combined-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.bs-combined-main {
    flex: 1;
    min-width: 0;
}

.bs-combined-sidebar {
    width: 360px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}

/* When in checkout-only mode (no main column),
   the sidebar becomes the full-page checkout */
.bs-combined-layout > .bs-combined-sidebar:only-child {
    width: 100%;
    max-width: none;
    position: static;
    margin: 0;
}

.bs-combined-cart {
    margin-bottom: 24px;
}

.bs-combined-cart h3,
.bs-combined-section h3 {
    font-size: 17px;
    margin: 0 0 12px;
    color: #333;
}

.bs-combined-section {
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}

.bs-combined-sidebar .bs-btn-submit {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
}

/* Service cards in the combined layout use add buttons, not book-now links */
.bs-combined-main .bs-service-card .bs-btn-add {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.bs-combined-main .bs-service-card .bs-btn-add:hover {
    background: #005a87;
}

.bs-combined-main .bs-service-card .bs-btn-add:disabled {
    background: #4caf50;
    cursor: default;
    opacity: 0.85;
}

.bs-combined-main .bs-service-card.bs-service-in-cart {
    border-color: #4caf50 !important;
    background: #f1f8e9;
    opacity: 0.9;
}

/* Calendar inside sidebar is more compact */
.bs-combined-sidebar .bs-week-grid {
    gap: 4px;
}

.bs-combined-sidebar .bs-week-day {
    padding: 8px 4px;
}

.bs-combined-sidebar .bs-week-day-number {
    font-size: 18px;
}

.bs-combined-sidebar .bs-week-day-name {
    font-size: 10px;
}

.bs-combined-sidebar .bs-slots-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 6px;
}

.bs-combined-sidebar .bs-slot {
    font-size: 12px;
    padding: 8px 6px;
}

/* Sticky sidebar scroll behavior */
@media (min-height: 700px) {
    .bs-combined-sidebar {
        position: sticky;
        top: 30px;
    }
}

@media (max-width: 900px) {
    .bs-combined-layout {
        flex-direction: column;
    }

    .bs-combined-sidebar {
        width: 100%;
        position: static;
    }

    .bs-combined-sidebar .bs-week-grid {
        gap: 8px;
    }

    .bs-combined-sidebar .bs-week-day {
        padding: 12px 6px;
    }
}

/* ============================================================
   CART MODAL (standalone Add Button on other pages)
   ============================================================ */

.bs-modal-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 100000;
    animation: bsFadeIn 0.2s ease;
}

.bs-modal-wrap {
    background: #fff;
    border-radius: 12px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: bsSlideUp 0.25s ease;
}

.bs-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 12px;
    border-bottom: 1px solid #eee;
}

.bs-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.bs-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.bs-modal-close:hover {
    color: #333;
}

.bs-modal-body {
    padding: 16px 22px;
    max-height: 300px;
    overflow-y: auto;
}

.bs-modal-items {
    margin-bottom: 12px;
}

.bs-modal-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.bs-modal-item:last-child {
    border-bottom: none;
}

.bs-modal-item-name {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.bs-modal-item-duration {
    color: #0073aa;
    white-space: nowrap;
    font-size: 13px;
}

.bs-modal-item-price {
    font-weight: 600;
    color: #2e7d32;
    white-space: nowrap;
    min-width: 50px;
    text-align: right;
}

.bs-modal-totals {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 8px;
}

.bs-modal-totals p {
    margin: 4px 0;
    font-size: 14px;
    color: #555;
}

.bs-modal-totals .bs-modal-total-price {
    font-size: 16px;
}

.bs-modal-footer {
    display: flex;
    gap: 10px;
    padding: 14px 22px 20px;
    justify-content: flex-end;
}

.bs-modal-continue {
    background: #f0f0f0 !important;
    color: #555 !important;
    border: none;
    cursor: pointer;
}

.bs-modal-continue:hover {
    background: #e0e0e0 !important;
}

.bs-modal-confirm {
    background: #0073aa !important;
    color: #fff !important;
    text-decoration: none;
    border: none;
    cursor: pointer;
    text-align: center;
}

.bs-modal-confirm:hover {
    background: #005a87 !important;
    color: #fff !important;
}

.bs-modal-confirm[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.bs-modal-close-btn {
    background: #f0f0f0 !important;
    color: #555 !important;
    border: none;
    cursor: pointer;
}

.bs-modal-close-btn:hover {
    background: #e0e0e0 !important;
}

@keyframes bsFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bsSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Toggle state for standalone Add buttons */
.bs-btn-add.bs-added {
    background: #e8f5e9 !important;
    color: #2e7d32 !important;
    border-color: #2e7d32 !important;
}
