.cvc-booking-glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    direction: rtl;
    font-family: 'Tahoma', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cvc-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    margin-top: 10px;
    outline: none;
    transition: border-color 0.3s;
}

.cvc-input:focus {
    border-color: #007bff;
}

.cvc-nationality-group {
    margin-top: 10px;
}

.cvc-nationality-label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.cvc-nationality-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cvc-nationality-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s, background 0.2s;
}

.cvc-nationality-option:has(input:checked) {
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.06);
}

.cvc-nationality-option input {
    margin: 0;
}

.cvc-booking-header {
    text-align: center;
    margin-bottom: 40px;
}

.cvc-booking-header h3 {
    font-size: 28px;
    color: #1a1a1a;
}

.cvc-steps-timeline {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.cvc-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #999;
    position: relative;
}

.cvc-step.active {
    background: #007bff;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
}

.cvc-card-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.cvc-select-card,
.cvc-select-card-doc {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.cvc-select-card:hover,
.cvc-select-card-doc:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cvc-select-card.active,
.cvc-select-card-doc.active {
    border-color: #007bff;
    background: #f0f7ff;
}

.cvc-sc-icon {
    font-size: 30px;
    color: #007bff;
    margin-bottom: 10px;
}

.cvc-sc-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.cvc-sc-price {
    color: #28a745;
    font-size: 14px;
}

.cvc-sc-img img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.cvc-slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.cvc-slot-pill {
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s;
}

.cvc-slot-pill:hover,
.cvc-slot-pill.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.cvc-service-description-card {
    background: #f0f7ff;
    padding: 20px;
    border-radius: 15px;
    margin-top: 30px;
    border: 1px solid rgba(0, 123, 255, 0.15);
}

.cvc-service-description-title {
    margin: 0 0 12px;
    font-size: 16px;
    color: #1a1a1a;
}

.cvc-service-description-content {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    word-wrap: break-word;
}

.cvc-service-description-content p:last-child {
    margin-bottom: 0;
}

.cvc-service-description-content img {
    max-width: 100%;
    height: auto;
}

.cvc-service-descriptions-store {
    display: none !important;
}

.cvc-total-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-top: 30px;
}

.cvc-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cvc-final-row {
    font-weight: bold;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    font-size: 18px;
}

.cvc-btn-prev {
    background: none;
    border: 1px solid #ccc;
    padding: 10px 25px;
    border-radius: 10px;
    cursor: pointer;
    margin-right: 10px;
}

.cvc-actions {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cvc-alert {
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
}

.cvc-alert-success {
    background: #d4edda;
    color: #155724;
}

/* Discount Styles */
.cvc-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.4;
}

.original-price {
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
}

.discounted-price {
    color: #28a745;
    font-weight: bold;
    font-size: 15px;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(45deg, #f1c40f, #f39c12);
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(243, 156, 18, 0.4);
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 2;
}

/* C2C Box Styles */
.cvc-c2c-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.cvc-c2c-box h4 {
    margin-top: 0;
    color: #333;
    font-size: 16px;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.cvc-c2c-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.cvc-card-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px dashed #ccc;
}

.cvc-cd-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.cvc-cd-row:last-child {
    margin-bottom: 0;
}

.cvc-cd-row .label {
    color: #888;
}

.cvc-cd-row .value {
    font-weight: bold;
    color: #333;
    direction: ltr;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cvc-upload-box {
    text-align: center;
}

.cvc-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e3f2fd;
    color: #1976d2;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: bold;
}

.cvc-upload-label:hover {
    background: #bbdefb;
}

.cvc-file-name {
    margin-top: 10px;
    font-size: 12px;
    color: #2e7d32;
    font-weight: bold;
}

/* Inline Calendar Styles */
#cvc-inline-calendar-container {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.cvc-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 18px;
}

.cvc-calendar-header button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #555;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.2s;
}

.cvc-calendar-header button:hover {
    background: #f0f0f0;
}

.cvc-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    color: #777;
    margin-bottom: 10px;
}

.cvc-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.cvc-cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: bold;
    border: 1px solid transparent;
}

.cvc-cal-day:not(.empty):not(.disabled):hover {
    background: #eef6ff;
    color: #007bff;
    border-color: #007bff;
}

.cvc-cal-day.active {
    background: #007bff !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.cvc-cal-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #fafafa;
}

.cvc-cal-day.holiday {
    color: #e74c3c !important;
    background: #fdedec !important;
    border: 1px solid #fadbd8;
    cursor: not-allowed;
}

.cvc-cal-day.empty {
    cursor: default;
}

/* Two-Column Layout for Date/Time */
.cvc-date-time-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.cvc-dt-col-right {
    flex: 6; /* 60% */
}

.cvc-dt-col-left {
    flex: 4; /* 40% */
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    min-height: 380px; /* Match typical calendar height */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.cvc-slots-header {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    color: #555;
}

.cvc-no-slots-msg {
    text-align: center;
    color: #999;
    margin-top: 50px;
    font-size: 14px;
}

@media (max-width: 768px) {
    /* General Mobile Padding */
    .cvc-booking-glass-card {
        padding: 20px;
    }

    /* Step 1: 2 Columns for Services */
    .cvc-card-select-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .cvc-select-card,
    .cvc-select-card-doc {
        padding: 15px;
        min-height: 140px; /* Ensure consistent height */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* Step 4: Layout */
    .cvc-date-time-wrapper {
        flex-direction: column;
    }
    
    .cvc-dt-col-right,
    .cvc-dt-col-left {
        width: 100%;
        flex: auto;
    }
    
    .cvc-dt-col-left {
        min-height: auto;
        margin-top: 20px;
    }

    /* Step 4: Compact Calendar */
    .cvc-calendar-days {
        gap: 2px;
    }
    
    .cvc-cal-day {
        font-size: 14px;
        border-radius: 8px; /* Slightly smaller radius */
    }

    /* Step 4: 3 Columns for Time Slots */
    .cvc-slots-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .cvc-slot-pill {
        width: 100%;
        text-align: center;
        padding: 8px 5px;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
.cvc-cal-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #fafafa;
}

.cvc-cal-day.holiday {
    color: #e74c3c !important;
    background: #fdedec !important;
    border: 1px solid #fadbd8;
    cursor: not-allowed;
}

.cvc-cal-day.not-service-day {
    background: #f5f5f5;
    color: #bbb;
}

.cvc-cal-day.empty {
    cursor: default;
}


/* Beautiful Loader */
.cvc-loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    border-top-color: #007bff;
    animation: cvc-spin 1s ease-in-out infinite;
    margin: 40px auto;
}

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

/* Loading Overlay for Summary/Containers */
.cvc-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: inherit;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cvc-loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cvc-loading-overlay .cvc-loader-spinner {
    margin: 0; /* Reset margin for centered overlay */
}

/* Ensure containers can hold absolute overlay */
.cvc-total-card,
.cvc-dt-col-left, 
#cvc-inline-calendar-container,
.cvc-card-select-grid {
    position: relative;
    min-height: 200px;
}
/* Mini Spinner for Buttons */
.cvc-mini-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: cvc-spin 1s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

.cvc-btn {
    width: auto;
    padding: 10px;
    margin: 15px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.cvc-btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.25);
}