.cursor-poiter {
    cursor: pointer;
}

img {
    height: 100%;
}

.invalid-feedback-error {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: var(--bs-danger-text);
}

.icon-lg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-check-input:checked {
    background-color: #e04a1b;
    border-color: #e04a1b;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(224, 74, 27, 0.25);
}

.btn-flip-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* loader */
.loader-overlay-car {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
    font-family: 'Roboto', sans-serif;
}

.loader-overlay-car.active {
    visibility: visible;
    opacity: 1;
}

.car-icon {
    font-size: 50px;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.loader-overlay-car p {
    margin-top: 15px;
    font-size: 20px;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
}

.loader-overlay-taxi {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
    font-family: Arial, sans-serif;
}

.loader-overlay-taxi.active {
    visibility: visible;
    opacity: 1;
}

.taxi-run {
    font-size: 50px;
    animation: run 2s linear infinite;
}

@keyframes run {
    0% {
        transform: translateX(-200px);
    }

    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(200px);
    }
}

.loader-overlay-taxi p {
    margin-top: 15px;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.icon-size {
    width: 60px;
    height: 60px;
}

.image-container-car {
    background-size: cover;
    background-position: center center;
}

.company-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.company-logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.company-name {
    font-size: 1.2rem;
    font-weight: bold;
}

/* taxi_list */
/* ปรับแต่ง Card */
.card-custom {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

/* รูปภาพรถ */
.image-container-car {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 180px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

/* ข้อมูลบริษัท */
.company-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    /* ✅ ทำให้โลโก้ไม่ถูกครอบตัด */
    background: #fff;
    border-radius: 50%;
    padding: 5px;
    border: 1px solid #ddd;
}

/* Pickup & Dropoff Section */
.pickup-dropoff {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.pickup-dropoff strong {
    color: #007bff;
}

/* Rating */
.rating i {
    color: #ffcc00;
}

/* ปรับขนาดราคา */
.price {
    font-size: 22px;
    font-weight: bold;
    color: #e63946;
}

/* ปุ่ม Book Now */
.btn-custom {
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
    position: absolute;
    bottom: 5px;
    right: 20px;
    padding: 10px 18px;
}

/* taxi_list */
/* home */
.home-search i {
    padding-top: 5px !important;
}

/* home */