/*main banner css*/

.showcase {
    padding: 3vw 35px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 40px;
}

.irtch {
    border: 2px solid #f4ba8b;
    margin-top: 12px;
    border-radius: 9px;
}

.ordersection {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 45px;
}

.whats img {
    width: 58px;
    vertical-align: top;
}

.grpBooking {
    margin-top: 38px;
}

    .grpBooking .card {
        display: grid;
        grid-auto-flow: column;
        align-items: center;
        background: #FFDFC5;
        color: #555;
        margin: 0;
        gap: 18vw;
        transition: 0.35s;
        padding: 35px 45px;
        border: none;
        border-radius: 21px;
    }

        .grpBooking .card h3 {
            font-weight: 500;
            padding-bottom: 10px;
            font-size: 26px;
            color: #000;
        }

        .grpBooking .card p {
            font-weight: 400;
            font-size: 18px;
            margin: 0px;
            color: #000;
        }

    .grpBooking .btn.material {
        padding: 10px 10px;
        font-size: 18px;
        transition: 0.35s;
        font-weight: 500;
        background: #000000;
        width: 175px;
        color: #fff;
        border-radius: 10px;
    }

.showcase h1 {
    font-size: 35px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    margin-bottom: 0.25em;
}

.showcase p {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.05em;
    position: relative;
    line-height: 1.2;
    color: #ffffff;
}

.showcase h4 {
    font-size: 18px;
    color: #000000;
}
.showcase p.irtcpartner {
    font-size: 18px;
    color: #000000;
    font-weight: 600;
}
.showcase img {
}

.train_input input, .datepicker_part input {
    border: 2px solid #e2e2e2;
    background: #EDEDED;
    padding: 8px 16px;
    border-radius: 7px;
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    width: 100%;
}

.train_input {
    position: relative;
    width: calc(100% - 10px);
}

.selct_station select {
    width: calc(100% - 10px);
    border: 2px solid #e2e2e2;
    background: #EDEDED;
    padding: 8px 16px;
    border-radius: 7px;
    color: #5a5858;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 3px;
}

.board_input_part input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #5a5858;
}

.board_input_part input::-moz-placeholder { /* Firefox 19+ */
    color: #5a5858;
}

.board_input_part input:-ms-input-placeholder { /* IE 10+ */
    color: #5a5858;
}

.board_input_part input:-moz-placeholder { /* Firefox 18- */
    color: #5a5858;
}

.board_input_part input:focus, .selct_station select:focus {
    /*  outline: none;
    box-shadow: none;*/
}

.showcase .btnSearch {
    background: #111111;
    border: none;
    outline: none;
    padding: 8px 19px;
    font-size: 15px;
    color: #ffffff;
    font-weight: 700;
    margin-right: 17px;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

.radio_btn_custom [type="radio"]:checked,
.radio_btn_custom [type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

    .radio_btn_custom [type="radio"]:checked + label,
    .radio_btn_custom [type="radio"]:not(:checked) + label {
        position: relative;
        padding-left: 24px;
        cursor: pointer;
        line-height: 19px;
        display: inline-block;
        color: #000000;
    }

        .radio_btn_custom [type="radio"]:checked + label:before,
        .radio_btn_custom [type="radio"]:not(:checked) + label:before {
            content: '';
            position: absolute;
            left: 0;
            top: 1px;
            width: 18px;
            height: 18px;
            border: 1px solid #fe8525;
            border-radius: 100%;
            background: #fff;
        }

        .radio_btn_custom [type="radio"]:checked + label:after,
        .radio_btn_custom [type="radio"]:not(:checked) + label:after {
            content: '';
            width: 12px;
            height: 12px;
            background: #fe8525;
            position: absolute;
            top: 4px;
            left: 3px;
            border-radius: 100%;
            -webkit-transition: all 0.2s ease;
            transition: all 0.2s ease;
        }

        .radio_btn_custom [type="radio"]:not(:checked) + label:after {
            opacity: 0;
            -webkit-transform: scale(0);
            transform: scale(0);
        }

        .radio_btn_custom [type="radio"]:checked + label:after {
            opacity: 1;
            -webkit-transform: scale(1);
            transform: scale(1);
        }

.inline_radio {
    display: inline-block;
    background: #FFDABC;
    padding: 1px 6px 2px;
    border-radius: 4px;
}

.radio_btn_custom {
    padding-bottom: 12px;
}

.datepicker_part {
    position: relative;
    width: calc(100% - 10px);
}

.calendar-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #5a5858;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
}

.showcase button:hover {
    transform: scale(0.9);
    transition: all 0.3s ease-in-out;
}

.showcase .grpBooking {
    background: #ffcfb2;
}

.traintabs {
    background: #fff;
    border-radius: 35px;
    padding: 35px 35px;
    position: relative;
}

.main_banner {
    position: relative;
}

    .main_banner .WhatsappIcon img {
        width: 55px;
    }

.baner_main_img img {
    padding: 10px;
    position: relative;
}

.orsecl {
    font-size: 27px;
    margin-right: 20px;
}

.ui-autocomplete li {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    font-weight: 600;
    white-space: normal !important;
    word-wrap: break-word;
}

    .ui-autocomplete li:hover {
        background-color: #f0f0f0;
    }

.ui-autocomplete {
    top: 0;
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #fff;
    border: 1px solid #ccc;
    z-index: 9999; /* Ensure it appears above other elements */
    font-family: sans-serif;
    font-size: 15px;
    border-radius: 5px;
    width: 32%;
    max-width: 32vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

    .ui-autocomplete li:last-child {
        border-bottom: none;
    }

@media (max-width:767px) {
    .irctc_icon img {
        width: 52px !important;
    }
    .showcase p.irtcpartner {
        font-size: 17px;
    }
        .ordersection {
        width: 100% !important;
    }
    .ui-autocomplete {
        width: 80% !important; /* Force full width of input */
        max-width: 80vw !important; /* Prevent overflow from viewport */
        box-sizing: border-box;
        overflow-x: hidden;
        z-index: 9999;
        margin: 0 auto;
    }

    /* Optional: Ensure it doesn't go off-screen */
    .ui-autocomplete {
        position: absolute;
        left: 0 !important; /* Reset position if pushed off screen */
        right: 0;
    }

        /* Handle long text in results */
        .ui-autocomplete li {
            white-space: normal !important;
            word-wrap: break-word;
        }

    .inline_radio {
        margin-right: 7px !important;
    }

    .showcase h1 {
        font-size: 29px !important;
    }

    .showcase {
        padding: 3vw 16px !important;
    }

    .traintabs {
        padding: 22px 17px !important;
    }

    .train_input input, .datepicker_part input, .selct_station select {
        font-size: 15px;
    }

    .showcase h4 {
        font-size: 14px;
    }

    .showcase p {
        font-size: 15px;
    }

    .showcase h2 {
        font-size: 19px;
        letter-spacing: 1px;
    }

    .grpBooking .btn.material {
        margin-top: 20px;
    }

    .grpBooking .card {
        display: block;
        padding: 17px 20px;
    }

    .calendar-icon {
        right: 20px;
        top: 49%;
    }

    .train_input, .datepicker_part, .selct_station select {
        width: 100%;
    }

    .showcase img {
        width: 54px;
    }

    .baner_main_img img {
        display: none;
    }
}


/*end css*/
