* {
    font-family: Cairo;
}

.gobus-booking-wrapper {
    direction: rtl;
    margin: 0;
}

.gobus-booking-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gobus-booking-wrapper .container {
    width: 90%;
    margin: 0 auto;
}

.gobus-booking-wrapper .car-rental {
    width: 100%;
    margin: 130px 0;
}

.gobus-booking-wrapper .box {
    margin-bottom: 90px;
}

.gobus-booking-wrapper .box-one {
    width: 70%;
    margin: 0 auto;
    position: relative;
}

/* Stepper */
.gobus-booking-wrapper .stages {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.gobus-booking-wrapper .stages::before {
    content: "";
    position: absolute;
    top: 28px;
    right: 28px;
    left: 28px;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.gobus-booking-wrapper .stages::after {
    content: "";
    position: absolute;
    top: 28px;
    right: 28px;
    height: 2px;
    background: #03642D;
    z-index: 1;
    width: 0%;
    transition: width .4s ease;
}

.gobus-booking-wrapper .li-cont {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.gobus-booking-wrapper .stap {
    font-weight: 600;
    font-size: 24px;
    line-height: 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #FAFAFA;
    color: #000;
    margin: 0;
    transition: all .3s ease;
}

.gobus-booking-wrapper .stap-active {
    background: #03642D;
    color: #fff;
}

.gobus-booking-wrapper .stap-text {
    margin: 8px 0 0 0;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    color: #000;
    transition: color .3s ease;
}

.gobus-booking-wrapper .stap-text-active {
    color: #03642D;
}

/* Form */
.gobus-booking-wrapper .info-user {
    background: #FAFAFA;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gobus-booking-wrapper .info-user-gap {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.gobus-booking-wrapper .info-user-gap>div {
    width: calc(50% - 20px);
}

.gobus-booking-wrapper .box-input {
    display: flex;
    flex-direction: column;
}

.gobus-booking-wrapper .label-text {
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 12px;
    color: #333;
}

.gobus-booking-wrapper .input {
    width: 100%;
    max-width: 590px;
    height: 56px;
    padding: 0 22px;
    background: #FAFAFA;
    border: 1px solid #2E2E1F1F;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 14px;
    transition: all .3s ease;
    text-align: right;
    direction: rtl;
    opacity: 1;
}

.gobus-booking-wrapper .input::placeholder {
    color: #9C9696;
    font-family: Cairo;
    font-weight: 400;
    font-size: 14px;
    text-align: right;
    text-transform: capitalize;
}

.gobus-booking-wrapper .input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.gobus-booking-wrapper .input-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
    z-index: 5;
}

.gobus-booking-wrapper .input-with-icon .input {
    padding-right: 55px;
    /* Extra padding for the icon */
}

.gobus-booking-wrapper .input:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.gobus-booking-wrapper .input.error {
    border: 1px solid #e74c3c;
    box-shadow: none;
}

.gobus-booking-wrapper .error-text {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 6px;
}

/* Buttons */
.gobus-booking-wrapper .button {
    padding: 20px 32px;
    border: 2px solid #03642D;
    border-radius: 32px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    background: transparent;
    color: #03642D;
    transition: all .3s ease;
}

.gobus-booking-wrapper .button:hover {
    background: #f0f0f0;
}

.gobus-booking-wrapper .button-two {
    background: #03642D;
    color: #fff;
}

.gobus-booking-wrapper .button-two:hover {
    background: #024a1f;
}

.gobus-booking-wrapper .box-two {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
}

/* Cars Grid */
.gobus-booking-wrapper .cars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 21px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.gobus-booking-wrapper .cars-grid.error {
    outline: 2px dashed #e74c3c;
    border-radius: 8px;
    padding: 6px;
}

.gobus-booking-wrapper .car-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: center / cover no-repeat #f4f4f4;
    width: 100%;
    max-width: 630px;
    height: 367px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: all .3s ease;
}

.gobus-booking-wrapper .car-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.gobus-booking-wrapper .car-card.selected {
    outline: 3px solid #03642D;
    box-shadow: 0 4px 12px rgba(3, 100, 45, 0.15);
}

.gobus-booking-wrapper .car-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 31.6%, rgba(0, 0, 0, 0.62) 73.45%);
}

.gobus-booking-wrapper .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 22px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.gobus-booking-wrapper .car-text-h3 {
    font-family: Cairo;
    font-weight: 600;
    font-size: 32px;
    color: #FFFFFF;
    margin: 0;
}


.gobus-booking-wrapper .capacity-pill {
    background: rgba(17, 17, 17, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 10px 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    direction: ltr;
    /* Ensures text is left and arrow is right */
}

.gobus-booking-wrapper .capacity-pill .arrow {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    order: 1;
    /* Arrow on the right */
}


/* Step 3 */
.gobus-booking-wrapper .step3-container {
    background: #FAFAFA;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 30px;
}

.gobus-booking-wrapper .step3-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.gobus-booking-wrapper .step3-subtitle {
    font-size: 24px;
    color: #000;
    margin: 15px 0;
}

.gobus-booking-wrapper .step3-summary-btn {
    background: transparent;
    border: 1px solid #03642D;
    color: #03642D;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 300;
    font-size: 16px;
    cursor: pointer;
}

.gobus-booking-wrapper .step3-trip-details {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #E0E0E0;
}

.gobus-booking-wrapper .step3-detail-title {
    color: #000;
    font-weight: 400;
    font-size: 24px;
    margin: 0 0 15px 0;
}

.gobus-booking-wrapper .step3-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gobus-booking-wrapper .detail-row {
    display: flex;
    flex-direction: column;
}

.gobus-booking-wrapper .detail-row label {
    font-family: Cairo;
    font-weight: 500;
    font-size: 16px;
    color: #1A1919;
    margin-bottom: 8px;
    text-align: right;
}

.gobus-booking-wrapper .detail-value {
    display: flex;
    align-items: center;
    position: relative;
}

.gobus-booking-wrapper .detail-display {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f5f5f5;
    color: #333;
    font-size: 14px;
}

.gobus-booking-wrapper .detail-icon {
    position: absolute;
    left: 12px;
    cursor: pointer;
    font-size: 18px;
}

.gobus-booking-wrapper .step3-buttons {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-top: 30px;
}

/* Icons Container */
.gobus-booking-wrapper .container-icon {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.gobus-booking-wrapper .box-icon {
    background: #FAFAFA;
    width: 25%;
    display: flex;
    gap: 12px;
    padding: 15px 30px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    border: 1px solid #E0E0E0;
    text-align: center;
}

.gobus-booking-wrapper .box-icon-co {
    width: 24px;
    height: 24px;
}

.gobus-booking-wrapper .text-icon {
    font-weight: 500;
    font-size: 24px;
    margin: 0;
}

/* Confirmation */
.gobus-booking-wrapper .confirmation-message {
    display: none;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
}

.gobus-booking-wrapper .confirmation-message.active {
    display: flex;
}

.gobus-booking-wrapper .confirmation-icon {
    background: #E8F5E9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #03642D;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.gobus-booking-wrapper .confirmation-bg-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gobus-booking-wrapper .confirmation-title {
    font-size: 28px;
    font-weight: 700;
    color: #03642D;
    margin: 0 0 12px 0;
}

.gobus-booking-wrapper .confirmation-text {
    font-weight: 400;
    font-size: 18px;
    color: #666;
    margin: 0 0 20px 0;
}

.gobus-booking-wrapper .success-btn {
    background: #03642D;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 32px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background .3s ease;
}

.gobus-booking-wrapper .success-btn:hover {
    background: #024a1f;
}

/* Steps */
.gobus-booking-wrapper .step {
    display: none;
}

.gobus-booking-wrapper .step.active {
    display: block;
}

.gobus-booking-wrapper .step3-dsp {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    justify-content: flex-start;
    line-height: normal;
}

.gobus-booking-wrapper .step3-dsp .step3-detail-title {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.gobus-booking-wrapper .step-cal {
    width: 16px;
    height: 16px;
    background: #03642D;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Animations */
.gobus-booking-wrapper .shake {
    animation: shake .32s;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-6px);
    }

    75% {
        transform: translateX(6px);
    }
}

/* Mobile */
@media (max-width: 1024px) {
    .gobus-booking-wrapper .box-one {
        width: 100%;
    }

    .gobus-booking-wrapper .info-user {
        padding: 15px;
        gap: 25px;
    }

    .gobus-booking-wrapper .info-user-gap {
        gap: 20px;
    }

    .gobus-booking-wrapper .info-user-gap>div {
        width: 100%;
    }

    .gobus-booking-wrapper .button {
        padding: 8px 44px;
        font-size: 14px;
    }

    .gobus-booking-wrapper .cars-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gobus-booking-wrapper .car-card {
        height: 250px;
    }

    .gobus-booking-wrapper .car-text-h3 {
        font-size: 24px;
    }

    .gobus-booking-wrapper .capacity-pill {
        font-size: 16px;
        padding: 10px 20px;
    }


    .gobus-booking-wrapper .capacity-pill .arrow {
        width: 24px;
        height: 24px;
    }

    .gobus-booking-wrapper .step3-container {
        padding: 15px;
    }

    .gobus-booking-wrapper .step3-trip-details {
        padding: 10px;
    }

    .gobus-booking-wrapper .step3-detail-title {
        font-size: 16px;
        font-weight: 600;
    }

    .gobus-booking-wrapper .step3-subtitle {
        font-size: 16px;
    }

    .gobus-booking-wrapper .step3-summary-btn {
        padding: 4px 15px;
        font-size: 14px;
    }

    .gobus-booking-wrapper .container-icon {
        flex-wrap: wrap;
    }

    .gobus-booking-wrapper .box-icon {
        width: calc(50% - 10px);
        padding: 10px;
    }

    .gobus-booking-wrapper .text-icon {
        font-size: 14px;
    }

    .gobus-booking-wrapper .step3-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .gobus-booking-wrapper .container {
        width: 100%;
        padding: 0 15px;
    }

    .gobus-booking-wrapper .car-rental {
        margin: 50px 0;
    }

    .gobus-booking-wrapper .box {
        margin-bottom: 20px;
    }

    .gobus-booking-wrapper .box-one {
        width: 100%;
    }
}