/* ===== CSS Variables - Design System ===== */
:root {
    /* Colors - Refined Industrial Palette */
    --bg-primary: #faf9f7;
    --bg-secondary: #f5f3f0;
    --bg-tertiary: #eceae6;
    --bg-white: #ffffff;

    --text-primary: #1a1a1f;
    --text-secondary: #6b6b73;
    --text-tertiary: #9b9ba3;
    --text-inverse: #faf9f7;

    --border-color: #e5e3df;
    --border-light: #f0eeea;

    /* Accent - Copper */
    --copper: #c17f59;
    --copper-light: #d4a484;
    --copper-dark: #a66b47;
    --copper-subtle: rgba(193, 127, 89, 0.08);

    /* Semantic Colors */
    --blue: #4a7bbd;
    --blue-light: #e8f0f8;
    --green: #5a9a6e;
    --green-light: #e8f5eb;
    --amber: #c9973e;
    --amber-light: #fdf5e6;
    --red: #c9615a;
    --red-light: #fdf0ef;
    --purple: #8b6bb3;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
}

.booking-app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== Header ===== */
.booking-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--copper), var(--copper-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
}

.logo-text {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--copper);
}

.header-contact {
    display: none;
}

@media (min-width: 768px) {
    .header-contact {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
    }

    .contact-label {
        font-size: 0.75rem;
        color: var(--text-tertiary);
    }

    .contact-phone {
        font-weight: 600;
        color: var(--copper);
        text-decoration: none;
    }
}

/* ===== Progress Bar ===== */
.progress-container {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    position: sticky;
    top: 69px;
    z-index: 90;
}

.progress-bar {
    max-width: 600px;
    margin: 0 auto;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-indicator {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    position: relative;
}

.step-number {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.step-check {
    display: none;
    width: 18px;
    height: 18px;
    color: white;
}

.progress-step.active .step-indicator {
    background: var(--copper);
    border-color: var(--copper);
}

.progress-step.active .step-number {
    color: white;
}

.progress-step.completed .step-indicator {
    background: var(--green);
    border-color: var(--green);
}

.progress-step.completed .step-number {
    display: none;
}

.progress-step.completed .step-check {
    display: block;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-tertiary);
    transition: color var(--transition-base);
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--text-primary);
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 8px;
    margin-bottom: 24px;
    max-width: 60px;
    position: relative;
}

.progress-line-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--green);
    transition: width var(--transition-slow);
}

.progress-step.completed + .progress-line .progress-line-fill {
    width: 100%;
}

/* ===== Main Content ===== */
.booking-main {
    flex: 1;
    padding: 24px 20px 100px;
}

.booking-content {
    max-width: 800px;
    margin: 0 auto;
}

/* ===== Booking Steps ===== */
.booking-step {
    display: none;
}

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

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

.step-header {
    text-align: center;
    margin-bottom: 32px;
}

.step-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ===== Step 1: Service Cards ===== */
.service-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.service-card {
    cursor: pointer;
}

.service-card input {
    display: none;
}

.service-card .card-content {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-base);
    position: relative;
}

.service-card:hover .card-content {
    border-color: var(--copper-light);
    box-shadow: var(--shadow-md);
}

.service-card input:checked + .card-content {
    border-color: var(--copper);
    background: var(--copper-subtle);
}

.service-card .card-check {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.service-card .card-check svg {
    width: 14px;
    height: 14px;
    color: transparent;
}

.service-card input:checked ~ .card-check {
    background: var(--copper);
    border-color: var(--copper);
}

.service-card input:checked ~ .card-check svg {
    color: white;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.card-icon.installation {
    background: var(--blue-light);
    color: var(--blue);
}

.card-icon.repair {
    background: var(--amber-light);
    color: var(--amber);
}

.card-icon.maintenance {
    background: var(--green-light);
    color: var(--green);
}

.card-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-features .feature {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 4px 10px;
    border-radius: 100px;
}

/* ===== Trust Section ===== */
.trust-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.trust-badge svg {
    width: 20px;
    height: 20px;
    color: var(--copper);
}

.complex-link {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.complex-link a {
    color: var(--copper);
    text-decoration: none;
    font-weight: 500;
}

.complex-link a:hover {
    text-decoration: underline;
}

/* ===== Step 2: Details Layout ===== */
.details-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.details-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-section {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-label .required {
    color: var(--red);
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

.form-row .form-group.flex-2 {
    flex: 2;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--copper);
    box-shadow: 0 0 0 3px rgba(193, 127, 89, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-tertiary);
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 6px;
}

.form-hint a {
    color: var(--copper);
}

/* Select Wrapper */
.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    padding-right: 44px;
}

.select-wrapper .select-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
    pointer-events: none;
}

/* Quantity Picker */
.quantity-picker {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    width: 56px;
    height: 56px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.qty-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.qty-btn:active {
    background: var(--bg-tertiary);
}

.qty-btn svg {
    width: 20px;
    height: 20px;
}

.quantity-picker input {
    width: 60px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-radius: 0;
    padding: 14px 8px;
    font-weight: 600;
    font-size: 1.125rem;
}

.quantity-picker input:focus {
    box-shadow: none;
}

/* Region Detection */
.region-detected {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 14px;
    background: var(--green-light);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--green);
}

.region-flag {
    font-size: 1.25rem;
}

/* ===== Price Preview ===== */
.price-preview {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-top: 24px;
}

.price-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.price-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.price-info {
    cursor: pointer;
    color: var(--text-tertiary);
}

.price-info svg {
    width: 18px;
    height: 18px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.currency {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-tertiary);
}

.price-value {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-breakdown {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.breakdown-item:last-child {
    margin-bottom: 0;
}

.price-note {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 12px;
}

/* ===== Step 3: Calendar ===== */
.calendar-section {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

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

.cal-nav-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.cal-nav-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.cal-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cal-nav-btn svg {
    width: 20px;
    height: 20px;
}

.calendar-month {
    font-family: 'Sora', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
}

.calendar-grid {
    margin-bottom: 24px;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.calendar-header span {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    padding: 8px 0;
}

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

.calendar-day {
    aspect-ratio: 1;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: all var(--transition-fast);
    min-height: 44px;
}

.calendar-day:hover:not(:disabled):not(.empty) {
    background: var(--bg-secondary);
}

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

.calendar-day.today {
    border: 2px solid var(--copper);
}

.calendar-day.selected {
    background: var(--copper);
    color: white;
}

.calendar-day.selected:hover {
    background: var(--copper-dark);
}

.calendar-day:disabled {
    color: var(--text-tertiary);
    cursor: not-allowed;
    opacity: 0.4;
}

.calendar-day .day-number {
    line-height: 1;
}

.calendar-day .day-slots {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 100px;
    display: none;
}

.calendar-day.available .day-slots {
    display: block;
    background: var(--green-light);
    color: var(--green);
}

.calendar-day.limited .day-slots {
    display: block;
    background: var(--amber-light);
    color: var(--amber);
}

.calendar-day.unavailable {
    color: var(--text-tertiary);
}

/* Selected Date Info */
.selected-date-info {
    padding: 16px;
    background: var(--copper-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.date-display {
    text-align: center;
}

.date-day {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--copper-dark);
    margin-bottom: 4px;
}

.date-full {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Time Slots */
.time-slots-section {
    margin-bottom: 24px;
}

.slots-title {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.time-slots {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.time-slot {
    cursor: pointer;
}

.time-slot input {
    display: none;
}

.time-slot .slot-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.time-slot:hover .slot-content {
    border-color: var(--copper-light);
}

.time-slot input:checked + .slot-content {
    background: var(--copper-subtle);
    border-color: var(--copper);
}

.slot-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber);
}

.slot-icon svg {
    width: 22px;
    height: 22px;
}

.slot-info {
    flex: 1;
}

.slot-name {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 2px;
}

.slot-time {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.slot-availability {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 100px;
}

/* Time Preference Section */
.time-preference-section {
    margin-bottom: 24px;
}

.preference-title {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.optional-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-tertiary);
}

.preference-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.time-preferences {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.time-preference {
    cursor: pointer;
}

.time-preference input {
    display: none;
}

.time-preference .preference-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.time-preference:hover .preference-content {
    border-color: var(--copper-light);
}

.time-preference input:checked + .preference-content {
    background: var(--copper-subtle);
    border-color: var(--copper);
}

.preference-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.preference-icon svg {
    width: 20px;
    height: 20px;
}

.preference-icon.flexible {
    color: var(--blue);
}

.preference-icon.morning {
    color: var(--amber);
}

.preference-icon.afternoon {
    color: var(--copper);
}

.preference-info {
    flex: 1;
}

.preference-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.preference-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Scheduling Note */
.scheduling-note {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--blue-light);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.scheduling-note .note-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--blue);
}

.scheduling-note .note-icon svg {
    width: 20px;
    height: 20px;
}

.scheduling-note .note-content strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.scheduling-note .note-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Reservation Timer (legacy, keeping for reference) */
.reservation-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--amber-light);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--amber);
    margin-bottom: 24px;
}

.reservation-timer svg {
    width: 18px;
    height: 18px;
}

/* Calendar Legend */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot.available {
    background: var(--green);
}

.legend-dot.limited {
    background: var(--amber);
}

.legend-dot.unavailable {
    background: var(--text-tertiary);
}

/* ===== Step 4: Confirm ===== */
.confirm-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.terms-section {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.checkbox-custom svg {
    width: 14px;
    height: 14px;
    color: transparent;
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--copper);
    border-color: var(--copper);
}

.checkbox-label input:checked + .checkbox-custom svg {
    color: white;
}

.checkbox-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-text a {
    color: var(--copper);
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

/* Order Summary */
.order-summary {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.summary-title {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.summary-section {
    margin-bottom: 16px;
}

.summary-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

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

.summary-divider {
    height: 1px;
    background: var(--border-light);
    margin: 20px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.total-label {
    font-weight: 600;
    color: var(--text-primary);
}

.total-amount {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--copper);
}

.summary-note {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 12px;
}

/* ===== Confirmation Screen ===== */
.confirmation-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.confirmation-icon svg {
    width: 40px;
    height: 40px;
    color: var(--green);
}

.confirmation-title {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.confirmation-ref {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.confirmation-ref strong {
    color: var(--copper);
}

.confirmation-message {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.confirmation-details {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-secondary);
}

.detail-value {
    font-weight: 500;
    text-align: right;
}

.confirmation-actions {
    margin-bottom: 32px;
}

.confirmation-actions h4 {
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.calendar-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cal-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cal-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--text-tertiary);
}

.next-steps {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    text-align: left;
}

.next-steps h4 {
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.steps-list {
    padding-left: 20px;
}

.steps-list li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.steps-list li:last-child {
    margin-bottom: 0;
}

/* ===== Navigation Buttons ===== */
.booking-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 56px;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    flex: 1;
    background: var(--copper);
    color: white;
}

.btn-primary:hover {
    background: var(--copper-dark);
}

.btn-primary:disabled {
    background: var(--text-tertiary);
    cursor: not-allowed;
}

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

.btn-secondary:hover {
    background: var(--bg-tertiary);
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--text-primary);
    color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 200;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast-icon svg {
    width: 20px;
    height: 20px;
}

.toast.error .toast-icon {
    color: var(--red);
}

.toast.success .toast-icon {
    color: var(--green);
}

/* ===== Role Switcher (Demo) ===== */
.role-switcher {
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 150;
}

.role-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--text-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-fast);
}

.role-toggle:hover {
    transform: scale(1.05);
}

.role-toggle svg {
    width: 22px;
    height: 22px;
}

.role-menu {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 240px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.role-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.role-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
}

.role-badge {
    background: var(--purple);
    color: white;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 0.65rem;
}

.role-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background var(--transition-fast);
}

.role-option:hover {
    background: var(--bg-secondary);
}

.role-option.active {
    background: var(--copper-subtle);
}

.role-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-icon svg {
    width: 18px;
    height: 18px;
}

.role-icon.admin {
    background: var(--blue-light);
    color: var(--blue);
}

.role-icon.technician {
    background: var(--amber-light);
    color: var(--amber);
}

.role-icon.partner {
    background: var(--green-light);
    color: var(--green);
}

.role-icon.b2c {
    background: var(--copper-subtle);
    color: var(--copper);
}

.role-info {
    flex: 1;
    min-width: 0;
}

.role-name {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.role-desc {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.role-check {
    width: 20px;
    height: 20px;
    color: var(--copper);
}

/* ===== Responsive - Tablet & Desktop ===== */
@media (min-width: 768px) {
    .booking-main {
        padding: 40px 40px 120px;
    }

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

    .service-cards {
        flex-direction: row;
    }

    .service-card {
        flex: 1;
    }

    .service-card .card-content {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .card-desc {
        flex: 1;
    }

    .trust-section {
        gap: 32px;
    }

    .form-row {
        flex-direction: row;
    }

    .time-slots {
        flex-direction: row;
    }

    .time-slot {
        flex: 1;
    }

    .time-preferences {
        flex-direction: row;
    }

    .time-preference {
        flex: 1;
    }

    .booking-nav {
        max-width: 800px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        border: 1px solid var(--border-color);
        border-bottom: none;
    }

    .btn-secondary {
        flex: 0 0 auto;
        width: auto;
    }
}

@media (min-width: 1024px) {
    .booking-content {
        max-width: 900px;
    }

    /* Step 2: Side-by-side price preview */
    #step2 .details-layout {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 32px;
        align-items: start;
    }

    #step2 .details-form {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    #step2 .price-preview {
        position: sticky;
        top: 180px;
        height: fit-content;
        margin-top: 0;
    }

    /* Step 4: Side-by-side layout */
    .confirm-layout {
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-form {
        flex: 1;
    }

    .order-summary {
        width: 320px;
        position: sticky;
        top: 180px;
    }

    .role-switcher {
        bottom: 120px;
        left: 30px;
    }
}
