/* =====================================================
   ROUTE SELECTOR
===================================================== */

.route-selector{

    width:100%;
    max-width:700px;
    margin:0 auto;

}

.route-card{

    background:#fff;
    border-radius:18px;
    box-shadow:0 8px 30px rgba(0,0,0,.08);
    overflow:hidden;

}

/* =========================
   TOP
========================= */

.route-top{

    position:relative;

}

.route-block{

    padding:18px 22px;
    cursor:pointer;
    transition:.2s;

}

.route-block:hover{

    background:#fafafa;

}

.route-title{

    display:flex;
    align-items:center;
    gap:8px;

    font-size:13px;
    color:#8f8f8f;

    margin-bottom:6px;

}

.route-value{

    font-size:18px;
    font-weight:600;
    color:#202020;

}

/* =========================
   Divider
========================= */

.route-line{

    height:1px;
    background:#ececec;

}

/* =========================
   Swap
========================= */

.route-swap{

    position:absolute;

    left:50%;
    top:50%;

    transform:translate(-50%,-50%);

    width:46px;
    height:46px;

    border:none;
    border-radius:50%;

    background:#ff4103;

    color:#fff;

    font-size:18px;

    cursor:pointer;

    box-shadow:0 6px 18px rgba(255,65,3,.30);

    z-index:10;

}

.route-swap:hover{

    transform:translate(-50%,-50%) rotate(180deg);

}

/* =========================
   Footer
========================= */

.route-bottom{

    display:flex;

    border-top:1px solid #ececec;

}

.route-date{

    width:50%;

    height:64px;

    display:flex;
    align-items:center;
    justify-content:center;

    gap:10px;

    cursor:pointer;

    font-weight:600;

}

.route-submit{

    width:50%;

    border:none;

    background:#ff4103;

    color:#fff;

    font-size:16px;
    font-weight:700;

    cursor:pointer;

    transition:.2s;

}

.route-submit:hover{

    background:#e33a00;

}

/* =====================================================
   XBAZ MODAL
   Пока ничего не меняем
===================================================== */

.xbaz-modal[hidden]{

    display:none !important;

}

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

@media(max-width:767px){

.route-card{

    border-radius:14px;

}

.route-block{

    padding:18px;

}

.route-value{

    font-size:17px;

}

.route-swap{

    width:42px;
    height:42px;

}

.route-date{

    height:58px;

}

.route-submit{

    height:58px;

}

}

/* =====================================================
   DESKTOP
===================================================== */

@media(min-width:768px){

.route-selector{

    max-width:720px;

}

}