/* OLAS Booking System - Public Styles
 * Version: 1.0.0
 * Author: MCore Services (customized version)
 */

/* Main Containers */
.booking-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.25rem 0;
    font-family: var(--e-global-typography-primary-font-family) !important;
    color: var(--e-global-color-text) !important;
}

.booking-section {
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 0.65rem rgba(0, 0, 0, 0.05);
    padding: 1.25rem;
}

.booking-section-title {
    font-size: 1.5rem !important;
    letter-spacing: 0 !important;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e5e5;
    color: var(--e-global-color-primary);
}

/* Form Elements */
.booking-form-row {
    margin-bottom: 1rem;
}

.booking-form-row,
.booking-time-slots-container,
#booking-time-slots-container {
    width: 100%;
}

.booking-form-group {
    margin-bottom: 0.75rem;
}

.booking-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.booking-input,
.booking-select,
.booking-textarea {
    width: 100% !important;;
    padding: 0.5rem 0.7rem !important;;
    font-size: 1rem !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;;
    box-sizing: border-box !important;;
    transition: border-color 0.3s !important;;
}

.booking-input:focus,
.booking-select:focus,
.booking-textarea:focus {
    border-color: #78AA6C !important;;
    outline: none;
    box-shadow: 0 0 0 2px rgba(120, 170, 108, 0.2);
}

.booking-textarea {
    min-height: 11rem;
    resize: vertical;
}

.booking-checkbox {
    display: inline-block;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.booking-checkbox-label {
    display: inline-block;
    vertical-align: middle;
    font-weight: normal;
}

/* Buttons */
.booking-button, .filter-buttons .button-secondary {
    display: inline-block !important;
    padding: 0.6rem 1rem !important;;
    font-size: 1rem !important;;
    font-weight: 500 !important;;
    text-align: center !important;;
    color: #fff !important;;
    background-color: #78AA6C !important;;
    border: none !important;;
    border-radius: 4px !important;;
    cursor: pointer !important;;
    transition: background-color 0.3s !important;;
}

.booking-button:hover {
    background-color: #669b5a !important;;
    text-decoration: none !important;;
    color: #fff !important;;
}

.booking-button:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(120, 170, 108, 0.4);
}

.booking-button-secondary {
    background-color: #f0f0f0;
    color: #333;
}

.booking-button-secondary:hover {
    background-color: #e0e0e0;
    color: #333;
}

.booking-button-danger {
    background-color: #e74c3c;
}

.booking-button-danger:hover {
    background-color: #c0392b;
}

.booking-button-full {
    width: 100%;
}

/* Treatment Selection */
.booking-treatments {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 30px;
}

.booking-treatment-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1rem;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.booking-treatment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.booking-treatment-card.selected {
    border-color: #78AA6C;
    box-shadow: 0 5px 15px rgba(120, 170, 108, 0.2);
}

.booking-treatment-card.selected::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #78AA6C;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.booking-treatment-title {
    font-size: 18px;
    margin-bottom: 0.65rem;
    color: #333;
}

.booking-treatment-description {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.booking-treatment-price {
    font-weight: bold;
    color: #78AA6C;
    font-size: 16px;
}

.booking-treatment-duration {
    font-size: 14px;
    color: #888;
    margin-top: 5px;
}

/* Stylist Selection */
.booking-stylists {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 30px;
}

.booking-stylist-card {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1rem;
    transition: all 0.3s;
    cursor: pointer;
}

.booking-stylist-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.booking-stylist-card.selected {
    border-color: #78AA6C;
    box-shadow: 0 5px 15px rgba(120, 170, 108, 0.2);
}

.booking-stylist-image {
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    margin: 0 auto 15px;
    object-fit: cover;
    border: 3px solid #f0f0f0;
}

.booking-stylist-card.selected .booking-stylist-image {
    border-color: #78AA6C;
}

.booking-stylist-name {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

/* Date & Time Selection */
.booking-calendar {
    margin-bottom: 1rem;
}

.booking-time-slots {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 0.65rem;
    margin-top: 1rem;
    width: 100%;
}

.booking-time-slot {
    padding: 0.65rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.booking-time-slot:hover {
    background-color: #f9f9f9;
}

.booking-time-slot.selected {
    background-color: #78AA6C;
    color: white;
    border-color: #78AA6C;
}

.booking-time-slot.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f2f2f2;
}

/* Customer Information */
.booking-customer-info {
    max-width: 600px;
    margin: 0 auto;
}

.booking-customer-info .booking-form-row {
    margin-bottom: 1rem;
}

/* Summary & Confirmation */
.booking-summary {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 30px;
}

.booking-summary-title {
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #e5e5e5;
}

.booking-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.65rem;
    font-size: 16px;
}

.booking-summary-label {
    font-weight: 500;
    color: #555;
}

.booking-summary-value {
    font-weight: 600;
    color: #333;
}

.booking-price {
    font-size: 18px;
    color: #78AA6C;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.booking-price-original {
    text-decoration: line-through;
    color: #999;
    margin-right: 0.65rem;
}

.booking-discount {
    color: #e74c3c;
    font-weight: 500;
}

/* Status Indicators */
.booking-status {
    display: inline-block;
    padding: 5px 0.65rem;
    border-radius: 1rem;
    font-size: 14px;
    font-weight: 500;
}

.booking-status-pending {
    background-color: #f8e71c;
    color: #333;
}

.booking-status-confirmed {
    background-color: #7ed321;
    color: white;
}

.booking-status-completed {
    background-color: #4a90e2;
    color: white;
}

.booking-status-cancelled {
    background-color: #d0021b;
    color: white;
}

/* Steps Navigation */
.booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.booking-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ddd;
    z-index: 1;
}

.booking-step {
    position: relative;
    z-index: 2;
    background-color: #fff;
    text-align: center;
    flex: 1;
}

.booking-step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ddd;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.65rem;
    font-weight: bold;
    transition: all 0.3s;
}

.booking-step-label {
    font-size: 14px;
    color: #666;
    transition: all 0.3s;
}

.booking-step.active .booking-step-number {
    background-color: #78AA6C;
    color: white;
}

.booking-step.active .booking-step-label {
    color: #333;
    font-weight: 500;
}

.booking-step.completed .booking-step-number {
    background-color: #78AA6C;
    color: white;
}

.booking-step.completed .booking-step-number::after {
    content: '✓';
}

/* Alerts and Notifications */
.booking-alert {
    margin-top: 10px;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.booking-alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.booking-alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}


.booking-alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

#booking-time-slots {
    width: 100%;
    display: block;
}

/* Loading States */
.booking-loading {
    text-align: left;
    padding: 1rem;
}

.booking-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(120, 170, 108, 0.1);
    border-left-color: #78AA6C;
    border-radius: 50%;
    animation: booking-spin 1s linear infinite;
}

@keyframes booking-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Customer Appointments List */
.booking-appointments-list {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.booking-appointments-list th,
.booking-appointments-list td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.booking-appointments-list th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: #333;
}

.booking-appointments-list tr:hover {
    background-color: #f9f9f9;
}

.booking-appointments-list .booking-actions {
    display: flex;
    gap: 0.65rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .booking-treatments,
    .booking-stylists {
        grid-template-columns: 1fr;
    }

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

    .booking-summary-row {
        flex-direction: column;
        margin-bottom: 15px;
    }

    .booking-steps {
        flex-direction: column;
        gap: 15px;
    }

    .booking-steps::before {
        display: none;
    }

    .booking-step {
        display: flex;
        align-items: center;
        gap: 0.65rem;
    }

    .booking-step-number {
        margin: 0;
    }
}

/* Datepicker Customization */
.ui-datepicker {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.65rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ui-datepicker .ui-datepicker-header {
    background-color: #78AA6C;
    color: white;
    border-radius: 4px 4px 0 0;
    padding: 8px;
}

.ui-datepicker .ui-datepicker-title {
    text-align: center;
    font-weight: bold;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    position: absolute;
    top: 8px;
    width: 1rem;
    height: 1rem;
    text-indent: -9999px;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-prev {
    left: 5px;
}

.ui-datepicker .ui-datepicker-next {
    right: 5px;
}

.ui-datepicker .ui-datepicker-prev:before,
.ui-datepicker .ui-datepicker-next:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.ui-datepicker .ui-datepicker-prev:before {
    transform: translate(-25%, -50%) rotate(45deg);
}

.ui-datepicker .ui-datepicker-next:before {
    transform: translate(-75%, -50%) rotate(-135deg);
}

.ui-datepicker table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
}

.ui-datepicker th {
    padding: 7px 0;
    text-align: center;
    border: 0;
    color: #555;
}

.ui-datepicker td {
    padding: 1px;
}

.ui-datepicker td span,
.ui-datepicker td a {
    display: block;
    padding: 7px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    color: #333;
}

.ui-datepicker td a:hover {
    background-color: #f5f5f5;
}

.ui-datepicker .ui-state-active {
    background-color: #78AA6C;
    color: white;
}

.ui-datepicker .ui-state-disabled {
    opacity: 0.3;
}

/* Additional custom styles unique to OLAS */
.booking-special-discount {
    display: inline-block;
    padding: 5px 0.65rem;
    background-color: #e74c3c;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    margin-top: 0.65rem;
}

.booking-info-box {
    background-color: #f8f9fa;
    border-left: 4px solid #78AA6C;
    padding: 15px;
    margin-bottom: 1rem;
    font-size: 14px;
    color: #555;
}

/* Custom styles for deeldiensten display */
.booking-partial-services {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed #ddd;
}

.booking-partial-services h3 {
    color: var(--e-global-color-primary) !important
}

.booking-partial-service-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.booking-partial-service-name {
    font-size: 14px;
    color: #555;
}

.booking-partial-service-price {
    font-size: 14px;
    font-weight: 500;
    color: #78AA6C;
}

.booking-partial-service-discount {
    color: #e74c3c;
}

/* Treatment details page styling */
.booking-treatment-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 30px;
}

.booking-treatment-image {
    flex: 0 0 300px;
    border-radius: 8px;
    overflow: hidden;
}

.booking-treatment-image img {
    width: 100%;
    height: auto;
    display: block;
}

.booking-treatment-details {
    flex: 1;
    min-width: 300px;
}

.booking-treatment-details h1 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.75rem !important;
    letter-spacing: 0px !important;
}

.booking-treatment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.booking-treatment-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.booking-treatment-meta-icon {
    width: 1rem;
    height: 1rem;
    fill: #78AA6C;
}

.booking-treatment-description {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.booking-action-buttons {
    display: flex;
    gap: 0.65rem;
    margin-top: 30px;
}

/* Appointments Tab Styles */
.booking-appointments-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
}

.booking-appointments-tabs a {
    padding: 0.65rem 15px;
    margin-right: 5px;
    text-decoration: none;
    color: #333;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    background-color: #f5f5f5;
}

.booking-appointments-tabs a.active {
    background-color: #fff;
    border-color: #ddd;
    border-bottom-color: #fff;
    margin-bottom: -1px;
}

.booking-tab-content {
    margin-bottom: 30px;
}

/* Appointment Cards */
.booking-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 30px;
}

.booking-appointment-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.booking-appointment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 0.65rem rgba(0, 0, 0, 0.1);
}

.booking-appointment-card-header {
    display: flex;
    padding: 0.65rem;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
    gap: 0.65rem;
}

.booking-appointment-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #78AA6C;
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.booking-date-day {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.booking-date-month {
    font-size: 14px;
    text-transform: uppercase;
}

.booking-appointment-details {
    flex-grow: 1;
}

.booking-appointment-details h4 {
    margin: 0 0 5px;
    font-size: 0.75rem;
}

.booking-appointment-meta {
    font-size: 14px;
    color: #666;
}

.booking-appointment-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3px;
}

.booking-appointment-meta span svg {
    width: 0.75rem;
    height: 0.75rem;
    fill: var(--e-global-color-primary)
}

.booking-appointment-status {
    flex-shrink: 0;
    padding: 5px 0.65rem;
    border-radius: 1rem;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    align-self: flex-start;
}

.booking-appointment-card-body {
    padding: 15px;
}

.booking-appointment-notes {
    margin-bottom: 15px;
    font-size: 14px;
}

.booking-appointment-notes p {
    margin: 5px 0 0;
    color: #666;
}

/* Calendar Styles */
.booking-calendar-container {
    margin-bottom: 30px;
}

.booking-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.booking-calendar-header h3 {
    margin: 0;
    text-align: center;
    flex-grow: 1;
}

.booking-calendar-header button {
    padding: 5px 0.65rem !important;
    min-height: 30px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.booking-calendar-header button svg {
    height: 1rem;
    width: 1rem;
    fill: #FFF;
}

.booking-calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.booking-calendar-table th {
    padding: 0.65rem;
    text-align: center;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    font-weight: 600;
}

.booking-calendar-table td {
    height: 100px;
    border: 1px solid #ddd;
    vertical-align: top;
    padding: 5px;
}

.booking-calendar-table td.today {
    background-color: #f8f9fa;
}

.calendar-date {
    text-align: right;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.today .calendar-date {
    color: #78AA6C;
}

.calendar-events {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.calendar-event-marker {
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    color: white;
    cursor: pointer;
    margin-bottom: 2px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#booking-calendar-legend {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 0.65rem;
}

.booking-legend-item {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.booking-legend-marker {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin-right: 5px;
}

/* Calendar Event List */
.booking-calendar-events {
    margin-top: 30px;
}

.booking-month-group {
    margin-bottom: 25px;
}

.booking-month-group h5 {
    margin: 0 0 0.65rem;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.booking-month-appointments {
    list-style: none;
    padding: 0;
    margin: 0;
}

.booking-month-appointment {
    display: flex;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
}

.booking-month-appointment-date {
    width: 150px;
    font-size: 14px;
    color: #666;
}

.booking-month-appointment-title {
    flex-grow: 1;
    font-weight: 500;
}

.booking-month-appointment-status {
    padding: 3px 8px;
    border-radius: 1rem;
    font-size: 12px;
    color: white;
}

/* Modal Styles */
.booking-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.booking-modal-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
}

.booking-modal-close {
    position: absolute;
    top: 0.65rem;
    right: 15px;
    color: #aaa;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

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

.booking-appointment-detail {
    margin-bottom: 1rem;
}

.booking-detail-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.booking-detail-label {
    width: 30%;
    font-weight: 500;
    color: #666;
}

.booking-detail-value {
    flex-grow: 1;
}

.booking-modal-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

/* Status Colors */
.booking-status-pending,
.booking-status-pending.calendar-event-marker,
.booking-legend-marker.booking-status-pending {
    background-color: #7BAA6C14;
    color: #333;
}

.booking-status-confirmed,
.booking-status-confirmed.calendar-event-marker,
.booking-legend-marker.booking-status-confirmed {
    background-color: #7BAA6C;
}

.booking-status-completed,
.booking-status-completed.calendar-event-marker,
.booking-legend-marker.booking-status-completed {
    background-color: #F3AE69;
}

.booking-status-cancelled,
.booking-status-cancelled.calendar-event-marker,
.booking-legend-marker.booking-status-cancelled {
    background-color: #ddd;
    color: #333;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .booking-card-container {
        grid-template-columns: 1fr;
    }

    .booking-calendar-table th,
    .booking-calendar-table td {
        padding: 5px;
    }

    .booking-calendar-table td {
        height: 60px;
    }

    .calendar-event-marker {
        font-size: 0.65rem;
        padding: 1px 3px;
    }

    .booking-appointment-card-header {
        flex-direction: column;
    }

    .booking-month-appointment {
        flex-direction: column;
        gap: 5px;
    }

    .booking-month-appointment-date,
    .booking-month-appointment-title {
        width: 100%;
    }

    .booking-month-appointment-status {
        align-self: flex-start;
    }
}

.discount-info {
    font-size: 0.9em;
    color: #78AA6C;
    margin-left: 5px;
}

.booking-field-note {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
    margin-left: 28px;
}

.booking-price-breakdown {
    margin-top: 15px;
    border-top: 1px dashed #eee;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.booking-price-breakdown .original-price {
    text-decoration: line-through;
    color: #999;
}

.booking-price-breakdown .discount-line {
    color: #e74c3c;
}

.booking-price-breakdown .final-price {
    font-weight: bold;
    color: #78AA6C;
    font-size: 1.1em;
}

/* Add this to your public.css file */
.booking-stylist-any {
    border: 2px dashed #78AA6C;
    background-color: #f8f9fa;
}

.booking-stylist-any:hover,
.booking-stylist-any.selected {
    background-color: #f0f7f0;
}

.booking-stylist-desc {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

/* Rescheduling Mode Styles */
.booking-treatment-rescheduling-header {
    background-color: #f8f9fa;
    border-left: 4px solid #78AA6C;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.booking-rescheduling-info {
    color: #555;
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.booking-rescheduling-details {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.booking-rescheduling-badge {
    display: inline-block;
    background-color: #78AA6C;
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Modify the booking form in rescheduling mode */
.booking-rescheduling-active .booking-section-title {
    color: #78AA6C;
}

.booking-rescheduling-active .booking-step:nth-child(3),
.booking-rescheduling-active .booking-step:nth-child(4) {
    opacity: 0.6;
}

.booking-rescheduling-active .booking-info-box {
    border-left-color: #78AA6C;
    background-color: #f0f7f0;
}

/* Confirmation styles */
.rescheduling-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}

.rescheduling-success h3 {
    color: #155724;
    margin-bottom: 0.5rem;
}

.rescheduling-success p {
    margin-bottom: 0.5rem;
}

.rescheduling-success .booking-back-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #78AA6C;
    color: white;
    border-radius: 4px;
    text-decoration: none;
}

.rescheduling-success .booking-back-link:hover {
    background-color: #669b5a;
}

/* Animation for rescheduling confirmation */
@keyframes confirmFade {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.rescheduling-success {
    animation: confirmFade 0.5s ease-out;
}

/* Style changes for the confirmation step in rescheduling mode */
.rescheduling-mode #booking-step-4 .booking-info-box {
    background-color: #f0f7f0;
    border-left-color: #78AA6C;
}

.rescheduling-mode #booking-submit {
    background-color: #78AA6C;
}

.rescheduling-mode #booking-submit:hover {
    background-color: #669b5a;
}

/* Visibly differentiate rescheduling from regular booking */
.rescheduling-mode .booking-steps {
    border-bottom: 2px solid #78AA6C;
    padding-bottom: 15px;
}

.rescheduling-mode .booking-section-title {
    border-bottom-color: #78AA6C;
}

.slot-stylist {
    display: none;
}

@media screen and (max-width: 767px) {
    .booking-form-row, .booking-action-buttons {
        flex-direction: column;
    }
}