/* Modern Booking Form Styles */
:root {
    --brand-blue: #3fa9f5;
    --brand-blue-600: #3493dc; /* slightly deeper for richer gradient */
}
.booking-container {
    max-width: 800px;
    margin: 2.5rem auto 1.5rem; /* extra top spacing to clear fixed navbar */
    padding: 1.5rem;
    background: var(--gradient-background, linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%));
    border-radius: var(--radius-2xl, 20px);
    box-shadow: var(--shadow-xl, 0 20px 40px rgba(0,0,0,0.1));
    position: relative;
    overflow: hidden;
}

.booking-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-600));
    opacity: 0.8;
}

.booking-header { margin-bottom: 1.5rem; }

.booking-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold, 700);
    color: var(--gray-900, #2c3e50);
    margin-bottom: var(--space-sm, 0.5rem);
    line-height: var(--line-height-tight, 1.25);
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    position: relative;
}

.booking-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary, linear-gradient(135deg, #007bff, #0056b3));
    border-radius: var(--radius-full, 50px);
}

.booking-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin: 0;
}

/* Airbnb-like subtle chips under the title */
.booking-subtitle-chips {
    gap: 0.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 999px;
    color: #2c3e50;
    font-size: 0.9rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.chip i { font-size: 1rem; color: var(--brand-blue); }
.chip:hover {
    border-color: var(--brand-blue);
    background: rgba(63, 169, 245, 0.06);
}

.chip-subtext {
    color: #6c757d;
    margin-left: 6px;
}

/* Enhanced Progress Bar */
.progress-container {
    position: relative;
}

.progress-track {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-600));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.step-indicators {
    position: relative;
    margin-top: -14px; /* Center 32px circles on 6px track */
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-100, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid var(--gray-100, #e9ecef);
    position: relative;
}

.step-circle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-600));
    border-radius: 50%;
    transform: scale(0);
    transition: transform var(--transition-normal, 0.3s ease);
}

.step-indicator.active .step-circle {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: white;
    box-shadow: 0 6px 16px rgba(63,169,245,0.3);
}

.step-indicator.active .step-circle::before {
    transform: scale(1);
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    transition: color 0.3s ease;
}

.step-indicator.active .step-label { color: var(--brand-blue); }

.step-indicator.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-indicator.clickable:hover .step-circle {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(63,169,245,0.2);
}

.step-indicator.clickable:hover .step-label {
    color: #007bff;
}

.step-indicator.clickable.active:hover .step-circle {
    transform: scale(1.1);
}

/* Form Steps */
.form-step { min-height: auto; }

.step-content {
    animation: fadeInUp 0.5s ease;
}

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

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.step-description {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 1rem;
}

/* Form Labels */
.form-label-modern {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Card Selection Grids */
.card-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.size-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.card-radio {
    display: none;
}

.selection-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    color: #343a40;
    padding: 0.75rem 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-height: 56px;
    justify-content: center;
}

.selection-card:hover {
    border-color: var(--brand-blue);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg, 0 8px 25px rgba(63,169,245,0.15));
}

.card-radio:checked + .selection-card {
    border-color: var(--brand-blue);
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-600));
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-primary, 0 8px 25px rgba(63,169,245,0.3));
    animation: bounceIn 0.4s ease;
}

.card-radio:checked + .selection-card .card-icon {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 43% {
        transform: translateY(-8px);
    }
    70% {
        transform: translateY(-4px);
    }
    90% {
        transform: translateY(-2px);
    }
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-text {
    font-weight: 600;
    font-size: 0.95rem;
}

.size-card .card-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.size-range {
    font-weight: 700;
    font-size: 1rem;
}

.size-unit {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Service Note */
.service-note {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #856404;
}

.service-note i {
    color: #f39c12;
    font-size: 1.1rem;
}

/* Service Cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-radio {
    display: none;
}

.service-card-label {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    height: 100%;
}

.service-card-label:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg, 0 8px 25px rgba(0,0,0,0.15));
}

.service-radio:checked + .service-card-label {
    border-color: var(--brand-blue);
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-600));
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl, 0 12px 30px rgba(0,0,0,0.2));
    animation: bounceIn 0.5s ease;
}

/* Fix text contrast when service card is selected */
.service-radio:checked + .service-card-label .service-name {
    color: white;
}

.service-radio:checked + .service-card-label .service-description {
    color: rgba(255, 255, 255, 0.9);
}

.service-radio:checked + .service-card-label .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.service-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    position: relative;
    transition: color 0.3s ease;
}

.recommended-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(40,167,69,0.3);
}

.unavailable-badge {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.service-unavailable {
    color: #6c757d;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-unavailable i {
    color: #dc3545;
}

.service-description {
    color: #495057;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.service-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #007bff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Frequency Cards */
.frequency-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.frequency-radio {
    display: none;
}

.frequency-card-label {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    height: 100%;
    position: relative;
}

.frequency-card-label:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,0.1));
}

.frequency-radio:checked + .frequency-card-label {
    border-color: var(--brand-blue);
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-600));
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg, 0 8px 25px rgba(0,123,255,0.3));
    animation: bounceIn 0.4s ease;
}

/* Fix text contrast when frequency card is selected */
.frequency-radio:checked + .frequency-card-label .frequency-name {
    color: white;
}

.frequency-radio:checked + .frequency-card-label .frequency-description {
    color: rgba(255, 255, 255, 0.9);
}

.frequency-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.frequency-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    transition: color 0.3s ease;
}

.discount-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.frequency-description {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

/* Scheduling */
.scheduling-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.time-radio {
    display: none;
}

.time-slot {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 0.5rem;
    text-align: center;
    cursor: pointer;
    color: #343a40;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.2;
}

.time-slot:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm, 0 2px 4px rgba(0,0,0,0.05));
}

.time-radio:checked + .time-slot {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-600));
    color: white;
    border-color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary, 0 8px 25px rgba(0,123,255,0.4));
    animation: bounceIn 0.3s ease;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-grid .full-width {
    grid-column: 1 / -1;
}

/* Price Display */
.price-display-container { margin: 1rem 0; }

.price-card {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 12px 30px rgba(40,167,69,0.3);
}

.price-header {
    margin-bottom: 1rem;
}

.price-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.pricing-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.first-clean-price,
.recurring-price {
    text-align: center;
}

.price-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.price-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.price-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.25rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
}

.price-separator i {
    font-size: 1.2rem;
}

.recurring-price {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 0.75rem;
}

.price-note {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Harmonize gift breakdown styling with the price card */
.gift-breakdown {
    margin-top: 0.5rem;
}
.gift-breakdown .gift-line {
    color: rgba(255,255,255,0.95);
    font-size: 0.95rem;
    font-weight: 600;
}
.gift-breakdown .gift-total {
    margin-top: 0.25rem;
    font-size: 1rem;
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    gap: 0.75rem;
}

/* Booking-specific styles for loading */
.loading-content h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.loading-content p {
    color: #6c757d;
    margin: 0;
    font-size: 1rem;
}

/* Google Places Autocomplete Styling */
.pac-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 1px solid #e9ecef;
    margin-top: 4px;
    font-family: inherit;
    z-index: 9999;
}

.pac-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f8f9fa;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
}

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

.pac-item:hover {
    background-color: #f8f9ff;
}

.pac-item-selected {
    background-color: #007bff;
    color: white;
}

.pac-item-query {
    font-weight: 600;
    color: #2c3e50;
}

.pac-item-selected .pac-item-query {
    color: white;
}

.pac-matched {
    font-weight: 700;
}

.pac-icon {
    margin-right: 8px;
    color: #007bff;
}

.pac-item-selected .pac-icon {
    color: white;
}

/* Address validation styling */
.form-control-modern.address-validated {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40,167,69,0.1);
}

.address-validated-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #28a745;
    font-size: 1.2rem;
    pointer-events: none;
}

/* New PlaceAutocompleteElement styling */
gmp-place-autocomplete {
    width: 100% !important;
    padding: 1rem !important;
    border: 2px solid #e9ecef !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    background: white !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
}

gmp-place-autocomplete:focus {
    outline: none !important;
    border-color: #007bff !important;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1) !important;
}

/* Ensure the autocomplete dropdown appears above other elements */
.pac-container {
    z-index: 10000 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-container {
        padding: 1rem;
        margin: 1rem 0.5rem 0.5rem; /* maintain top spacing on mobile too */
    }
    
    .booking-title {
        font-size: 2rem;
    }
    
    .card-selection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .frequency-cards {
        grid-template-columns: 1fr;
    }
    
    .scheduling-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .time-slots {
        grid-template-columns: 1fr;
    }
    
    .navigation-buttons {
        flex-direction: column;
    }
    
    /* Reduce padding on mobile for better space utilization */
    .booking-header { margin-bottom: 1.25rem; }
    .progress-track { margin-bottom: 1rem; }
    .form-step { min-height: auto; }
    .step-indicators { margin-top: -0.5rem; }
    .step-circle { width: 40px; height: 40px; }
    .step-label { font-size: 0.85rem; }

    .card-selection-grid { gap: 0.5rem; }
    .service-cards { gap: 0.75rem; }
    .frequency-cards { gap: 0.75rem; }
    .scheduling-grid { gap: 1rem; }
    .contact-grid { gap: 1rem; }
    .time-slots { gap: 0.5rem; }

    .service-card-label { padding: 1rem; }
    .frequency-card-label { padding: 1rem; }
    .selection-card { padding: 0.5rem; min-height: 50px; }

    .step-title { margin-bottom: 0.25rem; }
    .step-description { margin-bottom: 1rem; }

    .price-card { padding: 1rem; }
    .price-title { font-size: 1rem; }
    .price-amount { font-size: 1.75rem; }

    .navigation-buttons { margin-top: 1rem; gap: 0.5rem; }
    .navigation-buttons .btn-modern { width: 100%; }
}

/* Date input styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(0.5);
}

.form-control-modern[type="date"] {
    position: relative;
}

/* Enhanced Form Validation & Feedback */
.form-control-modern.is-valid {
    border-color: var(--success-green, #28a745);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.42.42.35-.35 3.1-3.1-.35-.35-2.77 2.77-.7-.7-.35.35z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control-modern.is-invalid {
    border-color: var(--danger-red, #dc3545);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6.4.8.8-.8'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Enhanced Selection Card Animations */
.selection-card:hover {
    border-color: var(--primary-blue, #007bff);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg, 0 8px 25px rgba(0,123,255,0.15));
}

.card-radio:checked + .selection-card {
    border-color: var(--primary-blue, #007bff);
    background: var(--gradient-primary, linear-gradient(135deg, #007bff, #0056b3));
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-primary, 0 8px 25px rgba(0,123,255,0.3));
    animation: bounceIn 0.4s ease;
}

.card-radio:checked + .selection-card .card-icon {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 43% {
        transform: translateY(-8px);
    }
    70% {
        transform: translateY(-4px);
    }
    90% {
        transform: translateY(-2px);
    }
}

/* Service Card Enhancements */
.service-radio:checked + .service-card-label {
    border-color: var(--primary-blue, #007bff);
    background: var(--gradient-primary, linear-gradient(135deg, #007bff, #0056b3));
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl, 0 12px 30px rgba(0,0,0,0.2));
    animation: bounceIn 0.5s ease;
}

.service-card-label:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg, 0 8px 25px rgba(0,0,0,0.15));
}

/* Frequency Card Enhancements */
.frequency-radio:checked + .frequency-card-label {
    border-color: var(--primary-blue, #007bff);
    background: var(--gradient-primary, linear-gradient(135deg, #007bff, #0056b3));
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg, 0 8px 25px rgba(0,123,255,0.3));
    animation: bounceIn 0.4s ease;
}

.frequency-card-label:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,0.1));
}

/* Time Slot Enhancements */
.time-radio:checked + .time-slot {
    background: var(--gradient-primary, linear-gradient(135deg, #007bff, #0056b3));
    color: white;
    border-color: var(--primary-blue, #007bff);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary, 0 8px 25px rgba(0,123,255,0.4));
    animation: bounceIn 0.3s ease;
}

.time-slot:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm, 0 2px 4px rgba(0,0,0,0.05));
}

/* Enhanced Loading Animation */
.loading-spinner i {
    animation: spin 1s linear infinite, pulse 2s ease-in-out infinite alternate;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Progress Bar Glow Effect */
.progress-bar {
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-600));
    position: relative;
    overflow: hidden;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Interactive Step Indicators */
.step-indicator.clickable:hover {
    transform: scale(1.05);
}

.step-indicator.clickable:hover .step-circle {
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0,123,255,0.2));
}

/* Form Focus Ring Enhancement */
.form-control-modern:focus,
.selection-card:focus-within,
.service-card-label:focus-within,
.frequency-card-label:focus-within,
.time-slot:focus-within {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

/* Custom Scrollbar for Better UX */
.booking-container::-webkit-scrollbar {
    width: 8px;
}

.booking-container::-webkit-scrollbar-track {
    background: var(--gray-100, #e9ecef);
    border-radius: var(--radius-full, 50px);
}

.booking-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-600));
    border-radius: var(--radius-full, 50px);
}

.booking-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue-dark, #0056b3);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .booking-title {
        font-size: 2rem;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .step-description {
        font-size: 1rem;
    }
} 

/* Extra-small devices */
@media (max-width: 400px) {
    .booking-title { font-size: 1.6rem; }
    .step-circle { width: 36px; height: 36px; }
    .step-label { font-size: 0.8rem; }
}