/**
 * Coastal Canines Booking - Frontend Styles
 * Based on reference design with teal/cyan theme
 */

:root {
    --ccb-primary: #4ea5b1;
    --ccb-primary-hover: #3d8a94;
    --ccb-secondary: #6c757d;
    --ccb-success: #28a745;
    --ccb-danger: #dc3545;
    --ccb-warning: #ffc107;
    --ccb-light: #f8f9fa;
    --ccb-dark: #343a40;
    --ccb-border: #dee2e6;
    --ccb-text: #333;
    --ccb-text-light: #666;
    --ccb-red: #e74c3c;
}

body {
    font-family: "Questrial", Sans-serif;    
}

/* Booking Wrapper */
.ccb-booking-wrapper {
    max-width: 1200px;
    margin: 20px auto;
    font-family: "Questrial", Sans-serif;    
    color: var(--ccb-text);
    min-height: 450px;
}

/* Breadcrumb */
.ccb-breadcrumb {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 2px solid var(--ccb-border);
}

.ccb-breadcrumb-item {
    flex: 1;
    text-align: center;
    position: relative;
    color: var(--ccb-text-light);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ccb-breadcrumb-item.active {
    color: var(--ccb-text);
}

.ccb-breadcrumb-item.active::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: var(--ccb-primary);
}

/* Steps */
.ccb-step {
    display: none;
}

.ccb-step.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

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

/* Locations Wrapper */
.ccb-locations-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.ccb-locations-wrapper h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--ccb-text);
}

/* Location Search */
.ccb-location-search {
    margin-bottom: 30px;
    display: flex;
}

.ccb-location-search input {
    width: 100%;
    max-width: 500px;
    padding: 12px 20px;
    border: 1px solid var(--ccb-border);
    border-radius: 4px;
    font-size: 15px;
}

/* Locations List */
.ccb-locations-list {
    background: #fff;
}

.ccb-location-group {
    margin-bottom: 40px;
}

.ccb-state-header {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ccb-primary);
    color: var(--ccb-text);
}

.ccb-location-item {
    display: flex;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid var(--ccb-border);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    text-decoration: none!important;
    color: inherit;
}

.ccb-location-item:hover {
    border-color: var(--ccb-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.ccb-location-icon {
    font-size: 24px;
    margin-right: 15px;
    color: var(--ccb-primary);
}

.ccb-location-info {
    flex: 1;
}

.ccb-location-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--ccb-primary);
}

.ccb-location-desc {
    font-size: 12px;
    color: var(--ccb-text-light);
    margin: 3px 0;
}

.ccb-location-status {
    font-size: 11px;
    margin: 3px 0 0 0;
}

.ccb-status-open {
    color: var(--ccb-success);
    font-weight: 600;
}

.ccb-status-closed {
    color: var(--ccb-red);
    font-weight: 600;
}

/* Service Layout */
.ccb-service-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-top: 30px;
}

/* Select Slot Layout */
.ccb-slot-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr);
    gap: 30px;
    margin-top: 30px;
    align-items: flex-start;
}

.ccb-slot-calendar-wrapper {
    background: #fff;
    border-radius: 4px;
    padding: 16px;
    border: 1px solid var(--ccb-border);
}

.ccb-slot-calendar-wrapper h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

/* Single-month calendar */
.ccb-slot-calendar {
    max-width: 100%;
}

@media (max-width: 800px) {
    .ccb-slot-layout {
        grid-template-columns: 1fr;
    }
    .ccb-slot-calendar {
        max-width: 100%;
    }
}

/* Prev / Next navigation */
.ccb-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.ccb-cal-month-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--ccb-dark);
}

.ccb-cal-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid var(--ccb-border);
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    color: var(--ccb-text);
    transition: background 0.15s ease, border-color 0.15s ease;
    line-height: 1;
}

.ccb-cal-arrow:hover:not([disabled]) {
    background: #e5f3f5;
    border-color: var(--ccb-primary);
}

.ccb-cal-arrow[disabled] {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Day grid */
.ccb-year-month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.ccb-year-day-header {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--ccb-text-light);
    padding-bottom: 6px;
}

.ccb-year-date {
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    line-height: 36px;
    min-height: 36px;
    border-radius: 50%;
    user-select: none;
}

.ccb-year-empty {
    background: transparent;
}

.ccb-year-disabled {
    color: #cbd5e1;
    cursor: default;
}

.ccb-year-available {
    cursor: pointer;
    color: #111827;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
}

.ccb-year-available:hover {
    background: #e5f3f5;
}

.ccb-year-selected {
    background: var(--ccb-primary) !important;
    color: #fff !important;
    font-weight: 600;
}

.ccb-slot-service-sidebar {
    background: var(--ccb-light);
    border-radius: 4px;
    padding: 16px 18px;
    border: 1px solid var(--ccb-border);
}

.ccb-slot-service-sidebar h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
}

/* Sidebar */
.ccb-sidebar {
    background: var(--ccb-light);
    padding: 20px;
    border-radius: 4px;
}

.ccb-sidebar h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.ccb-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ccb-filter-item {
    padding: 10px 0;
    cursor: pointer;
    color: var(--ccb-primary);
    font-size: 14px;
    transition: padding-left 0.2s;
}

.ccb-filter-item:hover {
    padding-left: 5px;
}

.ccb-filter-item.active {
    font-weight: 600;
}

.ccb-filter-count {
    color: var(--ccb-text-light);
    font-size: 13px;
    margin-left: 5px;
}

/* Booking Header */
.ccb-booking-header {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--ccb-light);
    border-radius: 4px;
}

.ccb-select-group {
    flex: 1;
}

.ccb-select-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--ccb-text);
}

.ccb-select-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--ccb-border);
    border-radius: 4px;
    font-size: 14px;
}

/* Services List */
.ccb-services-list {
    background: #fff;
}

.ccb-service-category {
    margin-bottom: 40px;
}

.ccb-service-category h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ccb-border);
}

.ccb-service-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--ccb-border);
}

.ccb-service-item:last-child {
    border-bottom: none;
}

.ccb-service-info {
    flex: 1;
}

.ccb-service-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.ccb-service-meta {
    font-size: 14px;
    color: var(--ccb-text-light);
    margin: 5px 0;
}

.ccb-service-desc {
    font-size: 14px;
    color: var(--ccb-text);
    line-height: 1.6;
    margin: 10px 0 0 0;
}

.ccb-more-link {
    color: var(--ccb-primary);
    text-decoration: none;
    font-weight: 600;
}

.ccb-more-link:hover {
    text-decoration: underline;
}

/* Buttons */
.ccb-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ccb-btn-primary {
    background: var(--ccb-primary);
    color: #fff;
}

.ccb-btn-primary:hover {
    background: var(--ccb-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 165, 177, 0.3);
}

.ccb-btn-secondary {
    background: var(--ccb-light);
    color: var(--ccb-text);
    border: 1px solid var(--ccb-border);
}

.ccb-btn-secondary:hover {
    background: var(--ccb-border);
}

.ccb-btn-clear {
    display: block;
    background: transparent;
    color: var(--ccb-primary);
    padding: 8px 16px;
    border: 1px solid var(--ccb-primary);
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.ccb-btn-clear:hover {
    background: var(--ccb-primary);
    color: #fff;
}

/* Time Selection */
.ccb-time-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.ccb-calendar-wrapper {
    position: relative;
}

/* Always-visible inline calendar - one month with left/right arrows */
.ccb-calendar-inline {
    margin-bottom: 20px;
}

.ccb-calendar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ccb-calendar-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--ccb-border);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    color: var(--ccb-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.ccb-calendar-arrow:hover {
    background: var(--ccb-light);
    border-color: var(--ccb-primary);
    color: var(--ccb-primary);
}

.ccb-calendar-arrow:focus {
    outline: none;
    border-color: var(--ccb-primary);
}

.ccb-calendar-nav .ccb-calendar-month {
    flex: 1;
    min-width: 0;
}

.ccb-calendar-month {
    background: #fff;
    border: 1px solid var(--ccb-border);
    border-radius: 8px;
    padding: 16px;
}

.ccb-calendar-month-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--ccb-text);
}

.ccb-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-align: center;
}

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

.ccb-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: 6px;
    user-select: none;
}

.ccb-calendar-day--empty {
    visibility: hidden;
}

.ccb-calendar-day--available {
    cursor: pointer;
    background: var(--ccb-primary);
    color: #fff;
    font-weight: 500;
}

.ccb-calendar-day--available:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.ccb-calendar-day--available.ccb-calendar-day--selected {
    outline: 2px solid var(--ccb-text);
    outline-offset: 2px;
}

.ccb-calendar-day--disabled {
    color: #bbb;
    background: #f5f5f5;
    cursor: not-allowed;
}

.ccb-available-dates-info {
    background: #e8f5f7;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--ccb-text);
}

.ccb-available-dates-info strong {
    color: var(--ccb-primary);
}

.ccb-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
}

.ccb-time-slot {
    padding: 15px;
    background: var(--ccb-light);
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.ccb-time-slot:hover {
    border-color: var(--ccb-primary);
    background: #fff;
    transform: translateX(3px);
}

.ccb-time-slot.selected {
    background: var(--ccb-primary);
    color: #fff;
    border-color: var(--ccb-primary);
}

.ccb-slot-time {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.ccb-slot-info {
    font-size: 13px;
    opacity: 0.8;
}

.ccb-time-slot.selected .ccb-slot-info {
    opacity: 1;
}

/* Checkout Layout */
.ccb-checkout-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.ccb-checkout-form {
    background: #fff;
}

.ccb-form-group {
    margin-bottom: 20px;
}

.ccb-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ccb-text);
}

.ccb-form-group input,
.ccb-form-group select,
.ccb-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--ccb-border);
    border-radius: 4px;
    font-size: 14px;
}

.ccb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Waiver Box */
.ccb-waiver-box {
    max-height: 200px;
    overflow-y: scroll;
    padding: 15px;
    background: var(--ccb-light);
    border: 1px solid var(--ccb-border);
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.ccb-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.ccb-checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 2px;
}

/* Signature Pad */
#ccb-signature-pad {
    border: 2px solid var(--ccb-border);
    border-radius: 4px;
    background: #fff;
    cursor: crosshair;
}

/* Appointment Sidebar */
.ccb-appointment-sidebar {
    background: var(--ccb-light);
    padding: 25px;
    border-radius: 4px;
    position: sticky;
    top: 20px;
}

.ccb-appointment-sidebar h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ccb-border);
}

.ccb-summary-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--ccb-border);
}

.ccb-summary-item:last-child {
    border-bottom: none;
}

.ccb-summary-label {
    font-size: 12px;
    color: var(--ccb-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ccb-summary-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--ccb-text);
    margin-top: 5px;
}

.ccb-summary-total {
    font-size: 16px;
    font-weight: 500;
    color: var(--ccb-text);
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--ccb-text);
}

/* Confirmation */
.ccb-confirmation {
    text-align: center;
    padding: 60px 20px;
}

.ccb-confirmation h2 {
    color: var(--ccb-success);
    font-size: 32px;
    margin-bottom: 30px;
}
.ccb-slot-booked{
    background-color: #ccc;
    color: #fff;
    border-color: #ccc;
    cursor: not-allowed;
    opacity: 0.75;
    transform: none !important;
    box-shadow: none !important;
}
.ccb-slot-booked:hover{
    background-color: #ccc;
    color: #fff;
    border-color: #ccc;
    cursor: not-allowed;
    opacity: 0.75;
    transform: none !important;
    box-shadow: none !important;
}
.ccb-checkout-terms{
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--ccb-text);
}
.ccb-checkout-terms p{
    margin-bottom: 10px;
    margin-top: 0;  
}
.ccb-checkout-terms p:last-child{
    margin-bottom: 0;       
}
/* Responsive */
@media (max-width: 992px) {
    .ccb-service-layout {
        grid-template-columns: 1fr;
    }
    
    .ccb-sidebar {
        order: 2;
    }
    
    .ccb-checkout-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ccb-breadcrumb {
        flex-wrap: wrap;
        gap: 15px 0px;
    }
    
    .ccb-breadcrumb-item {
        flex: 0 0 50%;
        margin-bottom: 10px;
    }
    
    .ccb-time-layout {
        grid-template-columns: 1fr;
    }
    
    .ccb-form-row {
        grid-template-columns: 1fr;
    }
    .ccb-breadcrumb-item.active::after {
        bottom: -14px;
        width: 80%;
    }
}

/* Loading State */
.ccb-loading {
    text-align: center;
    padding: 40px;
    color: var(--ccb-text-light);
}

.ccb-loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Error State */
.ccb-error {
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
    margin-bottom: 20px;
}

.ccb-no-slots,
.ccb-no-services {
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid var(--ccb-border);
    border-radius: 4px;
    color: var(--ccb-text);
    text-align: center;
    margin: 20px 0;
}

.ccb-no-services p {
    margin: 0;
    font-size: 15px;
}

.ccb-success {
    padding: 15px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    color: #155724;
    margin-bottom: 20px;
}

/* ========================================
   Calendar & Time Slots Layout
   ======================================== */

.ccb-time-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.ccb-calendar-and-slots {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Calendar Styles */
.ccb-calendar-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ccb-calendar-wrapper h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--ccb-primary);
}

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

.ccb-cal-prev,
.ccb-cal-next {
    background: var(--ccb-primary);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s;
}

.ccb-cal-prev:hover,
.ccb-cal-next:hover {
    background: #1a5a8a;
}

.ccb-cal-month-year {
    font-size: 18px;
    font-weight: 600;
    color: var(--ccb-text);
}

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

.ccb-cal-day-header {
    text-align: center;
    font-weight: 600;
    padding: 10px 0;
    color: #666;
    font-size: 14px;
}

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

.ccb-cal-date {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 14px;
}

.ccb-cal-empty {
    cursor: default;
    background: transparent;
}

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

.ccb-cal-available {
    background: #f0f0f0;
    color: #333;
}

.ccb-cal-available:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ccb-cal-highlighted {
    background: #fff3cd !important;
    border: 2px solid #ffc107;
    font-weight: 700;
    animation: highlightPulse 2s infinite;
}

@keyframes highlightPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(255, 193, 7, 0); }
}

.ccb-cal-selected {
    background: var(--ccb-primary) !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(34, 113, 177, 0.3);
}

/* Time Slots Styles */
.ccb-time-slots-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ccb-time-slots-wrapper h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--ccb-primary);
}

.ccb-time-slots-grid {
    min-height: 100px;
}

.ccb-select-date-message {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    margin: 0;
}

.ccb-time-slots-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.ccb-time-slot-btn {
    padding: 12px 16px;
    border: 2px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.ccb-time-slot-btn:hover {
    color: var(--ccb-primary);
    border-color: var(--ccb-primary);
    background: #f0f6fc;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ccb-slot-selected {
    background: var(--ccb-primary) !important;
    color: #fff !important;
    border-color: var(--ccb-primary) !important;
    box-shadow: 0 2px 8px rgba(34, 113, 177, 0.3);
}

.ccb-slot-extra {
    border-color: #38bdf8;
    background: #e0f2fe;
}

.ccb-slot-extra:hover {
    background: #bae6fd;
    border-color: #0284c7;
}

.ccb-extra-badge {
    display: inline-block;
    background: #0284c7;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    margin-left: 4px;
    font-weight: 600;
}

.ccb-slot-booked {
    background: #f5f5f5 !important;
    border-color: #ddd !important;
    color: #aaa !important;
    cursor: not-allowed !important;
    opacity: 0.75;
    transform: none !important;
    box-shadow: none !important;
}

.ccb-slot-booked:hover {
    background: #f5f5f5 !important;
    border-color: #ddd !important;
    color: #aaa !important;
    transform: none !important;
    box-shadow: none !important;
}

.ccb-booked-badge {
    display: inline-block;
    background: #e5e7eb;
    color: #9ca3af;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    margin-left: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Booking Summary Sidebar */
.ccb-booking-summary {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.ccb-booking-summary h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--ccb-primary);
    font-size: 18px;
}

.ccb-no-selection {
    text-align: center;
    color: #999;
    padding: 20px;
    margin: 0;
}

.ccb-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 14px;
}

.ccb-summary-label {
    color: #666;
}

.ccb-summary-value {
    font-weight: 500;
    color: var(--ccb-text);
}

.ccb-summary-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 15px 0;
}

.ccb-summary-total {
    font-size: 18px;
    padding-top: 15px;
    border-top: 2px solid var(--ccb-primary);
    margin-top: 10px;
}

.ccb-summary-total .ccb-summary-label,
.ccb-summary-total .ccb-summary-value {
    color: var(--ccb-text);
}

.ccb-summary-advance {
    background: #fff3cd;
    padding: 12px;
    margin-top: 10px;
    border-radius: 4px;
    border: 1px solid #ffc107;
}

.ccb-summary-advance .ccb-summary-label {
    color: #856404;
}

.ccb-summary-advance .ccb-summary-value {
    color: #856404;
}

/* Step Actions */
.ccb-step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.ccb-btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
}

.ccb-btn-primary {
    background: var(--ccb-primary);
    color: #fff;
    border: none;
}

.ccb-btn-primary:hover {
    background: #1a5a8a;
    box-shadow: 0 2px 8px rgba(34, 113, 177, 0.3);
}

.ccb-btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.ccb-btn-secondary {
    background: #fff;
    color: var(--ccb-primary);
    border: 2px solid var(--ccb-primary);
}

.ccb-btn-secondary:hover {
    background: #f0f6fc;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .ccb-time-layout {
        grid-template-columns: 1fr;
    }
    
    .ccb-booking-summary {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .ccb-calendar-dates {
        gap: 3px;
    }
    
    .ccb-cal-date {
        font-size: 12px;
    }
    
    .ccb-time-slots-list {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .ccb-time-slot-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .ccb-step-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .ccb-btn {
        width: 100%;
    }
}

/* Form Validation Styles */
.ccb-required {
    color: #dc3545;
    font-weight: bold;
}

.ccb-error-message {
    display: none;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

.ccb-form-group.has-error .ccb-error-message {
    display: block;
}

.ccb-form-group.has-error input,
.ccb-form-group.has-error select,
.ccb-form-group.has-error textarea,
.ccb-form-group.has-error #ccb-signature-pad {
    border-color: #dc3545 !important;
    background-color: #fff5f5;
}

.ccb-form-group.has-error input:focus,
.ccb-form-group.has-error select:focus,
.ccb-form-group.has-error textarea:focus {
    outline: none;
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* =========================================================
   STEP 1 – SELECT LOCATION
   ========================================================= */

.ccb-step-1 h2 {
    margin-bottom: 6px;
}

.ccb-step-desc {
    color: var(--ccb-text-light);
    margin-bottom: 28px;
}

.ccb-cities-list {
    padding-bottom: 20px;
}

.ccb-state-group {
    margin-bottom: 36px;
}

.ccb-state-header {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ccb-primary);
    border-bottom: 2px solid var(--ccb-border);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.ccb-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.ccb-city-card {
    border: 1px solid var(--ccb-border);
    border-radius: 8px;
    padding: 18px 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    transition: box-shadow 0.2s;
}

.ccb-city-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.ccb-city-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
}

.ccb-city-store-count {
    font-size: 13px;
    color: var(--ccb-text-light);
    margin: 0;
}

.ccb-city-select-btn {
    width: 100%;
    margin-top: 4px;
}

/* Breadcrumb completed state */
.ccb-breadcrumb-item.completed {
    color: var(--ccb-primary);
}

.ccb-breadcrumb-item.completed::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: var(--ccb-primary);
    opacity: 0.35;
}

/* =========================================================
   STEP 2 – PICK A STORE
   ========================================================= */

.ccb-stores-list {
    padding-bottom: 20px;
}

.ccb-store-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.ccb-store-card {
    border: 1px solid var(--ccb-border);
    border-radius: 8px;
    padding: 20px 18px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    transition: box-shadow 0.2s;
}

.ccb-store-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.ccb-store-card-name {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--ccb-text);
}

.ccb-store-card-address,
.ccb-store-card-phone {
    font-size: 13px;
    color: var(--ccb-text-light);
    margin: 0 0 3px;
}

.ccb-store-select-btn {
    width: 100%;
    margin-top: 4px;
}

/* =========================================================
   STEP 3 – PICK A SERVICE
   ========================================================= */

.ccb-services-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 20px;
}

.ccb-services-list .ccb-service-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--ccb-border);
    border-radius: 8px;
    padding: 18px 20px;
    background: #fff;
    transition: box-shadow 0.2s;
}

.ccb-services-list .ccb-service-item:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.ccb-services-list .ccb-service-info {
    flex: 1;
}

.ccb-services-list .ccb-service-action {
    flex-shrink: 0;
    padding-top: 2px;
}

.ccb-select-service-btn {
    white-space: nowrap;
}

/* Shared step header */
.ccb-step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.ccb-step-header h2 {
    margin: 0;
    flex: 1;
}

.ccb-back-btn {
    flex-shrink: 0;
}

.ccb-step-location-label {
    color: var(--ccb-text-light);
    font-size: 14px;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .ccb-services-list .ccb-service-item {
        flex-direction: column;
    }

    .ccb-store-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ccb-cities-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 400px) {
    .ccb-store-cards-grid,
    .ccb-cities-grid {
        grid-template-columns: 1fr;
    }
}