/* =========================================
   RENTAL CARS – FULL FINAL CSS (ASTRA SAFE)
   ========================================= */

/* RESET */
.rent-tabs ul,
.rent-tabs li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* ================================
   CATEGORY TABS – FORCE HORIZONTAL
   ================================ */

.rent-tab-head {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 35px !important;
    width: 100% !important;
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 35px !important;
}

.rent-tab-head > li {
    display: inline-block !important;
    cursor: pointer;
    padding: 12px 0 !important;
    font-size: 16px;
    font-weight: 600;
    color: #7a7a7a;
    position: relative;
    white-space: nowrap;
}

.rent-tab-head > li::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 3px;
    background: #5b6f9e;
    transition: width 0.3s ease;
}

.rent-tab-head > li.active,
.rent-tab-head > li:hover {
    color: #5b6f9e;
}

.rent-tab-head > li.active::after,
.rent-tab-head > li:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .rent-tab-head {
        flex-wrap: wrap !important;
        gap: 20px !important;
    }
}

/* ================================
   LOCATION SEARCH – FULL WIDTH
   ================================ */

.rent-location-box {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 15px;
    margin-bottom: 30px;
}

.rent-location-box select {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 12px !important;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
}

.rent-location-box button {
    width: 160px !important;
}

@media (max-width: 768px) {
    .rent-location-box {
        flex-direction: column !important;
    }

    .rent-location-box button {
        width: 100% !important;
    }
}

/* ================================
   RENTAL CAR GRID (UPDATED)
   ================================ */

.rent-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 20px 0;
}

/* Card */
.rent-car-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.rent-car-card:hover {
    transform: translateY(-5px);
}

.rent-car-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Title */
.rent-car-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #222;
    font-weight: 600;
}

/* ================================
   CAR FEATURES – FIXED POSITION
   ================================ */

.rent-car-features {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #666;
    padding: 10px 0;
    margin-bottom: 15px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.rent-car-features span {
    white-space: nowrap;
}

/* ================================
   RENT NOW BUTTON – FIXED
   ================================ */

.rent-btn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background-color: #5b6f9e !important;
    color: #ffffff !important;
    padding: 13px 15px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background 0.3s ease;
}

.rent-btn:hover {
    background-color: #485b86 !important;
    color: #ffffff !important;
}
