/* ============================================================
   CABS & FLEET MODULE — Om Taxi Service
   Includes: Single Cab Page, Fleet Grid, Cab Cards, Rates
   ============================================================ */

/* ── SINGLE CAB PAGE HERO BANNER ── */
.cab-page-hero-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #f8fafc;
    border: 1px solid var(--border, #e2e8f0);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.cab-page-hero-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.cab-page-hero-img {
    max-width: 90%;
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.14));
    transition: transform 0.4s ease;
}

.cab-page-hero-wrap:hover .cab-page-hero-img {
    transform: scale(1.04);
}

/* ── HOMEPAGE & LISTING FLEET SECTION ── */
.fleet-sec {
    position: relative;
    background: #ffffff;
    padding: 60px 0 70px;
}

.fleet-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
}

.fleet-header {
    margin-bottom: 36px;
}

.fleet-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--theme, #5F2DED);
    background: #f4efff;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 10px;
}

.fleet-heading {
    font-size: 32px;
    font-weight: 800;
    color: #170F2F;
    line-height: 1.25;
    margin-bottom: 8px;
}

.fleet-accent {
    color: var(--second, #F2277E);
}

.fleet-sub {
    font-size: 14.5px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* ── Fleet Filter Tabs ── */
.fleet-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.fleet-tab {
    background: #f8fafc;
    border: 1.5px solid var(--border, #e2e8f0);
    color: #475569;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fleet-tab:hover {
    border-color: var(--theme, #5F2DED);
    color: var(--theme, #5F2DED);
}

.fleet-tab.active {
    background: var(--theme, #5F2DED);
    border-color: var(--theme, #5F2DED);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(95, 45, 237, 0.25);
}

/* ── Fleet Stats Bar ── */
.fleet-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 36px;
    background: #faf8ff;
    padding: 14px 24px;
    border-radius: 14px;
    border: 1px solid #ede9ff;
    max-width: 650px;
    margin-inline: auto;
}

.fleet-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fleet-stat-num {
    font-size: 16px;
    font-weight: 800;
    color: var(--theme, #5F2DED);
}

.fleet-stat-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
}

.fleet-stat-divider {
    width: 1px;
    height: 18px;
    background: #cbd5e1;
}

/* ── Fleet Grid & Cards ── */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.fleet-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--border, #e2e8f0);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.fleet-card:hover {
    border-color: var(--theme, #5F2DED);
    box-shadow: 0 12px 32px rgba(95, 45, 237, 0.12);
}

.fleet-img-wrap {
    position: relative;
    height: 190px;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}

.fleet-type-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(4px);
    color: var(--theme, #5F2DED);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.fleet-img {
    max-width: 90%;
    max-height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s ease;
}

.fleet-card:hover .fleet-img {
    transform: scale(1.06);
}

.fleet-img-placeholder {
    font-size: 50px;
    color: var(--theme, #5F2DED);
    opacity: 0.4;
}

.fleet-fuel-strip {
    position: absolute;
    bottom: 10px;
    right: 12px;
    display: flex;
    gap: 4px;
}

.fleet-fuel-pill {
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    letter-spacing: 0.2px;
}

.fleet-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    line-height: 1;
}

.fleet-car-name {
    font-size: 17px;
    font-weight: 800;
    color: #170F2F;
    margin: 0 0 10px;
    line-height: 1.3;
}

.fleet-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.fleet-meta-chip {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fleet-meta-chip i {
    color: var(--theme, #5F2DED);
    font-size: 11px;
}

.fleet-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border, #e2e8f0);
    margin-bottom: 14px;
}

.fleet-price-item {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.fleet-price-val {
    font-size: 18px;
    font-weight: 800;
    color: var(--second, #F2277E);
}

.fleet-price-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.fleet-price-sep {
    color: #cbd5e1;
    font-size: 14px;
}

.fleet-btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
}

.fleet-btn-know {
    background: #f4efff;
    color: var(--theme, #5F2DED);
    border: 1px solid #ede9ff;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fleet-btn-know:hover {
    background: var(--theme, #5F2DED);
    color: #fff;
}

.fleet-btn-enq {
    background: var(--theme, #5F2DED);
    color: #ffffff;
    border: none;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.fleet-btn-enq:hover {
    background: #4c20c9;
    box-shadow: 0 4px 12px rgba(95, 45, 237, 0.3);
}

.fleet-btn-wa {
    background: #25D366;
    color: #ffffff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.fleet-btn-wa:hover {
    background: #1ebc59;
    color: #fff;
}

/* ── VEHICLE CARDS (SIDEBAR / MORE FLEET) ── */
.pg-fleet-card {
    display: block;
    background: #ffffff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    text-decoration: none !important;
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}

.pg-fleet-card:hover {
    box-shadow: 0 10px 28px rgba(95, 45, 237, 0.12);
    border-color: var(--theme, #5F2DED);
}

.pg-fleet-img {
    height: 150px;
    background: #faf8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow: hidden;
}

.pg-fleet-img img {
    max-width: 90%;
    max-height: 130px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.pg-fleet-card:hover .pg-fleet-img img {
    transform: scale(1.05);
}

.pg-fleet-ph {
    font-size: 42px;
    color: var(--theme, #5F2DED);
    opacity: 0.5;
}

.pg-fleet-body {
    padding: 14px;
    text-align: center;
}

.pg-fleet-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: #170F2F;
    margin: 0 0 4px;
}

.pg-fleet-body span {
    font-size: 12px;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.pg-fleet-body span i {
    color: var(--theme, #5F2DED);
}

/* ── INNER PAGE CAB GRID ── */
.ip-cab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.ip-cab-media,
.rtp-cab-img-wrap {
    height: 180px;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 12px;
}

.ip-cab-media img,
.rtp-cab-img-wrap img {
    max-width: 90%;
    max-height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.1));
}

.ip-cab-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--theme, #5F2DED);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ── ROUTE & CITY CAB PRICING BLOCKS ── */
.rtp-cabs-block {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid var(--border, #e2e8f0);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    margin-bottom: 30px;
}

.rtp-cab-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--border, #e2e8f0);
    overflow: hidden;
    transition: all 0.25s ease;
}

.rtp-cab-card:hover {
    border-color: var(--theme, #5F2DED);
    box-shadow: 0 8px 24px rgba(95, 45, 237, 0.1);
}

.rtp-cab-body {
    padding: 16px;
}

.rtp-cab-name {
    font-size: 16px;
    font-weight: 800;
    color: #170F2F;
    margin: 0 0 6px;
}

.rtp-cab-tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--theme, #5F2DED);
    background: #f4efff;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.rtp-cab-rates {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.rtp-cab-rate-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #64748b;
}

.rtp-cab-rate-val {
    font-weight: 700;
    color: #170F2F;
}

.rtp-cab-btn {
    width: 100%;
    background: var(--theme, #5F2DED);
    color: #ffffff !important;
    font-weight: 700;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    display: block;
    text-decoration: none;
    transition: background 0.2s ease;
}

.rtp-cab-btn:hover {
    background: #4c20c9;
}

/* ── FUEL PILL BUTTONS ── */
.fuel-pill-btn {
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--border, #e2e8f0);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-align: center;
    user-select: none;
}

.fuel-pill-btn .fuel-pill-name {
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #334155;
}

.fuel-pill-btn .fuel-pill-price {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    margin-top: 2px;
}

.fuel-pill-btn:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.fuel-pill-btn.active.fuel-cng {
    background: #ecfdf5;
    border-color: #10b981;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.15);
}
.fuel-pill-btn.active.fuel-cng .fuel-pill-name,
.fuel-pill-btn.active.fuel-cng .fuel-pill-price {
    color: #047857;
}

.fuel-pill-btn.active.fuel-petrol {
    background: #eff6ff;
    border-color: #3b82f6;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.15);
}
.fuel-pill-btn.active.fuel-petrol .fuel-pill-name,
.fuel-pill-btn.active.fuel-petrol .fuel-pill-price {
    color: #1d4ed8;
}

.fuel-pill-btn.active.fuel-diesel {
    background: #fffbeb;
    border-color: #f59e0b;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.15);
}
.fuel-pill-btn.active.fuel-diesel .fuel-pill-name,
.fuel-pill-btn.active.fuel-diesel .fuel-pill-price {
    color: #b45309;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .cab-page-hero-wrap {
        height: 300px;
    }
    .fleet-heading {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .cab-page-hero-wrap {
        height: 240px;
        padding: 16px;
    }
    .fleet-stats {
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        padding: 8px 4px !important;
        gap: 0 !important;
        box-sizing: border-box !important;
    }
    .fleet-stat-item {
        padding: 2px 4px !important;
        min-width: 0 !important;
        text-align: center !important;
        flex-direction: column !important;
        gap: 2px !important;
    }
    .fleet-stat-item:not(:last-child) {
        border-right: 1px solid #ede9ff !important;
    }
    .fleet-stat-num {
        font-size: 15px !important;
        line-height: 1.1 !important;
    }
    .fleet-stat-label {
        font-size: 9.5px !important;
        letter-spacing: 0 !important;
    }
    .fleet-stat-divider {
        display: none !important;
    }
    /* .fleet-btn-row single row */
}