/* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #0066ff;
            --secondary: #00d4ff;
            --dark: #0a0a0a;
            --dark-lighter: #1a1a1a;
            --dark-card: #151515;
            --light: #ffffff;
            --gray: #888;
            --border: #333;
            --success: #00ff88;
            --error: #ff3366;
            --warning: #ff9500;
            --booked: #666;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: var(--light);
            background: var(--dark);
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* Header */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            transition: all 0.3s ease;
            border-bottom: 1px solid var(--border);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 5%;
            max-width: 1400px;
            margin: 0 auto;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: glow 3s ease-in-out infinite;
            text-decoration: none;
            display: inline-block;
        }

        @keyframes glow {
            0%, 100% { filter: brightness(1); }
            50% { filter: brightness(1.2); }
        }

        .back-link {
            color: var(--light);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            opacity: 0.8;
        }

        .back-link:hover {
            color: var(--secondary);
            transform: translateX(-5px);
            opacity: 1;
        }

        /* Main Container */
        .booking-container {
            max-width: 800px;
            margin: 100px auto 50px;
            padding: 0 5%;
            min-height: calc(100vh - 150px);
        }

        /* Progress Bar */
        .progress-container {
            margin-bottom: 3rem;
            position: relative;
        }

        .progress-bar {
            height: 4px;
            background: var(--dark-lighter);
            border-radius: 2px;
            overflow: hidden;
            margin-bottom: 2rem;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border-radius: 2px;
            transition: width 0.5s ease;
            box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
        }

        .progress-steps {
            display: flex;
            justify-content: space-between;
            position: relative;
        }

        .progress-step {
            text-align: center;
            flex: 1;
            position: relative;
        }

        .step-number {
            width: 40px;
            height: 40px;
            background: var(--dark-lighter);
            border: 2px solid var(--border);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 0.5rem;
            font-weight: bold;
            transition: all 0.3s ease;
            position: relative;
            z-index: 2;
        }

        .progress-step.active .step-number {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-color: var(--primary);
            box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
            transform: scale(1.1);
        }

        .progress-step.completed .step-number {
            background: var(--success);
            border-color: var(--success);
        }

        .step-label {
            font-size: 0.85rem;
            color: var(--gray);
            transition: all 0.3s ease;
        }

        .progress-step.active .step-label {
            color: var(--light);
            font-weight: 600;
        }

        /* Form Steps */
        .form-step {
            display: none;
            width: 100%;
            min-height: 400px;
        }

        .form-step.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }

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

        .step-content {
            background: var(--dark-card);
            padding: 3rem;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            border: 1px solid var(--border);
            margin-bottom: 2rem;
        }

        .step-title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, var(--light), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-align: center;
        }

        .step-subtitle {
            text-align: center;
            color: var(--gray);
            margin-bottom: 3rem;
            font-size: 1.1rem;
        }


/* Enhanced Calendar Styles - ROBUST VERSION with Availability Indicators */
.calendar-container {
    margin-bottom: 3rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--dark-lighter);
    border-radius: 15px;
    border: 1px solid var(--border);
    box-sizing: border-box;
}

.calendar-nav {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.calendar-nav:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.5);
}

#currentMonth {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light);
    text-align: center;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ROBUST CALENDAR GRID - Fixed sizing for all zoom levels */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: auto repeat(6, 1fr);
    gap: 0.5rem;
    width: 100%;
    max-width: 600px; /* Maximum width to prevent oversizing */
    margin: 0 auto 3rem auto;
    box-sizing: border-box;
    height: auto;
}

.calendar-day-header {
    text-align: center;
    font-weight: bold;
    color: var(--primary);
    padding: 0.8rem 0.2rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-sizing: border-box;
    height: auto;
}

/* CONSISTENT CALENDAR DAY SIZING with Availability States */
.calendar-day {
    /* Fixed dimensions instead of aspect-ratio for consistency */
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Creates perfect square */
    position: relative;
    background: var(--dark-lighter);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.calendar-day-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1rem;
    color: var(--light);
    z-index: 2;
}

.calendar-day::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.calendar-day:hover:not(.disabled) {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 3;
}

.calendar-day:hover:not(.disabled)::before {
    opacity: 0.1;
}

.calendar-day.selected {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.5);
    transform: scale(1.05);
    z-index: 3;
}

.calendar-day.selected .calendar-day-content {
    color: var(--light);
    font-weight: bold;
}

/* Disabled/Fully Booked Days */
.calendar-day.disabled {
    cursor: not-allowed;
    opacity: 0.4;
    background: var(--booked);
}

.calendar-day.disabled .calendar-day-content {
    color: #444;
}

.calendar-day.disabled:hover {
    transform: none;
    border-color: var(--border);
}

/* Partially Booked Days (Limited Availability) */
.calendar-day.limited-availability {
    background: linear-gradient(135deg, var(--warning) 25%, var(--dark-lighter) 25%);
    border-color: var(--warning);
}

.calendar-day.limited-availability::after {
    content: '!';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: var(--warning);
    color: var(--dark);
    border-radius: 50%;
    font-size: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.calendar-day.other-month .calendar-day-content {
    color: #444;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
    .calendar-container {
        margin-bottom: 2rem;
    }
    
    .calendar-header {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .calendar-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    #currentMonth {
        font-size: 1.2rem;
    }
    
    .calendar-grid {
        gap: 0.3rem;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .calendar-day {
        border-radius: 6px;
    }
    
    .calendar-day-content {
        font-size: 0.9rem;
    }
    
    .calendar-day-header {
        padding: 0.5rem 0.1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .calendar-header {
        padding: 0.8rem;
    }
    
    .calendar-nav {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    #currentMonth {
        font-size: 1rem;
    }
    
    .calendar-grid {
        gap: 0.2rem;
    }
    
    .calendar-day {
        border-radius: 4px;
    }
    
    .calendar-day-content {
        font-size: 0.8rem;
    }
    
    .calendar-day-header {
        font-size: 0.7rem;
        padding: 0.3rem 0;
    }
}

@media (max-width: 320px) {
    .calendar-header {
        padding: 0.5rem;
    }
    
    .calendar-nav {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    #currentMonth {
        font-size: 0.9rem;
    }
    
    .calendar-grid {
        gap: 0.1rem;
    }
    
    .calendar-day-content {
        font-size: 0.7rem;
    }
    
    .calendar-day-header {
        font-size: 0.6rem;
        padding: 0.2rem 0;
    }
}

/* Time Slots - Enhanced with Availability States */
.time-slots-container {
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.time-period {
    margin-bottom: 2rem;
    width: 100%;
}

.time-period-label {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1rem;
    display: block;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.8rem;
    width: 100%;
    box-sizing: border-box;
}

.time-slot {
    padding: 1rem;
    background: var(--dark-lighter);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.time-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.time-slot:hover:not(.unavailable) {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.3);
}

.time-slot:hover:not(.unavailable)::before {
    opacity: 0.1;
}

.time-slot.selected {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.5);
    transform: translateY(-3px);
}

/* Enhanced Unavailable Time Slots */
.time-slot.unavailable {
    background: var(--booked);
    color: #444;
    cursor: not-allowed;
    opacity: 0.5;
    border-style: dashed;
    border-color: #444;
    position: relative;
}

.time-slot.unavailable::after {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--error);
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 2;
}

.time-slot.unavailable:hover {
    transform: none;
    box-shadow: none;
    border-color: #444;
}

/* Blocked by previous booking indicator */
.time-slot.blocked-by-service {
    background: linear-gradient(135deg, var(--warning) 20%, var(--booked) 20%);
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
    border-color: var(--warning);
}

.time-slot.blocked-by-service::after {
    content: '⏱';
    position: absolute;
    top: 2px;
    right: 2px;
    color: var(--warning);
    font-size: 0.8rem;
    z-index: 2;
}

/* Mobile time slots */
@media (max-width: 480px) {
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .time-slot {
        height: 45px;
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    .time-slots {
        gap: 0.4rem;
    }
    
    .time-slot {
        height: 40px;
        padding: 0.6rem 0.3rem;
        font-size: 0.8rem;
    }
}

      /* Service Cards */
        .service-options {
          display: grid;
         gap: 1.5rem;
         margin-bottom: 3rem; /* ADD THIS LINE */
        }

        .service-card {
            padding: 2rem;
            background: var(--dark-lighter);
            border: 2px solid var(--border);
            border-radius: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            z-index: 1; /* Ensure clickable */
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .service-card:hover {
            border-color: var(--primary);
            transform: translateX(5px);
        }

        .service-card:hover::before {
            opacity: 0.05;
        }

        .service-card.selected {
            border-color: var(--primary);
            background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 255, 0.1));
            transform: translateX(5px);
        }

        .service-content {
            position: relative;
            z-index: 2;
        }

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

        .service-name {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--light);
        }

        .service-price {
            font-size: 2rem;
            font-weight: bold;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .service-features {
            color: var(--gray);
            line-height: 1.8;
        }
		
		/* Individual Service Card Colors */

/* Essential Clean - Light Blue */
.service-card[data-service="essential clean"] {
    border-color: rgba(59, 130, 246, 0.3);
}

.service-card[data-service="essential clean"]:hover {
    border-color: #3b82f6;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.service-card[data-service="essential clean"].selected {
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.service-card[data-service="essential clean"] .service-price {
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Premium Detail - Blue (keep existing primary blue) */
.service-card[data-service="premium detail"] {
    border-color: rgba(0, 102, 255, 0.3);
}

.service-card[data-service="premium detail"]:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.3);
}

.service-card[data-service="premium detail"].selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 255, 0.1));
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

/* Ultimate Detail - Orange */
.service-card[data-service="ultimate detail"] {
    border-color: rgba(255, 149, 0, 0.3);
}

.service-card[data-service="ultimate detail"]:hover {
    border-color: #ff9500;
    box-shadow: 0 0 30px rgba(255, 149, 0, 0.3);
}

.service-card[data-service="ultimate detail"].selected {
    border-color: #ff9500;
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.1), rgba(255, 149, 0, 0.05));
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.4);
}

.service-card[data-service="ultimate detail"] .service-price {
    background: linear-gradient(45deg, #ff9500, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 25 Point Restoration - Gold */
.service-card[data-service="25 point restoration"] {
    border-color: rgba(245, 158, 11, 0.3);
}

.service-card[data-service="25 point restoration"]:hover {
    border-color: #f59e0b;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

.service-card[data-service="25 point restoration"].selected {
    border-color: #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.service-card[data-service="25 point restoration"] .service-price {
    background: linear-gradient(45deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

        /* Form Fields */
        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.8rem;
            font-weight: 600;
            color: var(--light);
            font-size: 1.1rem;
        }

        .form-control {
            width: 100%;
            padding: 1.2rem;
            background: var(--dark-lighter);
            border: 2px solid var(--border);
            border-radius: 12px;
            color: var(--light);
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.2);
            background: var(--dark);
        }

        .form-control::placeholder {
            color: #666;
        }

        textarea.form-control {
            resize: vertical;
            min-height: 120px;
        }

        /* Summary Section */
        .summary-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .summary-item {
            background: var(--dark-lighter);
            padding: 1.5rem;
            border-radius: 12px;
            border: 1px solid var(--border);
        }

        .summary-label {
            font-size: 0.9rem;
            color: var(--gray);
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .summary-value {
            font-size: 1.3rem;
            font-weight: bold;
            color: var(--light);
        }

        .summary-value.highlight {
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* Navigation Buttons */
        .step-navigation {
            display: flex;
            gap: 1rem;
            justify-content: space-between;
        }

        .nav-button {
            padding: 1.2rem 2.5rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .prev-button {
            background: var(--dark-lighter);
            color: var(--light);
            border: 2px solid var(--border);
        }

        .prev-button:hover {
            border-color: var(--primary);
            transform: translateX(-5px);
        }

        .next-button, .submit-button {
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            color: var(--light);
            box-shadow: 0 5px 20px rgba(0, 102, 255, 0.3);
            position: relative;
            overflow: hidden;
            flex: 1;
            justify-content: center;
        }

        .next-button::before, .submit-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.5s ease;
        }

        .next-button:hover::before, .submit-button:hover::before {
            left: 100%;
        }

        .next-button:hover, .submit-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 102, 255, 0.5);
        }

        .next-button:disabled, .submit-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Error Messages */
        .error-message {
            color: var(--error);
            font-size: 0.9rem;
            margin-top: 0.5rem;
            display: none;
        }

        .form-control.error {
            border-color: var(--error);
        }

        /* Success Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 2000;
            backdrop-filter: blur(10px);
        }

        .modal-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: var(--dark-card);
            padding: 3rem;
            border-radius: 20px;
            text-align: center;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            border: 1px solid var(--border);
            animation: modalPop 0.5s ease;
        }

        @keyframes modalPop {
            0% {
                transform: translate(-50%, -50%) scale(0.8);
                opacity: 0;
            }
            100% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 1;
            }
        }

        .modal-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
            display: inline-block;
            animation: bounce 1s ease infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .modal h2 {
            font-size: 2rem;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .modal p {
            color: var(--gray);
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        .modal-button {
            margin-top: 2rem;
            padding: 1rem 3rem;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            color: var(--light);
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .modal-button:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
        }

        /* Loading State */
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: var(--light);
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }
		
		/* UK Postcode field styling */
#postcode {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Success state for validated fields */
.form-control.valid {
    border-color: var(--success) !important;
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.2);
}

/* Loading state for postcode validation */
.form-control.validating {
    border-color: var(--warning);
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 2L10 6' stroke='%23ff9500' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M18 10L14 10' stroke='%23ff9500' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M10 18L10 14' stroke='%23ff9500' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M2 10L6 10' stroke='%23ff9500' stroke-width='2' stroke-linecap='round'/%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 10 10' to='360 10 10' dur='1s' repeatCount='indefinite'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
}

/* UK Service notice styling */
.uk-service-notice {
    background: var(--dark-lighter);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    border-left: 4px solid var(--primary);
}

.uk-service-notice p {
    color: var(--gray);
    margin: 0;
    font-size: 0.9rem;
}

/* Success feedback for address validation */
.address-validation-success {
    display: none;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--success);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    color: var(--success);
    font-size: 0.9rem;
}

.address-validation-success.show {
    display: block;
    animation: slideIn 0.3s ease;
}

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

/* Error styling improvements */
.error-message {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
    background: rgba(255, 51, 102, 0.1);
    padding: 0.5rem;
    border-radius: 4px;
    border-left: 3px solid var(--error);
}

/* Mobile responsive improvements for address fields */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    #postcode {
        font-size: 1.1rem;
        text-align: center;
    }
}

        /* Availability Legend */
        .availability-legend {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2rem;
            padding: 1rem;
            background: var(--dark-lighter);
            border-radius: 12px;
            border: 1px solid var(--border);
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
            color: var(--gray);
        }

        .legend-color {
            width: 16px;
            height: 16px;
            border-radius: 4px;
            border: 1px solid var(--border);
        }

        .legend-available { background: var(--dark-lighter); }
        .legend-limited { background: linear-gradient(135deg, var(--warning) 25%, var(--dark-lighter) 25%); }
        .legend-booked { background: var(--booked); }

        /* Responsive */
        @media (max-width: 768px) {
            .step-content {
                padding: 2rem;
            }

            .step-title {
                font-size: 2rem;
            }

            .calendar-grid {
                gap: 0.4rem;
            }

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

            .summary-grid {
                grid-template-columns: 1fr;
            }

            .step-navigation {
                flex-direction: column;
            }

            .nav-button {
                width: 100%;
                justify-content: center;
            }

            .form-grid {
                grid-template-columns: 1fr;
            }

            .availability-legend {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }
        }