body {
    background-color: #f8f9fa;
    font-family: 'Space Grotesk', sans-serif;
    color: #333;
}

h1, h2, h3, h4, h5 {
    font-family: 'Syne', sans-serif;
}

.container {
    max-width: 1200px;
}

.back-link {
    margin: 1.5rem 0 1rem;
    font-size: 0.95rem;
}

.back-link a {
    color: #555;
    transition: color 0.2s;
    font-weight: 500;
}

.back-link a:hover {
    color: #0C84FE;
    text-decoration: none;
}

.back-link i {
    font-size: 0.8rem;
}

.booking-header-section {
    padding: 0.5rem 0 1.5rem;
}

.booking-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.5rem;
}

.booking-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

.booking-content-section {
    padding: 1rem 0 3rem;
}

.booking-form-container {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: fit-content;
}

.form-section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 1.5rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background-color: #fff;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: #0C84FE;
    box-shadow: 0 0 0 3px rgba(12, 132, 254, 0.1);
    outline: none;
}

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

.date-input-container,
.time-input-container {
    position: relative;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 40px;
    height: 100%;
    cursor: pointer;
}

.date-icon,
.time-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
    font-size: 0.9rem;
    z-index: 1;
}

.date-input-container .form-control,
.time-input-container .form-control {
    padding-right: 40px;
}

.btn-continue {
    background-color: #0C84FE;
    border-color: #0C84FE;
    color: white;
    font-weight: 500;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.25s;
}

.btn-continue:hover {
    background-color: #0069d9;
    border-color: #0062cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 132, 254, 0.3);
}

.booking-summary-container {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 1.5rem;
}

.car-summary-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.car-image-summary {
    flex: 0 0 80px;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #e9ecef;
}

.car-image-summary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-info-summary {
    flex: 1;
}

.car-name-summary {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.25rem;
}

.car-details-summary {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.car-features-summary {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0;
}

.rate-info {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

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

.rate-label {
    font-size: 0.95rem;
    color: #666;
}

.rate-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
}

.total-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.total-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0C84FE;
}

.help-section {
    text-align: center;
    padding: 1rem;
    background-color: #f0f7ff;
    border-radius: 8px;
    border: 1px solid #e3f2fd;
}

.help-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.help-contact {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0C84FE;
    margin-bottom: 0.25rem;
}

.help-availability {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .booking-summary-container {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .booking-title {
        font-size: 2rem;
    }

    .booking-form-container,
    .booking-summary-container {
        padding: 1.5rem;
    }

    .form-section-title,
    .summary-title {
        font-size: 1.5rem;
    }

    .car-summary-card {
        flex-direction: column;
        text-align: center;
    }

    .car-image-summary {
        flex: none;
        width: 100%;
        height: 120px;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 576px) {
    .booking-title {
        font-size: 1.75rem;
    }

    .booking-form-container,
    .booking-summary-container {
        padding: 1rem;
    }

    .btn-continue {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

.btn-continue:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-continue.loading {
    position: relative;
}

.btn-continue.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
