/* Booking Page CSS */

:root {
    --bking-primary: #e53935;
    /* Red/Orange accent */
    --bking-primary-hover: #d32f2f;
    --bking-text-dark: #002147;
    --bking-border-color: #e0e0e0;
    --bking-bg-light: #f9f9f9;
}

/* Hero Section with Tabs */
.bking-hero-section {
    border-bottom: 1px solid #e0e0e0;
    background-color: white;
}

.bking-service-tabs {
    margin-top: 1.5rem;
    justify-content: center;
    background-color: white;
}

.bking-service-tabs .nav-link {
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border: none;
    background: white;
    position: relative;
    text-decoration: none;
    transition: color 0.3s;
}

.bking-service-tabs .nav-link:hover {
    color: var(--bking-primary);
    background: white;
}

.bking-service-tabs .nav-link.active {
    color: var(--bking-primary);
    background: white;
    border: none;
    border-bottom: 3px solid var(--bking-primary);
}

/* Stepper */
.bking-stepper {
    position: relative;
    width: 100%;
}

.bking-stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.bking-step {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 33.33%;
}

.bking-step-circle {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    color: #999;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.bking-step-label {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
}

/* Active Step */
.bking-step-active .bking-step-circle {
    background: var(--bking-primary);
    color: white;
    border-color: var(--bking-primary);
}

.bking-step-active .bking-step-label {
    color: var(--bking-text-dark);
    font-weight: 700;
}

/* Completed Step */
.bking-step-completed .bking-step-circle {
    background: #ffcdd2;
    /* Light red */
    color: var(--bking-primary);
    border-color: var(--bking-primary);
}

.bking-step-completed .bking-step-label {
    color: var(--bking-primary);
}

/* Form Styles */
.bking-section-title {
    color: var(--bking-text-dark);
    border-bottom: 2px solid var(--bking-primary);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.bking-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #666;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.bking-input {
    border: 1px solid var(--bking-border-color);
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.bking-input:focus {
    border-color: var(--bking-primary);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.bking-btn-primary {
    background-color: var(--bking-primary);
    color: white;
    border: none;
    font-weight: 600;
    border-radius: 30px;
    /* Rounded pill shape like screenshot */
    transition: background-color 0.3s;
}

.bking-btn-primary:hover {
    background-color: var(--bking-primary-hover);
    color: white;
}

/* Vehicle Card */
.bking-vehicle-card {
    transition: all 0.3s;
    border: 2px solid transparent !important;
}

.bking-vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.bking-vehicle-card.selected {
    border-color: var(--bking-primary) !important;
    background-color: #fff5f5;
}

.cursor-pointer {
    cursor: pointer;
}

/* Booking Summary Card (Step 2) */
.bking-summary-card {
    position: sticky;
    top: 100px;
}

.bking-summary-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.5px;
}

.bking-summary-text {
    font-size: 0.9rem;
    color: var(--bking-text-dark);
    margin-bottom: 0.25rem;
}

/* Vehicle Options (Step 2) */
.bking-vehicle-option {
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0 !important;
}

.bking-vehicle-option:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px);
}

.bking-vehicle-img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.bking-vehicle-info h6 {
    color: var(--bking-text-dark);
    font-size: 0.95rem;
}

.bking-vehicle-details h6 {
    color: var(--bking-text-dark);
    font-size: 0.95rem;
}

.bking-vehicle-price h4 {
    font-size: 1.5rem;
}

.bking-book-btn {
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 24px;
    transition: all 0.3s;
}

.bking-book-btn:hover {
    background-color: var(--bking-primary);
    color: white;
    border-color: var(--bking-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .bking-step-label {
        display: none;
        /* Hide labels on very small screens if needed */
    }

    .bking-stepper::before {
        top: 20px;
    }

    .bking-vehicle-option {
        flex-direction: column !important;
        text-align: center;
    }

    .bking-vehicle-img {
        margin-bottom: 1rem;
    }

    .bking-summary-card {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
}