/* Cab Type Selection Page Styles */
.cab-selection-wrapper {
    background: #f8f9fa;
    min-height: 100vh;
}

.cab-header-tabs {
    border-bottom: 2px solid #eee;
}

.cab-tab {
    padding: 15px 40px;
    font-weight: 700;
    color: #888;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
}

.cab-tab.active {
    color: var(--dark-bg);
}

.cab-tab.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--dark-bg);
}

.route-summary-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.route-point {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: #f1f3f5;
    border-radius: 8px;
    margin-bottom: 10px;
}

.point-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 15px;
}

.point-dot.start {
    background: #00a884;
}
.point-dot.end {
    background: #ff4d4d;
}

.route-text {
    font-weight: 600;
    color: #333;
    margin: 0;
}

.departure-details {
    display: flex;
    gap: 15px;
    padding: 15px 0;
}

.detail-item {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 8px 15px;
}

.detail-item input {
    border: none;
    outline: none;
    width: 100%;
    font-weight: 600;
    color: var(--primary-yellow);
    background: transparent;
}

.est-bar {
    background: #d4ffd4;
    padding: 10px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.car-options-list {
    margin-top: 20px;
}

.car-card {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 15px 25px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.car-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.car-card.selected {
    border-color: var(--primary-yellow);
    background: #fffdf5;
}

.car-icon-box {
    width: 80px;
    margin-right: 25px;
}

.car-icon-box i {
    font-size: 40px;
    color: #444;
}

.car-info {
    flex: 1;
}

.car-name {
    font-size: 18px;
    font-weight: 800;
    color: #222;
    margin-bottom: 2px;
}

.car-specs {
    font-size: 13px;
    color: #777;
    margin: 0;
}

.car-models {
    font-size: 12px;
    color: #999;
    margin: 3px 0 0 0;
}

.car-price-box {
    text-align: right;
}

.car-price {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
}

.selected-check {
    color: var(--primary-yellow);
    display: none;
}

.car-card.selected .selected-check {
    display: block;
}

.review-btn-container {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: #fff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

.btn-review-ride {
    background: var(--dark-bg);
    color: var(--primary-yellow);
    border: none;
    border-radius: 4px;
    padding: 18px;
    width: 100%;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-review-ride:hover {
    background: #000;
    color: #fff;
}

.btn-review-ride i {
    font-size: 20px;
}

@media (max-width: 767.98px) {

    .departure-details {
        flex-direction: column;
    }

    .car-card {
        padding: 15px;
    }
    .car-icon-box {
        width: 60px;
        margin-right: 15px;
    }
    .car-icon-box i {
        font-size: 30px;
    }
    .car-name {
        font-size: 16px;
    }
    .car-price {
        font-size: 18px;
    }
}
/* Fair Summary Page Styles */
.back-btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f1f3f5;
    border-radius: 50%;
    color: var(--dark-bg);
    transition: 0.3s;
}

.back-btn-link:hover {
    background: var(--primary-yellow);
    color: var(--dark-bg);
}

.fair-summary-header {
    border-bottom: 1px solid #eee;
    background: #fff;
    padding: 15px 0;
}

.fair-card {
    background: #f8fbff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.fair-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.fair-label {
    color: #666;
    font-weight: 500;
}

.fair-value {
    font-weight: 700;
    color: var(--dark-bg);
    font-size: 16px;
}

.fair-value.total {
    font-size: 22px;
    color: var(--dark-bg);
}

.extra-charges-info {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #888;
}

.info-section {
    margin-top: 25px;
}

.info-title {
    font-size: 14px;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.info-content {
    font-size: 14px;
    color: #777;
    font-style: italic;
}

@media (max-width: 767.98px) {
    .extra-charges-info {
        flex-direction: column;
        gap: 5px;
    }
}
