/*
Theme Name: Deal on Travel Custom
Theme URI: https://dealontravel.in/
Author: Deal on Travel
Description: Private custom travel booking theme for Deal on Travel.
Version: 1.0.1
Update URI: https://dealontravel.in/deal-on-travel-custom-theme
Text Domain: gotrip
*/

:root {
    --primary: #0867c9;
    --primary-dark: #064f9c;
    --secondary: #ff6500;
    --dark: #071c35;
    --text: #26384d;
    --muted: #6f7d8c;
    --border: #e2e8f0;
    --background: #f5f8fc;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.site-header {
    position: relative;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #edf0f4;
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    font-size: 29px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--primary);
}

.site-logo span {
    color: var(--secondary);
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.main-navigation a {
    position: relative;
    display: block;
    padding: 25px 0;
    font-size: 14px;
    font-weight: 600;
    color: #14243a;
    transition: .2s ease;
}

.main-navigation a:hover {
    color: var(--primary);
}

.main-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 17px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: .25s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

.header-account {
    display: flex;
    align-items: center;
    gap: 18px;
}

.login-link {
    font-size: 14px;
    font-weight: 600;
    color: #14243a;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: #10253f;
}


/* =========================
   TEMPORARY HOMEPAGE
========================= */

.start-screen {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.start-screen h1 {
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.05;
    color: var(--dark);
    margin-bottom: 18px;
}

.start-screen p {
    max-width: 700px;
    margin: auto;
    color: var(--muted);
    font-size: 18px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .header-inner {
        min-height: 64px;
    }

    .site-logo {
        font-size: 25px;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        width: 100%;
        padding: 10px 20px 22px;
        background: #fff;
        border-top: 1px solid var(--border);
        box-shadow: 0 15px 30px rgba(0,0,0,.08);
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation a {
        padding: 14px 4px;
        border-bottom: 1px solid #eef1f5;
    }

    .main-navigation a::after {
        display: none;
    }

    .login-link {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

/* =====================================================
   HOMEPAGE HERO
===================================================== */

.travel-hero {
    position: relative;
    min-height: 610px;
    padding: 65px 0 80px;
    background:
        linear-gradient(
            90deg,
            rgba(4, 32, 60, .40),
            rgba(4, 32, 60, .08)
        ),
        url("assets/images/travel-hero.jpg")
        center center / cover no-repeat;
}

.travel-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.02),
            rgba(0,0,0,.18)
        );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-heading {
    max-width: 650px;
    color: #fff;
    margin-bottom: 40px;
}

.hero-small-title {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-heading h1 {
    margin: 0 0 15px;
    font-size: clamp(48px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -3px;
    color: #fff;
}

.hero-heading p {
    margin: 0 0 3px;
    font-size: 21px;
    font-weight: 700;
}

.hero-subtext {
    font-size: 15px;
}


/* =====================================================
   SEARCH BOX
===================================================== */

.travel-search-box {
    width: min(850px, 100%);
    background: rgba(255,255,255,.97);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.20);
    overflow: hidden;
}

.travel-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid #e6ebf1;
}

.travel-tab {
    position: relative;
    min-height: 74px;
    padding: 15px;
    border: 0;
    background: #fff;
    color: #24364b;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    transition: .2s ease;
}

.travel-tab + .travel-tab {
    border-left: 1px solid #edf0f4;
}

.travel-tab:hover {
    background: #f7faff;
}

.travel-tab.active {
    color: var(--primary);
    background: #f4f9ff;
}

.travel-tab.active::after {
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--primary);
}

.tab-icon {
    margin-right: 7px;
    font-size: 21px;
    vertical-align: middle;
}

.travel-search-content {
    display: none;
    padding: 25px;
}

.travel-search-content.active {
    display: block;
}

.travel-form {
    width: 100%;
}

.trip-types {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 20px;
}

.trip-types label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.trip-types input {
    accent-color: var(--primary);
}

.cab-location-row {
    display: grid;
    grid-template-columns: 1fr 42px 1fr;
    gap: 10px;
    align-items: end;
    margin-bottom: 16px;
}

.form-field label {
    display: block;
    margin-bottom: 7px;
    color: #34465b;
    font-size: 12px;
    font-weight: 700;
}

.form-field input,
.form-field select {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    outline: none;
    color: #172a40;
    background: #fff;
    transition: .2s ease;
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8,103,201,.08);
}

.input-wrap {
    position: relative;
}

.input-wrap input {
    padding-left: 40px;
}

.field-icon {
    position: absolute;
    z-index: 2;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
}

.swap-location {
    width: 42px;
    height: 42px;
    margin-bottom: 4px;
    border: 1px solid #dce3eb;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-size: 21px;
    cursor: pointer;
}

.travel-fields-grid {
    display: grid;
    gap: 12px;
}

.cab-fields-grid {
    grid-template-columns: repeat(3, 1fr);
}

.hotel-fields-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 10px;
}

.holiday-fields-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.travel-search-btn {
    width: 100%;
    height: 53px;
    margin-top: 18px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--secondary);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

.travel-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255,101,0,.25);
}


/* =====================================================
   SECTIONS
===================================================== */

.home-section {
    padding: 65px 0;
    background: #fff;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.section-label {
    display: block;
    margin-bottom: 4px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.section-heading h2 {
    color: var(--dark);
    font-size: 30px;
    line-height: 1.2;
}

.view-all {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.destination-card {
    min-width: 0;
}

.destination-image {
    position: relative;
    height: 235px;
    overflow: hidden;
    border-radius: 13px;
    background-color: #dfe7ef;
    background-position: center;
    background-size: cover;
    transition: transform .25s ease;
}

.destination-card:hover .destination-image {
    transform: translateY(-5px);
}

.destination-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            transparent 35%,
            rgba(2,16,30,.80)
        );
}

.destination-info {
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 16px;
    color: #fff;
}

.destination-info h3 {
    margin-bottom: 2px;
    font-size: 20px;
}

.destination-info p {
    font-size: 12px;
    opacity: .9;
}


/* =====================================================
   BENEFITS
===================================================== */

.travel-benefits {
    padding: 28px 0;
    border-top: 1px solid #e7edf3;
    border-bottom: 1px solid #e7edf3;
    background: #f8fbff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 13px;
}

.benefit-item > span {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--primary);
    background: #eaf4ff;
    font-size: 20px;
}

.benefit-item strong {
    display: block;
    color: var(--dark);
    font-size: 14px;
}

.benefit-item small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .hotel-fields-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hotel-destination {
        grid-column: 1 / -1;
    }

    .holiday-fields-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .destination-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 650px) {

    .travel-hero {
        min-height: auto;
        padding: 40px 0 45px;
    }

    .hero-heading {
        margin-bottom: 25px;
    }

    .hero-heading h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .hero-heading p {
        font-size: 16px;
    }

    .travel-search-box {
        border-radius: 13px;
    }

    .travel-tabs {
        grid-template-columns: repeat(3, 1fr);
    }

    .travel-tab {
        min-height: 65px;
        padding: 10px 5px;
        font-size: 11px;
    }

    .tab-icon {
        display: block;
        margin: 0 0 3px;
        font-size: 20px;
    }

    .travel-search-content {
        padding: 18px;
    }

    .trip-types {
        gap: 12px 18px;
    }

    .cab-location-row {
        grid-template-columns: 1fr;
    }

    .swap-location {
        margin: -3px auto;
        transform: rotate(90deg);
    }

    .cab-fields-grid,
    .hotel-fields-grid,
    .holiday-fields-grid {
        grid-template-columns: 1fr;
    }

    .hotel-destination {
        grid-column: auto;
    }

    .destination-grid {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 10px;
        scrollbar-width: none;
    }

    .destination-grid::-webkit-scrollbar {
        display: none;
    }

    .destination-card {
        flex: 0 0 165px;
    }

    .destination-image {
        height: 215px;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px 12px;
    }

    .section-heading h2 {
        font-size: 25px;
    }
}

/* =====================================================
   CAB RESULTS PAGE
===================================================== */

.cab-results-page {
    background: #f4f7fb;
    min-height: 100vh;
}


/* SEARCH HEADER */

.cab-search-header {
    padding: 45px 0 35px;
    color: #fff;
    background:
        linear-gradient(
            120deg,
            #062f61,
            #0867c9
        );
}

.cab-search-title {
    margin-bottom: 25px;
}

.cab-search-title > span {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: .8;
}

.cab-search-title h1 {
    margin: 0 0 5px;
    font-size: 34px;
    color: #fff;
}

.cab-search-title p {
    margin: 0;
    opacity: .85;
}


/* SEARCH BOX */

.cab-results-search {
    padding: 20px;
    border-radius: 14px;
    color: #20334a;
    background: #fff;
    box-shadow:
        0 15px 40px
        rgba(0,0,0,.15);
}

.cab-trip-options {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 18px;
}

.cab-trip-options label {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.cab-trip-options input {
    accent-color: var(--primary);
}

.cab-search-fields {
    display: grid;
    grid-template-columns:
        1.4fr 42px 1.4fr
        1fr .8fr .7fr auto;
    gap: 9px;
    align-items: end;
}

.cab-search-field label {
    display: block;
    margin-bottom: 6px;
    color: #536477;
    font-size: 11px;
    font-weight: 700;
}

.cab-search-field input,
.cab-search-field select {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    border: 1px solid #dce4ed;
    border-radius: 7px;
    outline: none;
    background: #fff;
}

.cab-search-field input:focus,
.cab-search-field select:focus {
    border-color: var(--primary);
}

.cab-swap-button {
    width: 42px;
    height: 42px;
    margin-bottom: 3px;
    border: 1px solid #dce4ed;
    border-radius: 50%;
    color: var(--primary);
    background: #fff;
    cursor: pointer;
    font-size: 19px;
}

.cab-update-search {
    height: 48px;
    padding: 0 25px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: var(--secondary);
    cursor: pointer;
    font-weight: 800;
}


/* RESULTS AREA */

.cab-results-content {
    padding: 30px 0 70px;
}


/* JOURNEY SUMMARY */

.journey-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
    padding: 17px 20px;
    border: 1px solid #e1e8f0;
    border-radius: 12px;
    background: #fff;
}

.journey-route {
    display: flex;
    align-items: center;
    gap: 14px;
}

.journey-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #eaf4ff;
    font-size: 20px;
}

.journey-route small,
.journey-meta small {
    display: block;
    color: #7a8796;
    font-size: 11px;
}

.journey-route h2 {
    margin: 2px 0 0;
    color: var(--dark);
    font-size: 19px;
}

.journey-route h2 span {
    margin: 0 8px;
    color: var(--primary);
}

.journey-meta {
    display: flex;
    gap: 35px;
}

.journey-meta strong {
    display: block;
    margin-top: 2px;
    color: var(--dark);
    font-size: 13px;
}


/* MAIN LAYOUT */

.cab-results-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 22px;
}


/* FILTERS */

.filter-box {
    position: sticky;
    top: 20px;
    overflow: hidden;
    border: 1px solid #e1e8ef;
    border-radius: 12px;
    background: #fff;
}

.filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    border-bottom: 1px solid #edf0f4;
}

.filter-heading h3 {
    margin: 0;
    color: var(--dark);
    font-size: 17px;
}

.filter-heading button {
    padding: 0;
    border: 0;
    color: var(--primary);
    background: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.filter-group {
    padding: 18px;
    border-bottom: 1px solid #edf0f4;
}

.filter-group:last-child {
    border-bottom: 0;
}

.filter-group h4 {
    margin: 0 0 13px;
    color: var(--dark);
    font-size: 13px;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 11px 0;
    color: #47586b;
    font-size: 13px;
    cursor: pointer;
}

.filter-group input {
    accent-color: var(--primary);
}

.filter-note {
    margin: 9px 0;
    color: #536477;
    font-size: 12px;
}


/* RESULTS HEADER */

.results-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.results-topbar h2 {
    margin: 0;
    color: var(--dark);
    font-size: 22px;
}

.results-topbar p {
    margin: 2px 0 0;
    color: #7a8796;
    font-size: 12px;
}

.results-topbar select {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dce4ed;
    border-radius: 7px;
    color: #34465a;
    background: #fff;
}


/* CAB CARD */

.cab-result-card {
    display: grid;
    grid-template-columns:
        190px minmax(0, 1fr) 175px;
    gap: 20px;
    margin-bottom: 15px;
    padding: 20px;
    border: 1px solid #e0e7ef;
    border-radius: 13px;
    background: #fff;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.cab-result-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 30px
        rgba(26,52,80,.08);
}

.cab-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 135px;
    overflow: hidden;
    border-radius: 10px;
    background: #f5f8fb;
}

.cab-image img {
    width: 100%;
    height: 135px;
    object-fit: contain;
}

.cab-image-placeholder {
    font-size: 60px;
}

.cab-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.cab-category {
    display: block;
    margin-bottom: 3px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.cab-main-info h3 {
    margin: 0;
    color: var(--dark);
    font-size: 20px;
}

.cab-ac-badge {
    padding: 4px 8px;
    border-radius: 5px;
    color: #08713f;
    background: #eaf8f1;
    font-size: 10px;
    font-weight: 800;
}

.cab-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 17px;
    color: #536477;
    font-size: 12px;
}

.cab-inclusions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 17px;
}

.cab-inclusions span {
    color: #17804a;
    font-size: 11px;
}


/* PRICE */

.cab-price-area {
    padding-left: 20px;
    border-left: 1px solid #edf0f4;
    text-align: right;
}

.cab-price-area small {
    color: #7c8997;
    font-size: 10px;
}

.cab-price {
    margin: 2px 0;
    color: var(--dark);
    font-size: 28px;
    font-weight: 800;
}

.cab-price sup {
    position: relative;
    top: -5px;
    margin-right: 2px;
    font-size: 14px;
}

.cab-tax-note {
    display: block;
    color: #8793a0;
    font-size: 9px;
}

.cab-book-button {
    display: block;
    margin-top: 17px;
    padding: 12px 15px;
    border-radius: 7px;
    color: #fff;
    background: var(--secondary);
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    transition: .2s ease;
}

.cab-book-button:hover {
    color: #fff;
    box-shadow:
        0 7px 18px
        rgba(255,101,0,.22);
}


/* EMPTY */

.no-cabs-found {
    padding: 60px 25px;
    border: 1px solid #e1e8ef;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.no-cabs-found > div {
    margin-bottom: 10px;
    font-size: 45px;
}

.no-cabs-found h3 {
    margin-bottom: 5px;
    color: var(--dark);
}


/* TABLET */

@media (max-width: 1050px) {

    .cab-search-fields {
        grid-template-columns:
            1fr 42px 1fr 1fr;
    }

    .cab-result-card {
        grid-template-columns:
            150px minmax(0,1fr) 150px;
    }

}


/* MOBILE */

@media (max-width: 760px) {

    .cab-search-header {
        padding: 30px 0;
    }

    .cab-search-title h1 {
        font-size: 27px;
    }

    .cab-search-fields {
        grid-template-columns: 1fr;
    }

    .cab-swap-button {
        margin: -3px auto;
        transform: rotate(90deg);
    }

    .cab-update-search {
        width: 100%;
    }

    .journey-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .journey-meta {
        width: 100%;
        justify-content: space-between;
    }

    .cab-results-layout {
        grid-template-columns: 1fr;
    }

    .cab-filter-sidebar {
        display: none;
    }

    .results-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .results-topbar select {
        width: 100%;
    }

    .cab-result-card {
        grid-template-columns: 1fr;
    }

    .cab-image {
        min-height: 170px;
    }

    .cab-image img {
        height: 170px;
    }

    .cab-price-area {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 3px 15px;
        padding:
            15px 0 0;
        border-top: 1px solid #edf0f4;
        border-left: 0;
        text-align: left;
    }

    .cab-price-area small,
    .cab-price,
    .cab-tax-note {
        grid-column: 1;
    }

    .cab-book-button {
        grid-column: 2;
        grid-row: 1 / 4;
        margin: 0;
        padding: 13px 20px;
    }

}

/* Route status */

.gotrip-route-warning {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
    padding: 17px 20px;
    border: 1px solid #ffd9bd;
    border-radius: 10px;
    background: #fff7f0;
}

.route-warning-icon {
    display: grid;
    place-items: center;
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #fff;
    background: #ff6500;
    font-weight: 800;
}

.gotrip-route-warning strong {
    display: block;
    margin-bottom: 3px;
    color: #162b43;
}

.gotrip-route-warning p {
    margin: 0;
    color: #647386;
    font-size: 13px;
}

.cab-mini-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-top: 13px;
}

.cab-mini-breakdown span {
    padding: 4px 7px;
    border-radius: 5px;
    color: #586a7d;
    background: #f4f7fa;
    font-size: 10px;
}

.cab-price-unavailable {
    color: #8793a0;
}

.cab-book-disabled {
    cursor: not-allowed;
    background: #aeb8c4;
    box-shadow: none;
}

/* =========================================================
   GOTRIP CAB BOOKING
========================================================= */

.gotrip-booking-page {
    min-height: 100vh;
    background: #f4f7fb;
}

.booking-page-header {
    padding: 40px 0;
    color: #fff;
    background:
        linear-gradient(
            120deg,
            #073b75,
            #0873d1
        );
}

.booking-back {
    display: inline-block;
    margin-bottom: 15px;
    color: rgba(255,255,255,.85);
    font-size: 13px;
    font-weight: 600;
}

.booking-back:hover {
    color: #fff;
}

.booking-page-header h1 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 32px;
}

.booking-page-header p {
    margin: 0;
    opacity: .85;
}

.booking-content {
    padding: 35px 0 70px;
}

.booking-layout {
    display: grid;
    grid-template-columns:
        minmax(0,1fr) 350px;
    gap: 25px;
    align-items: start;
}

.booking-main {
    display: grid;
    gap: 20px;
}

.booking-card,
.booking-summary-card {
    padding: 24px;
    border: 1px solid #e0e7ef;
    border-radius: 14px;
    background: #fff;
    box-shadow:
        0 5px 20px
        rgba(31,55,80,.04);
}

.booking-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.booking-card-title > span {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    background: #0873d1;
    font-weight: 800;
}

.booking-card-title h2 {
    margin: 0;
    color: #0b2442;
    font-size: 20px;
}

.booking-card-title p {
    margin: 2px 0 0;
    color: #758394;
    font-size: 12px;
}


/* ROUTE */

.booking-route {
    display: grid;
    grid-template-columns:
        minmax(0,1fr) auto minmax(0,1fr);
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    background: #f6f9fc;
}

.booking-route small {
    display: block;
    margin-bottom: 4px;
    color: #8290a0;
    font-size: 10px;
    font-weight: 700;
}

.booking-route strong {
    color: #0b2442;
    font-size: 19px;
}

.route-arrow {
    color: #0873d1;
    font-size: 24px;
}

.booking-journey-meta {
    display: grid;
    grid-template-columns:
        repeat(4,1fr);
    gap: 15px;
    margin-top: 18px;
}

.booking-journey-meta div {
    padding-right: 10px;
    border-right: 1px solid #edf0f3;
}

.booking-journey-meta div:last-child {
    border-right: 0;
}

.booking-journey-meta small {
    display: block;
    color: #8592a0;
    font-size: 10px;
}

.booking-journey-meta strong {
    display: block;
    margin-top: 3px;
    color: #243b55;
    font-size: 13px;
}


/* FORM */

.booking-form-grid {
    display: grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap: 18px;
}

.booking-field-full {
    grid-column: 1 / -1;
}

.booking-field label {
    display: block;
    margin-bottom: 7px;
    color: #344b63;
    font-size: 12px;
    font-weight: 700;
}

.booking-field label span {
    color: #ff6500;
}

.booking-field input,
.booking-field textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    outline: none;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.booking-field input {
    height: 48px;
}

.booking-field textarea {
    resize: vertical;
}

.booking-field input:focus,
.booking-field textarea:focus {
    border-color: #0873d1;
    box-shadow:
        0 0 0 3px
        rgba(8,115,209,.07);
}

.booking-confirm-note {
    margin-top: 20px;
    padding: 12px 14px;
    border-radius: 7px;
    color: #687788;
    background: #f5f8fb;
    font-size: 11px;
}

.confirm-booking-button {
    width: 100%;
    height: 52px;
    margin-top: 15px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: #ff6500;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    transition: .2s ease;
}

.confirm-booking-button:hover {
    transform: translateY(-1px);
    box-shadow:
        0 8px 20px
        rgba(255,101,0,.22);
}


/* SIDEBAR */

.booking-sidebar {
    display: grid;
    gap: 20px;
}

.booking-summary-card h3 {
    margin: 0 0 17px;
    color: #0b2442;
    font-size: 16px;
}

.booking-cab-image {
    display: grid;
    place-items: center;
    min-height: 160px;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 10px;
    background: #f6f9fc;
}

.booking-cab-image img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: contain;
}

.booking-cab-image > span {
    font-size: 65px;
}

.booking-summary-card > h2 {
    margin: 0;
    color: #0b2442;
    font-size: 19px;
}

.booking-cab-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.booking-cab-specs span {
    padding: 6px 8px;
    border-radius: 5px;
    color: #526478;
    background: #f3f6f9;
    font-size: 10px;
}


/* FARE */

.fare-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f3;
    color: #536579;
    font-size: 12px;
}

.fare-row span small {
    display: block;
    margin-top: 3px;
    color: #8a96a3;
    font-size: 9px;
}

.fare-row strong {
    color: #1b334e;
    white-space: nowrap;
}

.fare-total {
    margin-top: 4px;
    padding-top: 16px;
    border-bottom: 0;
    color: #0b2442;
    font-size: 15px;
    font-weight: 700;
}

.fare-total strong {
    color: #0b2442;
    font-size: 23px;
}

.fare-security-note {
    margin: 12px 0 0;
    padding: 10px;
    border-radius: 6px;
    color: #68798a;
    background: #f4f8fb;
    font-size: 10px;
    line-height: 1.5;
}


/* ERROR */

.booking-error {
    max-width: 600px;
    margin: 30px auto;
    padding: 40px;
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

.booking-error h2 {
    color: #0b2442;
}

.booking-error p {
    color: #718093;
}

.booking-error a {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 22px;
    border-radius: 7px;
    color: #fff;
    background: #ff6500;
    font-weight: 700;
}


/* MOBILE */

@media(max-width:900px) {

    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-sidebar {
        grid-row: 1;
    }

}


@media(max-width:600px) {

    .booking-page-header {
        padding: 28px 0;
    }

    .booking-page-header h1 {
        font-size: 25px;
    }

    .booking-card,
    .booking-summary-card {
        padding: 18px;
    }

    .booking-form-grid {
        grid-template-columns: 1fr;
    }

    .booking-field-full {
        grid-column: auto;
    }

    .booking-journey-meta {
        grid-template-columns:
            repeat(2,1fr);
    }

    .booking-route {
        gap: 10px;
    }

    .booking-route strong {
        font-size: 16px;
    }

}

/* =========================================================
   GOTRIP TRACK BOOKING
========================================================= */

.gotrip-track-page {
    min-height: 100vh;
    background: #f4f7fb;
}

.track-hero {
    padding: 48px 0 55px;
    color: #fff;
    background:
        linear-gradient(
            120deg,
            #073b75,
            #0873d1
        );
    text-align: center;
}

.track-small-title {
    display: inline-block;
    margin-bottom: 7px;
    color: #ffb176;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.track-hero h1 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 34px;
}

.track-hero p {
    margin: 0 auto;
    max-width: 550px;
    color: rgba(255,255,255,.82);
}

.track-search-form {
    display: flex;
    max-width: 620px;
    margin: 25px auto 0;
    padding: 6px;
    border-radius: 10px;
    background: #fff;
    box-shadow:
        0 10px 30px
        rgba(0,0,0,.12);
}

.track-search-form input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 15px;
    border: 0;
    outline: 0;
    color: #18344f;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.track-search-form button {
    padding: 0 24px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: #ff6500;
    cursor: pointer;
    font-weight: 800;
}

.track-content {
    padding: 35px 0 70px;
}


/* EMPTY / ERROR */

.track-start-card,
.track-error-card {
    max-width: 600px;
    margin: 20px auto;
    padding: 45px;
    border: 1px solid #e0e7ef;
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

.track-start-icon,
.track-error-icon {
    display: grid;
    place-items: center;
    width: 65px;
    height: 65px;
    margin: 0 auto 17px;
    border-radius: 50%;
    background: #eef6ff;
    font-size: 30px;
}

.track-error-icon {
    color: #d94545;
    background: #fff0f0;
    font-weight: 800;
}

.track-start-card h2,
.track-error-card h2 {
    margin: 0 0 8px;
    color: #0b2442;
}

.track-start-card p,
.track-error-card p {
    color: #718093;
}

.track-example {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 6px;
    color: #0873d1;
    background: #f1f7fd;
    font-weight: 800;
}


/* HEADER */

.track-booking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px 24px;
    border: 1px solid #e0e7ef;
    border-radius: 12px;
    background: #fff;
}

.track-booking-header small {
    display: block;
    margin-bottom: 3px;
    color: #8290a0;
    font-size: 10px;
    font-weight: 700;
}

.track-booking-header h2 {
    margin: 0;
    color: #0873d1;
    font-size: 21px;
}

.track-current-status {
    padding: 8px 13px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
}

.track-status-pending {
    color: #8a5b00;
    background: #fff2c6;
}

.track-status-confirmed {
    color: #075d36;
    background: #d9f7e8;
}

.track-status-driver-assigned {
    color: #075aa8;
    background: #dceeff;
}

.track-status-completed {
    color: #fff;
    background: #16824d;
}

.track-status-cancelled {
    color: #9f1d1d;
    background: #ffe1e1;
}


/* PROGRESS */

.track-progress-card {
    margin-bottom: 20px;
    padding: 25px;
    border: 1px solid #e0e7ef;
    border-radius: 12px;
    background: #fff;
}

.track-progress-card h3 {
    margin: 0 0 25px;
    color: #0b2442;
    font-size: 16px;
}

.track-progress {
    display: flex;
    align-items: flex-start;
}

.track-step {
    flex: 0 0 125px;
    color: #9aa5b0;
    text-align: center;
}

.track-step-circle {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin: 0 auto 8px;
    border: 2px solid #dce3e9;
    border-radius: 50%;
    color: #8e9ba8;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
}

.track-step strong {
    display: block;
    color: #8996a4;
    font-size: 11px;
}

.track-step small {
    display: block;
    margin-top: 3px;
    font-size: 9px;
}

.track-step.active .track-step-circle {
    border-color: #0873d1;
    color: #fff;
    background: #0873d1;
}

.track-step.active strong {
    color: #0b2442;
}

.track-progress-line {
    flex: 1;
    height: 3px;
    margin-top: 18px;
    background: #e4e9ee;
}

.track-progress-line.active {
    background: #0873d1;
}


/* DETAILS */

.track-details-layout {
    display: grid;
    grid-template-columns:
        minmax(0,1fr) 320px;
    gap: 20px;
    align-items: start;
}

.track-details-main,
.track-sidebar {
    display: grid;
    gap: 20px;
}

.track-info-card {
    padding: 23px;
    border: 1px solid #e0e7ef;
    border-radius: 12px;
    background: #fff;
}

.track-info-card h3 {
    margin: 0 0 18px;
    color: #0b2442;
    font-size: 16px;
}

.track-route {
    display: grid;
    grid-template-columns:
        minmax(0,1fr) auto minmax(0,1fr);
    gap: 15px;
    align-items: center;
    padding: 18px;
    border-radius: 8px;
    background: #f6f9fc;
}

.track-route small,
.track-info-grid small,
.track-address small,
.track-driver-grid small,
.track-info-card > small {
    display: block;
    margin-bottom: 4px;
    color: #8491a0;
    font-size: 9px;
    font-weight: 700;
}

.track-route strong {
    color: #0b2442;
    font-size: 17px;
}

.track-route > span {
    color: #0873d1;
    font-size: 22px;
}

.track-info-grid {
    display: grid;
    grid-template-columns:
        repeat(4,1fr);
    gap: 15px;
    margin-top: 17px;
}

.track-info-grid strong,
.track-address strong {
    color: #344b63;
    font-size: 12px;
}

.track-address {
    margin-top: 17px;
    padding-top: 17px;
    border-top: 1px solid #edf0f3;
}


/* DRIVER */

.track-driver-heading {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.track-driver-heading h3 {
    margin-bottom: 3px;
}

.track-driver-heading p {
    margin: 0;
    color: #718093;
    font-size: 11px;
}

.track-driver-heading > span {
    height: fit-content;
    padding: 6px 9px;
    border-radius: 20px;
    color: #075d36;
    background: #d9f7e8;
    font-size: 10px;
    font-weight: 800;
}

.track-driver-grid {
    display: grid;
    grid-template-columns:
        repeat(3,1fr);
    gap: 12px;
}

.track-driver-grid > div {
    padding: 13px;
    border-radius: 7px;
    background: #f6f9fc;
}

.track-driver-grid strong {
    color: #203b56;
    font-size: 12px;
}

.track-call-driver {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 17px;
    border-radius: 6px;
    color: #fff;
    background: #16824d;
    font-size: 12px;
    font-weight: 700;
}

.track-driver-pending {
    margin: 0;
    padding: 12px;
    border-radius: 6px;
    color: #657688;
    background: #f6f9fc;
}


/* SIDEBAR */

.track-cab-icon {
    display: grid;
    place-items: center;
    height: 100px;
    margin-bottom: 13px;
    border-radius: 8px;
    background: #f5f8fb;
    font-size: 48px;
}

.track-info-card > h2 {
    margin: 0;
    color: #0b2442;
    font-size: 18px;
}

.track-total {
    margin-top: 5px;
    color: #0b2442;
    font-size: 29px;
    font-weight: 800;
}


/* CANCELLED */

.track-cancelled {
    margin-bottom: 20px;
    padding: 18px 20px;
    border: 1px solid #ffd1d1;
    border-radius: 10px;
    color: #9f1d1d;
    background: #fff1f1;
}

.track-cancelled strong {
    display: block;
    margin-bottom: 4px;
}

.track-cancelled p {
    margin: 0;
    font-size: 12px;
}


/* MOBILE */

@media(max-width:850px) {

    .track-details-layout {
        grid-template-columns: 1fr;
    }

    .track-sidebar {
        grid-row: 1;
    }

    .track-progress {
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .track-progress-line {
        min-width: 35px;
    }

}


@media(max-width:600px) {

    .track-hero {
        padding: 35px 0 40px;
    }

    .track-hero h1 {
        font-size: 27px;
    }

    .track-search-form {
        flex-direction: column;
    }

    .track-search-form button {
        height: 46px;
    }

    .track-booking-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .track-info-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .track-driver-grid {
        grid-template-columns: 1fr;
    }

    .track-step {
        flex-basis: 105px;
    }

}