/* Customer-facing CSS for Booking System */
/* Complements main site ../css/style.css */

/* Override primary colours to match main site */
:root {
    --primary-blue: #000000;
    --dark-blue: #000000;
    --light-gray: #f5f5f5;
    color-scheme: light only !important;
}

/* Booking card styling */
.booking-card {
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.booking-card .card-header {
    background-color: var(--primary-black, #000000);
    color: white;
    border-radius: 0 !important;
    padding: 20px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.booking-card .card-body {
    padding: 25px;
}

/* Form controls */
.form-control, .form-select {
    border-radius: 0;
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
    font-family: 'Montserrat', sans-serif;
}

.form-control:focus, .form-select:focus {
    border-color: #000000;
    box-shadow: none;
}

.form-label {
    font-family: 'Montserrat', sans-serif;
}

/* Step indicator */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #dee2e6;
    z-index: 0;
}

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

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid #dee2e6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.step.active .step-circle {
    background-color: #000000;
    border-color: #000000;
    color: white;
}

.step.completed .step-circle {
    background-color: #000000;
    border-color: #000000;
    color: white;
}

.step-label {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.step.active .step-label {
    color: #000000;
    font-weight: 600;
}

/* Selection cards */
.selection-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.selection-card:hover {
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.selection-card.selected {
    border-color: #000000;
    background-color: #f5f5f5;
}

.selection-card h5 {
    margin-bottom: 8px;
    color: #000000;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.selection-card p {
    margin: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

/* Service cards in booking system */
.booking-service-card {
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.booking-service-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-color: #000000;
}

.booking-service-card h4 {
    color: #000000;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.booking-service-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin: 15px 0;
    font-family: 'Montserrat', sans-serif;
}

.booking-service-card .price-breakdown {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
}

/* Service details */
.service-details {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 15px;
    margin: 15px 0;
}

.service-details h6 {
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

/* Parts list */
.parts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.parts-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
}

.parts-list li:last-child {
    border-bottom: none;
}

/* Badge styling */
.badge {
    padding: 6px 12px;
    border-radius: 0;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

/* Loading state */
.loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.spinner-border {
    color: #000000;
}

/* Reference box for confirmation */
.reference-box {
    background-color: #f5f5f5;
    border: 2px dashed #000000;
    border-radius: 0;
    padding: 30px;
    text-align: center;
    margin: 30px 0;
}

.reference-number {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
}

/* Success header */
.success-header {
    background: #000000;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* Button overrides for booking system */
.btn-outline-primary {
    color: #000000;
    border-color: #000000;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
}

.btn-outline-primary:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

/* Force light mode - Override Samsung Internet and other browser dark modes */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light only !important;
    }

    html {
        background-color: #ffffff !important;
        color-scheme: light only !important;
    }

    body {
        background-color: #ffffff !important;
        color: #000000 !important;
    }

    * {
        color-scheme: light only !important;
    }

    .booking-card {
        background-color: #ffffff !important;
    }

    .booking-card .card-body {
        background-color: #ffffff !important;
        color: #000000 !important;
    }

    .form-control, .form-select {
        background-color: #ffffff !important;
        color: #000000 !important;
    }

    .selection-card {
        background-color: #ffffff !important;
        color: #000000 !important;
    }

    .booking-service-card {
        background-color: #f5f5f5 !important;
        color: #000000 !important;
    }

    .service-details {
        background-color: #ffffff !important;
        color: #000000 !important;
    }
}
