/* RTCL Trip Search 2.0.0
   Visual reference: supplied JolBolSun trip-search screenshot.
*/

:root {
    --rtcl-ts-blue: #0b63f6;
    --rtcl-ts-blue-2: #0759e8;
    --rtcl-ts-navy: #0e1a3a;
    --rtcl-ts-text: #121826;
    --rtcl-ts-muted: #72798b;
    --rtcl-ts-border: #e5e8ef;
    --rtcl-ts-white: #fff;
}



.rtcl-ts {
    width: 100%;
    max-width: none;
    margin: 0;
    font-family: inherit;
    color: var(--rtcl-ts-text);
	 padding: 45px 60px;
	 background-color: #fff;
  border-radius: 13px;
  margin-top: 35px;
}

.rtcl-ts *, .rtcl-ts *::before, .rtcl-ts *::after { box-sizing: border-box; }

.rtcl-ts button, .rtcl-ts input { font: inherit; }

.rtcl-ts__days .rtcl-ts__day {
    padding: 0 !important;
}

.rtcl-ts__categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.rtcl-ts__category {
    height: 42px;
    border: 1px solid #eef0f5;
    border-radius: 18px;
    background: #fff;
    color: var(--rtcl-ts-text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 16px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(19, 31, 55, .06);
    transition: .2s ease;
}

.rtcl-ts__category:hover {
    background: #0964f7 !important;
    border-color: #9ec5ff !important;
    color: #ffffff !important;
}

.rtcl-ts__category:hover span {
    color: #ffffff !important;
}

.rtcl-ts__category.is-active {
    background: linear-gradient(135deg, var(--rtcl-ts-blue), #1165f0);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(11,99,246,.22);
}

.rtcl-ts__category.is-active:hover {
    background: linear-gradient(135deg, #0a66f8 0%, #075cf0 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 7px 18px rgba(9, 100, 247, .18) !important;
    transform: none !important;
}

.rtcl-ts__category.is-active:hover span {
    color: #ffffff !important;
}

.rtcl-ts__category.is-active:hover
.rtcl-ts__category-icon::before {
    filter: grayscale(1) brightness(0) invert(1) !important;
}

.rtcl-ts__category-icon {
    width: 18px;
    height: 18px;
    position: relative;
    display: inline-block;
    color: currentColor;
}


.rtcl-ts__panel {
    position: relative;
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 20px;
    box-shadow: 0 8px 35px rgba(19, 31, 55, .07);
    overflow: hidden;
    padding-top: 5px;
}

.rtcl-ts__route-field {
    appearance: none;
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 14px 72px 14px 66px;
    min-height: 72px;
    cursor: pointer;
    position: relative;
    color: var(--rtcl-ts-text);
}

.rtcl-ts__route-field:hover .rtcl-ts__field-value { color: var(--rtcl-ts-blue); }

.rtcl-ts__field-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rtcl-ts__field-label {
    color: var(--rtcl-ts-muted);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
}

.rtcl-ts__field-value {
    color: var(--rtcl-ts-text);
    font-size: 19px;
    line-height: 1.2;
    font-weight: 700;
    transition: color .2s;
}

.rtcl-ts__route-dot {
    position: absolute;
    left: 39px;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: var(--rtcl-ts-blue);
    box-shadow: 0 0 0 5px rgba(11,99,246,.08);
}

.rtcl-ts__route-dot--to {
    border-radius: 50% 50% 50% 0;
    transform: translateY(-50%) rotate(-45deg);
}

.rtcl-ts__route-line {
    position: absolute;
    left: 47px;
    top: 48px;
    bottom: 100px;
    border-left: 2px dashed #cbd1dc;
    pointer-events: none;
}

.rtcl-ts__route-field--to {
    border-top: 1px solid #edf0f5;
}

.rtcl-ts__swap {
    position: absolute;
    right: 40px;
    top: 78px;
    z-index: 3;
    width: 68px;
    height: 68px;
    border: 1px solid #edf0f5;
    border-radius: 50%;
    background: #fff;
    color: var(--rtcl-ts-blue);
    box-shadow: 0 5px 20px rgba(20, 31, 55, .08);
    cursor: pointer;
    font-size: 31px;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: .2s ease;
}

.rtcl-ts__swap:hover {  box-shadow: 0 8px 25px rgba(20,31,55,.12); }

@media (min-width: 768px) {

    .rtcl-ts__swap {
        transform: none !important;
    }

    .rtcl-ts__swap span {
        display: inline-block;
        transform: rotate(90deg);
		margin-left: 2px;
    }

    .rtcl-ts__swap:hover {
        transform: none !important;
    }

    .rtcl-ts__swap:hover span {
        color: #ffffff !important;
    }
}
 
 

.rtcl-ts__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 10px 20px 18px;
}

.rtcl-ts__date {
    height: 76px;
    border: 1px solid var(--rtcl-ts-border);
    border-radius: 16px;
    background: #fff;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 11px;
    cursor: pointer;
    color: var(--rtcl-ts-text);
    text-align: left;
}

.rtcl-ts__date .rtcl-ts__field-value { font-size: 16px; font-weight: 600; }

.rtcl-ts__calendar {
    width: 28px;
    height: 25px;
    border: 2px solid var(--rtcl-ts-blue);
    border-radius: 5px;
    position: relative;
    flex: 0 0 auto;
}
.rtcl-ts__calendar::before {
    content: "";
    position: absolute;
    left: -2px; right: -2px; top: 5px;
    border-top: 2px solid var(--rtcl-ts-blue);
}
.rtcl-ts__calendar::after {
    content: "";
    position: absolute;
    width: 4px; height: 7px;
    left: 5px; top: -6px;
    border-left: 2px solid var(--rtcl-ts-blue);
    border-right: 2px solid var(--rtcl-ts-blue);
}

.rtcl-ts__chevron { margin-left: auto; font-size: 24px; color: #8c93a3; }

.rtcl-ts__submit {
    position: relative;
    overflow: hidden;
    transition: none;
}

.rtcl-ts__submit::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #075cf0 0%, #064dcc 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.rtcl-ts__submit:hover::before {
    opacity: 1;
}

.rtcl-ts__submit > * {
    position: relative;
    z-index: 1;
	font-weight: 600;
	font-size: 15px;
}

.rtcl-ts__submit:hover {
    transform: none !important;
    box-shadow: none !important;
}

.rtcl-ts__search-icon {
    width: 27px;
    height: 27px;
    border: 3px solid #fff;
    border-radius: 50%;
    position: relative;
}
.rtcl-ts__search-icon::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 3px;
    background: #fff;
    right: -9px;
    bottom: -5px;
    transform: rotate(48deg);
    border-radius: 2px;
}


/* DESKTOP — route/date/search are kept on one horizontal line. */
@media (min-width: 768px) {
    .rtcl-ts__panel {
        display: grid;
        grid-template-columns: minmax(170px, 1fr) 46px minmax(170px, 1fr) minmax(170px, 1fr) minmax(200px, 1.1fr);
        align-items: center;
        gap: 10px;
        padding: 14px 20px;
        overflow: visible;
    }

    .rtcl-ts__route-field {
        min-height: 76px;
        padding: 12px 18px 12px 58px;
        border: 1px solid var(--rtcl-ts-border);
        border-radius: 16px;
        background: #fff;
    }

    .rtcl-ts__route-field--to {
        border-top: 1px solid var(--rtcl-ts-border);
    }

    .rtcl-ts__route-dot {
        left: 16px;
    }

    .rtcl-ts__route-dot--to {
        left: 15px;
    }

    .rtcl-ts__route-line {
        left: calc(20% + 4px);
        right: calc(60% + 4px);
        top: 50%;
        bottom: auto;
        border-left: 0;
        border-top: 2px dashed #cbd1dc;
        transform: translateY(-50%);
        z-index: 0;
    }

    .rtcl-ts__field-copy,
    .rtcl-ts__route-dot {
        z-index: 1;
    }

    .rtcl-ts__swap {
        position: static;
        width: 58px;
        height: 58px;
        margin: 0;
        font-size: 28px;
        justify-self: center;
        grid-column: 2;
        grid-row: 1;
    }

    .rtcl-ts__route-field--from {
        grid-column: 1;
        grid-row: 1;
    }

    .rtcl-ts__route-field--to {
        grid-column: 3;
        grid-row: 1;
    }

    .rtcl-ts__bottom {
        display: contents;
    }

    .rtcl-ts__date {
        grid-column: 4;
        grid-row: 1;
        width: 100%;
        height: 76px;
        padding: 0 16px;
    }

    .rtcl-ts__submit {
        grid-column: 5;
        grid-row: 1;
        width: 100%;
        height: 76px;
    }
}

/* MODAL */
body.rtcl-ts-modal-open { overflow: hidden; }

.rtcl-ts__modal[hidden] { display: none; }

.rtcl-ts__modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.rtcl-ts__modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 17, 35, .48);
    backdrop-filter: blur(3px);
}

.rtcl-ts__modal-box {
    position: relative;
    width: min(560px, calc(100% - 32px));
    max-height: min(760px, calc(100vh - 64px));
    margin: 32px auto;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 25px 80px rgba(0,0,0,.22);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: rtclTsModalIn .18s ease-out;
}
@keyframes rtclTsModalIn {
    from { opacity: 0; transform: translateY(10px) scale(.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.rtcl-ts__modal-header {
    height: 64px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    border-bottom: 1px solid #eef0f5;
}
.rtcl-ts__modal-header h3 { margin: 0; text-align: center; font-size: 19px; }
.rtcl-ts__modal-back, .rtcl-ts__modal-close {
    border: 0; background: transparent; cursor: pointer; font-size: 28px; color: #7c8392;
}

.rtcl-ts__modal-search { position: relative; padding: 14px 18px 4px; }
.rtcl-ts__modal-search input {
    width: 100%;
    height: 48px;
    border: 1px solid var(--rtcl-ts-border);
    border-radius: 12px;
    outline: none;
    padding: 0 16px 0 44px;
    font-size: 16px;
}
.rtcl-ts__modal-search input:focus { border-color: var(--rtcl-ts-blue); box-shadow: 0 0 0 3px rgba(11,99,246,.1); }
.rtcl-ts__modal-search-icon {
    position: absolute;
    left: 33px; top: 29px;
    width: 16px; height: 16px; border: 2px solid #8c93a3; border-radius: 50%;
}
.rtcl-ts__modal-search-icon::after { content:""; position:absolute; width:7px;height:2px;background:#8c93a3;right:-5px;bottom:-3px;transform:rotate(45deg); }

.rtcl-ts__modal-content {
    overflow: auto;
    padding: 12px 18px 18px;
    min-height: 140px;
}

.rtcl-ts__option {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-bottom: 1px solid #f0f2f6;
    background: #fff;
    display: grid;
    grid-template-columns: 28px 1fr 28px;
    align-items: center;
    gap: 8px;
    text-align: left;
    padding: 0 10px;
    color: var(--rtcl-ts-text);
    cursor: pointer;
    font-size: 16px;
}
.rtcl-ts__option:hover, .rtcl-ts__option.is-selected { background: #f5f8ff; color: var(--rtcl-ts-blue); }
.rtcl-ts__option-check { opacity: 0; font-weight: 800; }
.rtcl-ts__option.is-selected .rtcl-ts__option-check { opacity: 1; }
.rtcl-ts__option-pin {
    width: 16px; height: 16px; border: 2px solid var(--rtcl-ts-blue);
    border-radius: 50% 50% 50% 0; transform: rotate(-45deg); margin-left: 4px;
}
.rtcl-ts__option-pin::after { content:""; width:4px;height:4px;border-radius:50%;background:var(--rtcl-ts-blue);display:block;margin:4px; }
.rtcl-ts__option-category { width: 22px;height:22px;border-radius:6px;background:#eef4ff; }

.rtcl-ts__empty { padding: 40px 10px; text-align:center; color: var(--rtcl-ts-muted); }

.rtcl-ts__modal-footer {
    display:flex; justify-content:flex-end; gap:10px;
    padding:14px 18px; border-top:1px solid #eef0f5;
}
.rtcl-ts__modal-cancel, .rtcl-ts__modal-apply {
    height:44px; padding:0 18px; border-radius:10px; cursor:pointer; font-weight:600;
}
.rtcl-ts__modal-cancel { border:1px solid var(--rtcl-ts-border); background:#fff; }
.rtcl-ts__modal-apply { border:0; background:var(--rtcl-ts-blue); color:#fff; }

/* CALENDAR */
.rtcl-ts__calendar-picker { padding: 4px 0; }
.rtcl-ts__calendar-header { display:grid;grid-template-columns:44px 1fr 44px;align-items:center;margin-bottom:12px; }
.rtcl-ts__calendar-header strong { text-align:center;font-size:18px; }
.rtcl-ts__month-prev,.rtcl-ts__month-next { border:0;background:#f4f6fa;border-radius:10px;width:40px;height:40px;cursor:pointer;font-size:26px;color:#596174; }
.rtcl-ts__weekdays,.rtcl-ts__days { display:grid;grid-template-columns:repeat(7,1fr);gap:4px; }
.rtcl-ts__weekdays span { text-align:center;color:#8b92a2;font-size:12px;padding:7px 0;font-weight:600; }
.rtcl-ts__day { height:42px;border:0;background:#fff;border-radius:9px;cursor:pointer;font-size:14px; }
.rtcl-ts__day:hover { background:#edf4ff;color:var(--rtcl-ts-blue); }
.rtcl-ts__day.is-selected { background:var(--rtcl-ts-blue);color:#fff;font-weight:700; }
.rtcl-ts__day.is-today:not(.is-selected) { box-shadow:inset 0 0 0 1px var(--rtcl-ts-blue);color:var(--rtcl-ts-blue);font-weight:700; }
.rtcl-ts__day.is-empty { cursor:default; }

.rtcl-ts__hidden-form { display:none !important; }
.rtcl-ts__error { padding:16px;background:#fff4f1;border-radius:12px;color:#8b2f1a; }


/* Desktop-first compact sizing. Mobile reference sizing is restored below. */
@media (min-width: 768px) {
    .rtcl-ts__category-icon { width: 28px; height: 28px; }
    .rtcl-ts__icon-car::before,
    .rtcl-ts__icon-people::before,
    .rtcl-ts__icon-truck::before { line-height: 28px; }

    .rtcl-ts__field-label { font-size: 13px; }
    .rtcl-ts__field-value { font-size: 19px; }

    .rtcl-ts__search-icon { width: 23px; height: 23px; }
    .rtcl-ts__submit { font-size: 16px; }
	
	
}

/* MOBILE — composition is intentionally close to the supplied reference */
@media (max-width: 767px) {
    .rtcl-ts {
        width: 100%;
        max-width: 100%;
    }

    .rtcl-ts__categories {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin-bottom: 20px;
    }

    .rtcl-ts__category {
        height: 42px;
        border-radius: 17px;
        gap: 8px;
        padding: 0 8px;
        font-size: 15px;
        line-height: 1.1;
        box-shadow: 0 4px 17px rgba(19,31,55,.06);
        flex-direction: column;
    }

    .rtcl-ts__category-icon {  display:none !important;   width:18px;height:18px; }
    .rtcl-ts__icon-car::before,.rtcl-ts__icon-people::before,.rtcl-ts__icon-truck::before { font-size:18px;line-height:27px; }

    .rtcl-ts__panel {
        border-radius: 24px;
        padding-top: 4px;
    }

    .rtcl-ts__route-field {
        min-height: 82px;
        padding: 17px 65px 17px 82px;
    }

    .rtcl-ts__field-label { font-size: 15px; }
    .rtcl-ts__field-value { font-size: 23px; }

    .rtcl-ts__route-dot { left: 34px; width:18px;height:18px; }
    .rtcl-ts__route-dot--to { width:20px;height:25px;left:33px; }

    .rtcl-ts__route-line { left: 42px; top: 49px; bottom: 99px; }

    .rtcl-ts__swap {
        right: 40px;
        top: 74px;
        width: 68px;
        height: 68px;
        font-size: 31px;
    }

    .rtcl-ts__bottom {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 10px 20px 18px;
    }

    .rtcl-ts__date, .rtcl-ts__submit {
        height: 76px;
        border-radius: 16px;
    }

    .rtcl-ts__date { padding:0 14px;gap:12px; }
    .rtcl-ts__date .rtcl-ts__field-value { font-size: 17px; }
    .rtcl-ts__submit { font-size: 17px; gap:10px; }
    .rtcl-ts__search-icon { width:27px;height:27px; }

    .rtcl-ts__modal-box {
        width: 100%;
        max-height: none;
        height: min(92vh, 760px);
        margin: auto 0 0;
        border-radius: 22px 22px 0 0;
    }

    .rtcl-ts__modal-header { height: 62px; }
    .rtcl-ts__modal-footer { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
}

/* Very small phones */
@media (max-width: 390px) {
    .rtcl-ts__category { font-size: 13px; }
    .rtcl-ts__field-value { font-size: 21px; }
    .rtcl-ts__route-field { padding-left: 74px; }
    .rtcl-ts__route-dot { left:30px; }
    .rtcl-ts__route-dot--to { left:29px; }
/*     .rtcl-ts__route-line { left:38px; } */
    .rtcl-ts__swap { right:28px; width:60px;height:60px; }
    .rtcl-ts__bottom { padding-left:14px;padding-right:14px; }
    .rtcl-ts__date .rtcl-ts__field-value { font-size:15px; }
    .rtcl-ts__submit { font-size:13px; }
}


/* =========================================================
   RTCL Trip Search 2.0.4 — visual polish
   Functional CSS/JS above is intentionally preserved.
   This layer only refines spacing, typography, borders,
   shadows and controls to match the supplied reference.
   ========================================================= */

.rtcl-ts {
    --rtcl-ts-blue: #0964f7;
    --rtcl-ts-blue-2: #075cf0;
    --rtcl-ts-text: #111827;
    --rtcl-ts-muted: #737b8d;
    --rtcl-ts-border: #e6e9ef;
    color: var(--rtcl-ts-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Category tabs */
.rtcl-ts__categories {
    gap: 14px;
    margin-bottom: 22px;
}

.rtcl-ts__category {
    height: 64px;
    min-width: 0;
    border: 1px solid #ff4103;
    border-radius: 16px;
    padding: 0 18px;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: 0 2px 12px rgba(17, 24, 39, .045);
}

.rtcl-ts__category:hover {
    background: #0964f7 !important;
    border-color: #9ec5ff !important;
    color: #ffffff !important;
}

.rtcl-ts__category:hover span {
    color: #ffffff !important;
}

.rtcl-ts__category.is-active {
    background: linear-gradient(135deg, #0a66f8 0%, #075cf0 100%);
    box-shadow: 0 7px 18px rgba(9, 100, 247, .18);
}

.rtcl-ts__category.is-active:hover {
    background: linear-gradient(135deg, #0a66f8 0%, #075cf0 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 7px 18px rgba(9, 100, 247, .18) !important;
    transform: none !important;
}

.rtcl-ts__category.is-active:hover span {
    color: #ffffff !important;
}

.rtcl-ts__category.is-active:hover
.rtcl-ts__category-icon::before {
    filter: grayscale(1) brightness(0) invert(1) !important;
}

/* Main panel */
.rtcl-ts__panel {
    border: 1px solid #0964f6;
    border-radius: 22px;
    box-shadow: 0 5px 25px rgba(17, 24, 39, .055);
}

/* Route fields */
.rtcl-ts__route-field {
    color: #111827;
}

.rtcl-ts__route-field:hover {
    background: #fcfdff;
}

.rtcl-ts__route-field:hover .rtcl-ts__field-value {
    color: #111827;
}

.rtcl-ts__field-copy {
    gap: 4px;
}

.rtcl-ts__field-label {
    color: #7b8292;
    font-size: 13px;
    font-weight: 500;
}

.rtcl-ts__field-label {
  color: #7b8292;
  font-size: 14px;
  font-weight: 500;
}

.rtcl-ts__field-value {
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.rtcl-ts__category span {
  font-weight: 600;
  font-size: 13px;
}

/* Route markers */
.rtcl-ts__route-dot {
    background: #0a66f8;
    box-shadow: 0 0 0 4px rgba(10, 102, 248, .075);
}

.rtcl-ts__route-line {
    border-color: #cfd5df;
}

/* Swap button */
.rtcl-ts__swap {
    width: 52px;
    height: 52px;
    border-color: #edf0f4;
    color: #0863f5;
    box-shadow: 0 3px 14px rgba(17, 24, 39, .07);
    font-size: 22px !important; 
}

.rtcl-ts__swap:hover {
    transform: scale(1.035);
    box-shadow: 0 5px 18px rgba(17, 24, 39, .10);
}

/* Bottom controls */
.rtcl-ts__date {
    height: 64px;
    border-color: #e3e7ee;
    border-radius: 14px;
    padding: 0 16px;
    gap: 12px;
}

.rtcl-ts__date:hover {
    border-color: #d8dde6;
    background: #fcfdff;
}

.rtcl-ts__date .rtcl-ts__field-value {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.rtcl-ts__chevron {
    font-size: 20px;
    color: #8a92a2;
}

.rtcl-ts__calendar {
    width: 25px;
    height: 23px;
    border-width: 2px;
}

.rtcl-ts__submit {
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0a66f8 0%, #075cf0 100%);
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
}

.rtcl-ts__submit:hover {
    transform: translateY(-1px);
}

.rtcl-ts__search-icon {
    width: 18px;
    height: 18px;
    border-width: 2.5px;
}

/* Desktop — compact, clean and full-width */
@media (min-width: 768px) {
    .rtcl-ts__categories {
        grid-template-columns: repeat(4, minmax(0, 1fr));
		width: 50%;
    }

    .rtcl-ts__category {
        height: 50px;
    }

    .rtcl-ts__panel {
        grid-template-columns:
            minmax(170px, 1fr)
            52px
            minmax(170px, 1fr)
            minmax(180px, 1fr)
            minmax(210px, 1.15fr);
        gap: 10px;
        padding: 14px 16px;
    }

    .rtcl-ts__route-field {
        min-height: 64px;
        height: 64px;
        padding: 10px 14px 10px 52px;
        border-radius: 14px;
    }

    .rtcl-ts__route-dot {
        left: 15px;
    }

    .rtcl-ts__route-dot--to {
        left: 14px;
    }

    .rtcl-ts__swap {
        width: 52px;
        height: 52px;
    }

    .rtcl-ts__date,
    .rtcl-ts__submit {
        height: 64px;
    }

    .rtcl-ts__bottom {
        padding: 0;
    }
}

/* Mobile — closer to the supplied reference */
@media (max-width: 767px) {
	
	.rtcl-ts {
	  padding: 0px;
}


    .rtcl-ts__categories {
        gap: 8px;
        margin-bottom: 20px;
		margin-top: 10px;
    }

    .rtcl-ts__category {
        height: 70px;
        border-radius: 12px;
        padding: 0 7px;
        gap: 7px;
        font-size: 13px;
        box-shadow: 0 3px 14px rgba(17, 24, 39, .045);
    }

    .rtcl-ts__panel {
        border-radius: 12px;
        box-shadow: 0 5px 22px rgba(17, 24, 39, .055);
        padding-top: 2px;
		margin-bottom: 22px;
		border: none;
    }

    .rtcl-ts__route-field {
        min-height: 72px; 
        padding: 15px 68px 15px 82px;
    }

    .rtcl-ts__route-field--to {
        border-top-color: #edf0f4;
    }

    .rtcl-ts__field-copy {
        gap: 4px;
    }

    .rtcl-ts__field-label {
        font-size: 14px;
    }

    .rtcl-ts__field-value {
        font-size: 16px;
        letter-spacing: -0.02em;
    }

    .rtcl-ts__route-dot {
        left: 34px;
        width: 17px;
        height: 17px;
    }

/*     .rtcl-ts__route-dot--to {
        left: 33px;
        width: 19px;
        height: 24px;
    } */

    .rtcl-ts__swap {
        right: 39px;
        top: 48px;
        width: 50px;
        height: 50px;
        font-size: 28px;
        box-shadow: 0 4px 16px rgba(17, 24, 39, .075);
    }

    .rtcl-ts__bottom {
        gap: 12px;
        padding: 10px 13px 18px;
    }

    .rtcl-ts__date,
    .rtcl-ts__submit {
        height: 46px;
        border-radius: 15px;
    }

    .rtcl-ts__date {
        padding: 0 14px;
        gap: 11px;
    }

    .rtcl-ts__date .rtcl-ts__field-value {
        font-size: 13px;
    }

    .rtcl-ts__submit {
        font-size: 13px;
        gap: 10px;
    }

    .rtcl-ts__search-icon {
        width: 16px;
        height: 16px;
    }
}

/* Modal polish */
.rtcl-ts__modal-overlay {
    background: rgba(11, 20, 38, .46);
    backdrop-filter: blur(3px);
}

.rtcl-ts__modal-box {
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(10, 20, 40, .20);
}

.rtcl-ts__modal-header {
    height: 62px;
    border-bottom-color: #eef0f4;
}

.rtcl-ts__modal-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.rtcl-ts__modal-search input {
    height: 48px;
    border-radius: 12px;
    font-size: 15px;
}

.rtcl-ts__option {
    min-height: 54px;
    font-size: 15px;
    border-bottom-color: #eef1f5;
}

.rtcl-ts__option:hover,
.rtcl-ts__option.is-selected {
    background: #f4f8ff;
}

@media (max-width: 767px) {
    .rtcl-ts__modal-box {
        border-radius: 22px 22px 0 0;
    }
}


/* DATE: label above, selected date below — same hierarchy as route fields */
.rtcl-ts__date-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

.rtcl-ts__date .rtcl-ts__field-label {
    display: block;
    color: var(--rtcl-ts-muted);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
}

.rtcl-ts__date .rtcl-ts__field-value {
    display: block;
    color: var(--rtcl-ts-text);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
}

@media (max-width: 767px) {
    .rtcl-ts__date-copy {
        gap: 3px;
    }

    .rtcl-ts__date .rtcl-ts__field-label {
        font-size: 12px;
    }

    .rtcl-ts__date .rtcl-ts__field-value {
        font-size: 13px;
    }
}


/* =========================================================
   RTCL Trip Search 2.0.6
   Popup/calendar correction and visual polish.
   JS/search logic intentionally unchanged.
   ========================================================= */

/* Desktop popup: truly centered */
@media (min-width: 768px) {
    .rtcl-ts__modal {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 32px;
    }

    .rtcl-ts__modal-box {
        margin: 0;
        width: min(560px, 100%);
        max-height: calc(100vh - 64px);
    }
}

/* Mobile popup: bottom sheet with a small top breathing space,
   rather than a box stuck to the very top of the viewport. */
@media (max-width: 767px) {
    .rtcl-ts__modal {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding: 12px 0 0;
    }

    .rtcl-ts__modal-box {
        width: 100%;
        height: min(92vh, 760px);
        max-height: calc(100vh - 12px);
        margin: 0;
        border-radius: 24px 24px 0 0;
    }
}

/* Calendar — unselected dates must always have an explicit text color.
   This prevents theme/global button styles from making dates invisible. */
.rtcl-ts__calendar-picker {
    width: 100%;
    color: var(--rtcl-ts-text);
    padding: 8px 0 10px;
}

.rtcl-ts__calendar-header {
    grid-template-columns: 52px 1fr 52px;
    margin-bottom: 18px;
}

.rtcl-ts__calendar-header strong {
    color: #111827;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.rtcl-ts__month-prev,
.rtcl-ts__month-next {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f4f6fa;
    color: #697386;
    font-size: 24px;
}

.rtcl-ts__weekdays {
    margin-bottom: 5px;
}

.rtcl-ts__weekdays span {
    color: #8b93a4;
    font-size: 13px;
    font-weight: 600;
}

.rtcl-ts__days {
    row-gap: 5px;
}

.rtcl-ts__day {
    color: #111827 !important;
    height: 42px;
    min-width: 0;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1;
    font-weight: 500;
    -webkit-appearance: none;
    appearance: none;
}

.rtcl-ts__day:hover {
    color: var(--rtcl-ts-blue) !important;
    background: #edf4ff;
}

.rtcl-ts__day.is-today:not(.is-selected) {
    color: var(--rtcl-ts-blue) !important;
    border-color: var(--rtcl-ts-blue);
    box-shadow: none;
    font-weight: 700;
}

.rtcl-ts__day.is-selected,
.rtcl-ts__day.is-selected:hover {
    color: #fff !important;
    background: var(--rtcl-ts-blue);
    border-color: var(--rtcl-ts-blue);
    font-weight: 700;
}

/* Calendar on mobile: give it more breathing room and keep every date visible. */
@media (max-width: 767px) {
    .rtcl-ts__modal-content {
        padding: 14px 36px 22px;
        min-height: 0;
    }

    .rtcl-ts__calendar-picker {
        padding: 10px 0 20px;
    }

    .rtcl-ts__calendar-header {
        grid-template-columns: 52px 1fr 52px;
        margin-bottom: 20px;
    }

    .rtcl-ts__calendar-header strong {
        font-size: 20px;
    }

    .rtcl-ts__month-prev,
    .rtcl-ts__month-next {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 23px;
    }

    .rtcl-ts__weekdays,
    .rtcl-ts__days {
        gap: 5px;
    }

    .rtcl-ts__weekdays span {
        font-size: 13px;
        padding: 8px 0;
    }

    .rtcl-ts__day {
        height: 46px;
        border-radius: 11px;
        font-size: 16px;
    }
}

/* City popup — match the same clean hierarchy as the calendar. */
.rtcl-ts__modal-content:has(.rtcl-ts__option) {
    padding-top: 12px;
}

.rtcl-ts__option {
    color: #111827;
}

.rtcl-ts__option:hover,
.rtcl-ts__option.is-selected {
    color: var(--rtcl-ts-blue);
    background: #f4f8ff;
}

@media (max-width: 767px) {
    .rtcl-ts__modal-header h3 {
        font-size: 19px;
        font-weight: 700;
        color: #202838;
    }

    .rtcl-ts__modal-search {
        padding: 14px 36px 4px;
    }

    .rtcl-ts__modal-search input {
        height: 48px;
        border-radius: 14px;
        font-size: 15px;
    }

    .rtcl-ts__modal-search-icon {
        left: 51px;
    }

    .rtcl-ts__option {
        min-height: 58px;
        padding: 0 10px;
        font-size: 16px;
        border-bottom: 1px solid #edf0f4;
    }
}


/* 2.0.7 — modal selection is immediate; no footer action buttons. */
.rtcl-ts__modal-footer {
    display: none !important;
}


/* 2.0.9 — city picker: city name + region/country subtitle */
.rtcl-ts__option-copy {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    line-height: 1.15;
}

.rtcl-ts__option-label {
    display: block;
    color: #111827;
    font-size: 16px;
    font-weight: 500;
}

.rtcl-ts__option-region {
    display: block;
    color: #8a92a2;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
}

.rtcl-ts__option.is-selected .rtcl-ts__option-label,
.rtcl-ts__option:hover .rtcl-ts__option-label {
    color: #0964f7;
}

.rtcl-ts__option.is-selected .rtcl-ts__option-region,
.rtcl-ts__option:hover .rtcl-ts__option-region {
    color: #7a8fb2;
}

@media (max-width: 767px) {
    .rtcl-ts__option-copy {
        gap: 4px;
    }

    .rtcl-ts__option-label {
        font-size: 17px;
    }

    .rtcl-ts__option-region {
        font-size: 12px;
    }
}


/* 2.0.10 — grouped city picker */
.rtcl-ts__city-group {
    margin: 0;
    padding: 0;
}

.rtcl-ts__city-group + .rtcl-ts__city-group {
    margin-top: 12px;
}

.rtcl-ts__city-group-title {
    padding: 14px 12px 7px;
    color: #ff4103;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: none;
}

.rtcl-ts__city-group .rtcl-ts__option {
    margin: 0;
}

@media (max-width: 767px) {
    .rtcl-ts__city-group-title {
        padding: 14px 10px 7px;
        font-size: 13px;
    }

    .rtcl-ts__city-group + .rtcl-ts__city-group {
        margin-top: 8px;
    }
}

/* 2.0.12 — stable desktop popup height */
@media (min-width: 768px) {
    .rtcl-ts__modal-box {
        height: 620px;
        min-height: 620px;
        max-height: 620px;
        overflow: hidden;
    }

    .rtcl-ts__modal-content {
        min-height: 0;
        height: calc(100% - 62px);
        overflow-y: auto;
        overflow-x: hidden;
    }
}


/* 2.0.13 — popular cities first + 2.0.9 city/region presentation */
.rtcl-ts__city-group--popular {
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid #eef1f5;
}

.rtcl-ts__city-group--popular .rtcl-ts__city-group-title {
    color: #ff4103;
    font-size: 13px;
}

.rtcl-ts__city-group--popular .rtcl-ts__option {
    background: #fafcff;
}

.rtcl-ts__city-group--popular .rtcl-ts__option:hover {
    background: #f4f8ff;
}

/* =========================================================
   RTCL Trip Search 2.0.14 — trip pattern background
   Desktop: decorative travel/route/car pattern.
   Mobile: background intentionally removed.
   ========================================================= */
@media (min-width: 768px) {
    .rtcl-ts {
            background-image: linear-gradient(rgba(255,255,255,.7),rgba(255,255,255,.7)), url('../images/trip-pattern.png');
        background-repeat: repeat;
        background-size: 455px;
        background-position: center top;
    }
}

@media (max-width: 767px) {
    .rtcl-ts {
        background: transparent !important;
        border-radius: 0;
        margin-top: 0;
    }
}


/* =========================================================
   RTCL TRIP SEARCH 2.0.17
   Desktop: categories and slogan share the top row 50/50.
   Mobile: slogan is hidden.
   ========================================================= */

@media (min-width: 768px) {
    .rtcl-ts {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 14px;
        align-items: stretch;
    }

    /* Left 50% — category buttons */
    .rtcl-ts__categories {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        min-width: 0;
        margin: 0;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    /* Right 50% — non-clickable text/content zone */
    .rtcl-ts-slogan {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        min-width: 0;
        min-height: 50px;

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

        padding: 0 20px;

        border: 1px solid #e6e9ef;
        border-radius: 14px;

        background: #fff;
        color: var(--rtcl-ts-text, #111827);

        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
        text-align: center;

        box-shadow: 0 3px 14px rgba(17, 24, 39, .055);
    }

    /* Search panel goes below both top zones */
    .rtcl-ts__panel {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .rtcl-ts-slogan {
display: none !important;
		width: 100%;
    min-width: 0;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid #e6e9ef;
    border-radius: 14px;
    background: #fff;
    color: var(--rtcl-ts-text, #111827);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 3px 14px rgba(17, 24, 39, .055);
    margin-bottom: 18px;
    }

    .rtcl-ts__categories {
        width: 100%;
    }

    .rtcl-ts__panel {
        width: 100%;
    }
}

/* 2.0.18 — blue hover for modal close and route swap */
.rtcl-ts__modal-header .rtcl-ts__modal-back,
.rtcl-ts__modal-header .rtcl-ts__modal-close {
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
	font-size: 19px !important;
}

.rtcl-ts__modal-header .rtcl-ts__modal-back:hover,
.rtcl-ts__modal-header .rtcl-ts__modal-close:hover {
    background: #0964f7 !important;
    border-color: #0964f7 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}



.rtcl-ts__swap:hover {
    color: #0964f7 !important;
    border-color: #0964f7 !important;
    background: #ffffff !important;
}

.rtcl-ts__swap:hover span {
    color: #0964f7 !important;
}


/* 2.0.19 — custom inline SVG category icons */
.rtcl-ts__category-icon {
    position: relative;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.rtcl-ts__category-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: inherit;
}

.rtcl-ts__icon-people svg { stroke-width: 1.6; }
.rtcl-ts__icon-truck svg { stroke-width: 1.65; }
.rtcl-ts__icon-taxi svg { stroke-width: 1.65; }

.rtcl-ts__taxi-sign {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .02em;
    color: currentColor !important;
    pointer-events: none;
}

.rtcl-ts__category:hover .rtcl-ts__category-icon,
.rtcl-ts__category:hover .rtcl-ts__category-icon svg,
.rtcl-ts__category:hover .rtcl-ts__taxi-sign {
    color: #fff !important;
}

.rtcl-ts__category.is-active:hover .rtcl-ts__category-icon,
.rtcl-ts__category.is-active:hover .rtcl-ts__category-icon svg,
.rtcl-ts__category.is-active:hover .rtcl-ts__taxi-sign {
    color: #fff !important;
    filter: none !important;
}

@media (max-width: 767px) {
    .rtcl-ts__category-icon {
        display: none !important;
    }
}

/* 2.0.20 — custom illustrated category SVGs */
.rtcl-ts__category-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 28px;
    flex: 0 0 30px;
    position: relative;
    color: currentColor;
}

.rtcl-ts__category-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: inherit;
}

.rtcl-ts__icon-people {
    width: 30px;
}

.rtcl-ts__icon-people svg {
    stroke-width: 1.55;
}

.rtcl-ts__icon-car svg {
    stroke-width: 1.65;
}

.rtcl-ts__icon-truck svg {
    stroke-width: 1.65;
}

.rtcl-ts__icon-taxi svg {
    stroke-width: 1.55;
}

.rtcl-ts__category:hover .rtcl-ts__category-icon,
.rtcl-ts__category:hover .rtcl-ts__category-icon svg {
    color: #ffffff !important;
}

.rtcl-ts__category.is-active:hover .rtcl-ts__category-icon,
.rtcl-ts__category.is-active:hover .rtcl-ts__category-icon svg {
    color: #ffffff !important;
    filter: none !important;
}

@media (max-width: 767px) {
    .rtcl-ts__category-icon {
        display: none !important;
    }
}


/* 2.0.21 — supplied category illustrations */
.rtcl-ts__category-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 30px;
    flex: 0 0 34px;
    color: currentColor;
    position: relative;
}

.rtcl-ts__category-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    overflow: visible;
    fill: currentColor;
    color: inherit;
}

.rtcl-ts__icon-car svg,
.rtcl-ts__icon-truck svg {
    width: 34px;
    height: 22px;
}

.rtcl-ts__icon-taxi svg {
    width: 28px;
    height: 28px;
}

.rtcl-ts__icon-people svg {
    width: 22px;
    height: 30px;
}

.rtcl-ts__category:hover .rtcl-ts__category-icon,
.rtcl-ts__category:hover .rtcl-ts__category-icon svg,
.rtcl-ts__category.is-active .rtcl-ts__category-icon,
.rtcl-ts__category.is-active .rtcl-ts__category-icon svg {
    color: #ffffff !important;
}

@media (max-width: 767px) {
    .rtcl-ts__category-icon {
        display: none !important;
    }
}

/* 2.0.22 — supplied category illustrations: slightly heavier line weight */
.rtcl-ts__category-icon svg {
    stroke: currentColor;
    fill: none;
    stroke-linejoin: round;
    stroke-linecap: round;
}
.rtcl-ts__category-icon svg path,
.rtcl-ts__category-icon svg circle,
.rtcl-ts__category-icon svg rect {
    stroke: currentColor;
}

/* 2.0.23 — supplied category SVGs: stronger visual weight */
.rtcl-ts__category-icon svg {
    stroke-width: 20;
}

/* Poputka / car icon is slightly larger than the other category icons. */
.rtcl-ts__icon-car {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
}
.rtcl-ts__icon-car svg {
    width: 100%;
    height: 100%;
}
@media (min-width: 768px) {
    .rtcl-ts__icon-car {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }
}

/* 2.0.24 — category icon sizing and mobile visibility */

/* Desktop: car is intentionally larger; other icons remain compact. */
.rtcl-ts__category-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}

.rtcl-ts__icon-car {
    width: 36px !important;
    height: 36px !important;
    flex-basis: 36px !important;
}

.rtcl-ts__icon-car svg {
    width: 100%;
    height: 100%;
}

/* Mobile: show the same category SVG icons instead of hiding them. */
@media (max-width: 767px) {
    .rtcl-ts__category-icon {
        display: inline-flex !important;
        width: 28px !important;
        height: 28px !important;
        flex: 0 0 28px !important;
    }

    .rtcl-ts__icon-car {
        width: 32px !important;
        height: 32px !important;
        flex-basis: 32px !important;
    }

    .rtcl-ts__category {
        gap: 4px;
    }
}

/* Passenger seats */
.rtcl-trip-seats .blablacar-seat-icons,
.rtcl-trip-seat-manage .blablacar-seat-icons { display:flex; align-items:center; gap:6px; }
.rtcl-trip-seats .blablacar-seat,
.rtcl-trip-seat-manage .blablacar-seat { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; line-height:1; }
.rtcl-trip-seats .blablacar-seat i,
.rtcl-trip-seat-manage .blablacar-seat i { font-size:18px; }
.rtcl-trip-seats .blablacar-seat.free,
.rtcl-trip-seat-manage .blablacar-seat.free { opacity:1; }
.rtcl-trip-seats .blablacar-seat.taken,
.rtcl-trip-seat-manage .blablacar-seat.taken { opacity:.22; }
.rtcl-trip-seat-manage .blablacar-seat { cursor:pointer; border-radius:6px; transition:transform .12s ease, background .12s ease, opacity .12s ease; }
.rtcl-trip-seat-manage .blablacar-seat:hover { transform:translateY(-1px); background:rgba(9,100,247,.08); opacity:1; }
.rtcl-trip-seat-manage.is-saving { opacity:.65; pointer-events:none; }
.blablacar-free-seats { margin-top:4px; font-size:13px; }
.blablacar-free-seats.is-full { opacity:.65; }


/* =========================================================
   RTCL TRIP SEATS — PUBLIC CARD
   Separate class so card styling never affects dashboard.
========================================================= */

.rtcl-trip-seat-public {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.rtcl-trip-seat-public .blablacar-seat-icons {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.rtcl-trip-seat-public .blablacar-seat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    margin: 0;
    padding: 0;
    color: #0964f7;
    line-height: 1;
}

.rtcl-trip-seat-public .blablacar-seat i {
    font-size: 20px;
    line-height: 1;
    color: currentColor;
}


/* =========================================================
   RTCL TRIP SEATS — DRIVER DASHBOARD
========================================================= */

.rtcl-trip-seat-manage {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 8px 0 !important;
    padding: 0 !important;
}

.rtcl-trip-seat-manage__label {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #202020 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 30px !important;
    white-space: nowrap !important;
	padding-bottom: 9px !important;
}

.rtcl-trip-seat-manage .blablacar-seat-icons {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rtcl-trip-seat-manage .blablacar-seat {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #0964f7 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: background-color .15s ease, color .15s ease, transform .15s ease !important;
}

.rtcl-trip-seat-manage .blablacar-seat i {
    display: block !important;
    margin: 0 !important;
    font-size: 21px !important;
    line-height: 1 !important;
    color: currentColor !important;
}

.rtcl-trip-seat-manage .blablacar-seat:hover {
    background: #0964f7 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}

.rtcl-trip-seat-manage .blablacar-seat:hover i {
    color: #fff !important;
}

.rtcl-trip-seat-manage .blablacar-seat-taken {
    color: #b8bec8 !important;
}

.rtcl-trip-seat-manage .blablacar-seat-taken i {
    color: #b8bec8 !important;
}

.rtcl-trip-seat-manage .blablacar-seat-taken:hover,
.rtcl-trip-seat-manage .blablacar-seat-taken:hover i {
    color: #fff !important;
}

.rtcl-trip-seat-manage__status {
    display: inline-flex !important;
    align-items: center !important;
    color: #8a92a2 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 30px !important;
}

.rtcl-trip-seat-manage.is-saving {
    opacity: .55 !important;
    pointer-events: none !important;
}

@media (max-width: 767px) {
    .rtcl-trip-seat-manage {
        gap: 7px !important;
    }

    .rtcl-trip-seat-manage .blablacar-seat {
        width: 28px !important;
        height: 28px !important;
    }

    .rtcl-trip-seat-manage .blablacar-seat i {
        font-size: 20px !important;
    }

    .rtcl-trip-seat-manage__label {
        font-size: 13px !important;
        line-height: 28px !important;
    }
}


/* =========================================================
   RTCL TRIP SEATS 2.0.32
   Public card: static circles, green free / red taken.
   Driver dashboard: same visual style, clickable with hover.
========================================================= */

/* PUBLIC CARD */
.blablacar-seats {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.blablacar-seats .blablacar-seat-icons {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.blablacar-seats .blablacar-seat {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #e8f5e9 !important;
    color: #2e7d32 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    cursor: default !important;
    transition: none !important;
    transform: none !important;
}

.blablacar-seats .blablacar-seat i {
    font-size: 12px !important;
    color: #2e7d32 !important;
    line-height: 1 !important;
}

.blablacar-seats .blablacar-seat-taken {
    background: #f5f5f5 !important;
    color: #ff4103 !important;
}

.blablacar-seats .blablacar-seat-taken i {
    color: #ff4103 !important;
}

.blablacar-seats .blablacar-seat:hover,
.blablacar-seats .blablacar-seat:hover i {
    background: #e8f5e9 !important;
    color: #2e7d32 !important;
    transform: none !important;
}

.blablacar-seats .blablacar-seat-taken:hover,
.blablacar-seats .blablacar-seat-taken:hover i {
    background: #f5f5f5 !important;
    color: #ff4103 !important;
}

.blablacar-seats .blablacar-free-seats {
    font-size: 13px !important;
    color: #1a1a2e !important;
    font-weight: 500 !important;
}

/* =========================================================
   MOBILE — компактные места
========================================================= */

@media (max-width: 767px) {

    .blablacar-seats .blablacar-seat-icons {
        gap: 3px !important;
        flex-wrap: nowrap !important;
    }

    .blablacar-seats .blablacar-seat {
        width: 17px !important;
        height: 28px !important;
        background: transparent !important;
        padding: 0 !important;
    }

    .blablacar-seats .blablacar-seat i {
        font-size: 12px !important;
    }

    .blablacar-seats .blablacar-seat-taken {
        background: transparent !important;
    }

    .blablacar-seats .blablacar-seat:hover,
    .blablacar-seats .blablacar-seat:hover i {
        background: transparent !important;
    }

    .blablacar-seats .blablacar-seat-taken:hover,
    .blablacar-seats .blablacar-seat-taken:hover i {
        background: transparent !important;
    }

}


/* DRIVER DASHBOARD */
.rtcl-trip-seat-manage {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 7px !important;
    margin: 8px 0 !important;
    padding: 0 !important;
}

.rtcl-trip-seat-manage__label {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #202020 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    white-space: nowrap !important;
		padding-bottom: 9px !important;
}

.rtcl-trip-seat-manage .blablacar-seat-icons {
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rtcl-trip-seat-manage .blablacar-seat {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #e8f5e9 !important;
    color: #2e7d32 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: background-color .15s ease, color .15s ease, transform .15s ease !important;
}

.rtcl-trip-seat-manage .blablacar-seat i {
    display: block !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    color: #2e7d32 !important;
}

.rtcl-trip-seat-manage .blablacar-seat:hover {
    background: #2e7d32 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}

.rtcl-trip-seat-manage .blablacar-seat:hover i {
    color: #fff !important;
}

.rtcl-trip-seat-manage .blablacar-seat-taken {
    background: #f5f5f5 !important;
    color: #ff4103 !important;
}

.rtcl-trip-seat-manage .blablacar-seat-taken i {
    color: #ff4103 !important;
}

.rtcl-trip-seat-manage .blablacar-seat-taken:hover {
    background: #ff4103 !important;
    color: #fff !important;
}

.rtcl-trip-seat-manage .blablacar-seat-taken:hover i {
    color: #fff !important;
}

@media (max-width: 767px) {
    .rtcl-trip-seat-manage {
        gap: 6px !important;
    }

    .rtcl-trip-seat-manage .blablacar-seat {
        width: 28px !important;
        height: 28px !important;
    }

    .rtcl-trip-seat-manage .blablacar-seat i {
        font-size: 12px !important;
    }

    .rtcl-trip-seat-manage__label {
        font-size: 13px !important;
    }
}



/* =========================================================
   SEARCH + CLEAR BUTTON
   ========================================================= */
   
   .rtcl-ts__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rtcl-trip-clear-filters {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-left: 8px;
    cursor: pointer;
    border-radius: 15px;
    background: #f5f5f5;
    transition: all .2s ease;
}

.rtcl-trip-clear-filters:hover {
    background: #eeeeee;
}

.rtcl-trip-clear-filters .icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rtcl-trip-clear-filters i {
    font-size: 18px;
}


.rtcl-ts__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.rtcl-ts__actions .rtcl-ts__submit {
    flex: 1 1 auto;
    width: auto;
}

.rtcl-ts__actions .rtcl-trip-clear-filters {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    margin-left: 0;
	border: 1px solid #0964f6;
    color: #0964f6;
}


/* DESKTOP */
@media (min-width: 768px) {

    .rtcl-ts__actions {
        grid-column: 5;
        grid-row: 1;
    }

    .rtcl-ts__actions .rtcl-ts__submit {
        height: 64px;
    }

    .rtcl-ts__actions .rtcl-trip-clear-filters {
        height: 64px;
        width: 56px;
        flex-basis: 56px;
        border-radius: 14px;
		border: 1px solid #0964f6;
    color: #0964f6;
    }
}


@media (max-width: 767px) {
    .rtcl-ts__actions .rtcl-trip-clear-filters {
        display: none !important;
    }
}


/* =========================================================
   CLEAR — нижнее мобильное меню
   Стиль полностью как у остальных .item
   ========================================================= */

.search_bt a.rtcl-trip-clear-filters {
    display: block !important;
    width: 100%;
    height: auto;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: #060005 !important;
    text-decoration: none !important;

    text-align: center;

    cursor: pointer;
}

.search_bt a.rtcl-trip-clear-filters i {
    display: inline-block;
    margin: 0 !important;
    padding: 0 !important;

    font-size: 18px;
    line-height: 1.2;

    color: #060005;
}

.search_bt a.rtcl-trip-clear-filters .parent_span {
    display: block;
    float: left;

    width: 100%;
    margin-top: 0 !important;
    padding: 0 !important;

    text-align: center;
    font-size: 12px;

    color: #5b5f64;

    font-family: 'Lato', sans-serif;
    font-weight: 600;
}

/* Hover — как у обычных ссылок меню */
.search_bt a.rtcl-trip-clear-filters:hover {
    background: transparent !important;
    color: #060005!important;
    transform: none !important;
    box-shadow: none !important;
}

.search_bt a.rtcl-trip-clear-filters:hover i {
    color: #c31b3d;
}

/* ВРАЩЕНИЕ ИКОНКИ CLEAR */
.rtcl-trip-clear-filters:hover i {
    animation: rtcl-clear-rotate 0.5s linear 2;
}

/* Анимация вращения */
@keyframes rtcl-clear-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(180deg);
    }
}


.rtcl-trip-seat-manage__controls {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rtcl-trip-seat-manage__controls .blablacar-seat-icons {
    display: inline-flex !important;
    align-items: center !important;
}

.trip-departed-action {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
}

.trip-departed-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;

    height: 28px !important;
    padding: 0 12px !important;

    border-radius: 14px !important;

    background: #202020 !important;
    color: #fff !important;

    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 28px !important;

    text-decoration: none !important;
    cursor: pointer !important;
}

.trip-departed-button:hover {
    background: #ff4103 !important;
    color: #fff !important;
}

.trip-departed-button i {
    font-size: 11px !important;
    line-height: 1 !important;
}



.rtcl-trip-seat-manage__controls {
    display: inline-flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rtcl-trip-seat-manage__controls .blablacar-seat-icons {
    display: inline-flex !important;
    align-items: center !important;
}

.trip-departed-action {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
}

.trip-departed-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;

    height: 28px !important;
    padding: 0 12px !important;

    border-radius: 14px !important;

    background: #202020 !important;
    color: #fff !important;

    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 28px !important;

    text-decoration: none !important;
    cursor: pointer !important;
}

.trip-departed-button:hover {
    background: #ff4103 !important;
    color: #fff !important;
}

.trip-departed-button i {
    font-size: 11px !important;
    line-height: 1 !important;
}
@media (max-width: 767px) {

    .rtcl-trip-seat-manage__controls {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .rtcl-trip-seat-manage__controls .blablacar-seat-icons {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-wrap: nowrap !important;
    }

    .trip-departed-action {
        display: flex !important;
        width: auto !important;
        margin: 15px 0 0 !important;
    }

    .trip-departed-button {
        flex-shrink: 0 !important;
    }
}