/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Card Styles */
.card {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    transition: box-shadow 0.3s ease-in-out;
}

.card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card-header {
    background-color: #f1f1f1;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    margin: 0;
    font-size: 1.5rem;
    color: #007bff;
}

.card-body {
    padding: 20px;
    margin-top: 10px;
}

/* Button Styles */
.btn {
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
    margin-right: 10px;
}

.book-now {
    background-color: #28a745;
    color: #fff;
    border: none;
}

.book-now:hover {
    background-color: #218838;
}

.btn-outline-primary {
    border: 1px solid #007bff;
    color: #007bff;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: #fff;
}

/* Badge Styles */
.badge {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 12px;
    background-color: #007bff;
    color: #fff;
    margin-right: 5px;
}

/* Text Styles */
.text-success {
    color: #28a745 !important;
    font-size: 1.25rem;
    font-weight: bold;
}

.text-muted {
    color: #6c757d !important;
    font-size: 0.9rem;
}

.reset-filters {
    font-size: 0.875rem;
    color: #007bff;
    text-decoration: none;
}

.reset-filters:hover {
    text-decoration: underline;
}

/* Seat Map Styles */
.seat-map-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bus-border {
    border: 2px solid #000;
    padding: 10px;
    width: fit-content;
}

.seat {
    width: 50px;
    height: 50px;
    border: 2px solid #ccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
}

.seat:hover {
    transform: scale(1.1);
}

.available-seat {
    background-color: #71dd37;
    color: white;
}

.blocked-seat {
    background-color: #ff0909f2;
    color: white;
}

.booked-seat {
    background-color: #007bff;
    color: white;
}

.seat-number {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #777;
}

.seat-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.aisle {
    width: 50px;
}

/* Deck and Driver Styles */
.driver-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.deck {
    text-align: center;
    font-weight: bold;
    color: #007bff;
}

.driver {
    width: 50px;
    height: 50px;
    border: unset !important;
    left: 30px;
}

.driver-img {
    width: 100%;
    height: auto;
}

.deck-border {
    border: 10px solid rgba(27, 39, 61, 0.08);
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 30px;
    border-top-right-radius: 90px;
    border-top-left-radius: 90px;
    border-right: 15px solid;
    border-left: 15px solid;
}

.seat-wrapper {
    display: inline-block;
}

.seat-row {
    margin-bottom: 5px;
}

.d-none {
    display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .card {
        width: 100%;
    }
}

.stops-container span {
    font-size: 1rem;
    color: #333;
}

.stops-container .arrow {
    color: #007bff; /* Bootstrap primary color */
}

.basket-container {
    position: relative;
    display: inline-block;
}

.basket-container .badge {
    top: -10px;
    right: -10px;
    font-size: 0.75rem;
}

.hop-b {
    margin-bottom: 10px;
}

.hop-t {
    margin-top: 10px;
}

.hop-card {
    margin-top: 60px;
}

.btn-light:hover{
    color: #007bff;
}
.card-text hop{
    margin-top: 1rem !important;
   margin-bottom: 1rem !important;

}

.price-value {
    font-size: 16px; /* Adjust size as needed */
    font-weight: bold; /* Ensures consistency with strong tag */
}



/* Modal Styles */
.modal-content {
    border-radius: 8px;
    border: none;
    overflow: hidden;
}

.modal-header {
    color: white;
    padding: 10px 15px;
    border-bottom: none;
}

.modal-title {
    font-size: 20px;
    margin: 0;
}

.btn-close {
    color: white;
    opacity: 1;
}

.btn-close:hover {
    color: #f8f9fa;
    opacity: 0.8;
}

/* Route Details Styles */
.route-details {
    background-color: #f1f1f1;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.route-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px dashed #007bff;
    padding-top: 20px;
    margin-top: 20px;
}

.stop-point {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.stop-icon {
    font-size: 24px;
    color: #007bff;
    margin-right: 15px;
}

.stop-details {
    max-width: 200px;
    line-height: 1.4;
}

.arrow {
    font-size: 24px;
    color: #6c757d;
    margin: 0 10px;
}

.text-muted {
    font-size: 12px;
    color: #6c757d;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .route-line {
        flex-direction: column;
        align-items: flex-start;
    }

    .stop-point {
        flex-direction: column;
        align-items: flex-start;
    }

    .arrow {
        display: none;
    }
}
.route-line {
    display: flex;
    align-items: center;
    overflow-x: auto;
    padding: 10px 0;
}

.stop-point {
    display: flex;
    align-items: center;
    margin-right: 15px;
    position: relative;
}

.stop-icon {
    width: 30px;
    height: 30px;
    background-color: #007bff;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    margin-right: 8px;
}

.start-point {
    background-color: #28a745; /* Green for start point */
}

.end-point {
    background-color: #dc3545; /* Red for end point */
}

.arrow {
    margin: 0 10px;
    color: #6c757d;
}

.stop-details {
    min-width: 150px;
}

.stop-details strong {
    display: block;
    font-size: 16px;
    margin-bottom: 2px;
}

.text-muted {
    color: #6c757d;
    font-size: 14px;
}

.hstop
 {
    color: red;
    font-size: 35px;
}


    .stop-details {
        margin-left: 10px;
    }

    .stop-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 35px;
        height: 35px;
        background-color: #f8f9fa;
        border-radius: 50%;
        color: #495057;
        font-size: 20px;
    }

    .start-point {
        background-color: #28a745;
        color: #fff;
    }

    .end-point {
        background-color: #dc3545;
        color: #fff;
    }

    .separator {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 120px;
    }

    .dot {
        height: 8px;
        width: 8px;
        background-color: #6c757d;
        border-radius: 50%;
        display: inline-block;
        margin: 0 3px;
    }

    .arrow {
        font-size: 20px;
        margin: 0 3px;
        color: #6c757d;
    }

    .duration-info {
        min-width: 80px;
        text-align: right;
    }

    .hstop {
        color: #6c757d;
    }
.stops-container {
    display: flex;
    flex-wrap: wrap;
}

.stop-point {
    flex: 1 1 100%; /* Each stop takes up the full width on small screens */
    margin-bottom: 5px;
}

@media (min-width: 576px) {
    .stop-point {
        flex: 1 1 30%; /* Each stop takes up about 30% width on small screens and up */
    }
}

@media (min-width: 768px) {
    .stop-point {
        flex: 1 1 20%; /* Each stop takes up about 20% width on medium screens and up */
    }
}

.seat.selected-seat {
    background-color: orange;
    color: white; /* Ensures the seat number is still visible */
    border-color: darkorange;
}


