﻿
@font-face {
    font-family: 'GIP';
    src: url('/fonts/GIP/GIP-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.line-graphic {
    font-size: 1.3rem;
    color: #999;
}

    .line-graphic .fa-bus {
        color: #175AA7;
    }

    .line-graphic .fa-location-dot {
        color: #dc3545;
    }

    .line-graphic .border-bottom {
        border-width: 2px !important;
        border-color: #CED4DA;
    }



/*.rounded-4 {
    background-color: #FFFFFF;
    border-radius: 16px !important;
    border: 1px solid #EFF0F6;
    width: 730px;*/
   /* height: 220px;*/
    /*gap: 16px;
}*/

.heroContainer {
    background: url("/Common/Images/imageTicket.png") no-repeat center center;
    padding: 42px 0;
    background-size: cover;
    margin-top: -20px !important;
    font-family: 'GIP' !important;  
}


.ticket-container {
    max-width: 800px;
    margin: auto;
}

.search-bar-form {
    display: flex;
    align-items: center;
    position: relative;
    background: transparent;
    gap: 12px;
}

.search-input {
    height: 48px;
    max-width: 320px;
    font-size: 1.1rem;
    border: 1px solid #EFF0F6;
    background: #F9F9FB;
    color: #898989;
    box-shadow: none;
    outline: none;
    flex: 1 1 0px;
    padding: 0 26px;
    border-radius: 8px;
}

.containSidebar {
    margin-top: 3.9rem;
    gap: 16px;
}

.search-btn {
    height: 48px;
    min-width: 112px;
    background: #175AA7;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    box-shadow: none;
    padding: 0 28px;
    margin-left: 0;
    transition: background 0.18s;
}

    .search-btn:hover, .search-btn:focus {
        background: #226ed7;
        color: #fff;
    }

.swap-btn {
    position: absolute;
    left: calc(25% + 9.6rem);
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: #E8EFF6;
    border: 1px solid #B7CCE4;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #175AA7;
    font-size: 10px;
    /* box-shadow: 0 1.5px 7px rgba(0,0,0,0.12); */
    transition: background 0.14s, box-shadow 0.14s;
    outline: none;
}

    .swap-btn:active, .swap-btn:focus {
        background: #eaf3fc;
        color: #175AA7;
        box-shadow: 0 2px 9px rgba(23,90,167,0.11);
    }

    .swap-btn i {
        pointer-events: none;
    }



.search-input:focus {
    box-shadow: 0 0 0 2px rgba(23,90,167,0.12);
}

#noDataTemplate .fa-calendar-xmark {
    font-size: 48px;
    color: #ced4da;
}

#scheduleResults {
    display: flex;
    flex-direction: column;
    align-items: center; /* center horizontally */
    gap: 24px;
}

.result-card {
    width: 100%;
    max-width: 850px; /* increase from 730px */
    border-radius: 16px;
    border: 1px solid #EFF0F6;
    background: #fff;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}


@media (max-width: 900px) {

    .search-bar-wrapper {
        margin: 0 auto;
    }
    .search-bar-form {
        flex-direction: column;
        gap: 12px;
        background: transparent;
    }

    .swap-btn {
        position: static;
        transform: none;
        margin: 8px 0;
        left: unset;
        top: unset;
    }

    .from-inp, .to-inp, .date-inp, .search-btn {
        border-radius: 8px !important;
        width: 100%;
        min-width: 0;
    }
}
