@font-face {
    font-family: "Pretendard";
    src: url("/resources/fonts/Pretendard-SB.woff") format("woff");
    font-weight: 600;
    font-style: normal;
}

#tab4-content .map-contents-box {
    scrollbar-gutter: stable;
}

.input-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    width: 100%;
    padding-bottom: 10px;
    text-align: center;
}

.overlap-2 {
    display: flex;
    border: 1px solid #cccccc;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.direct-input,
.select-input {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    color: #333333;
    height: 40px;
    line-height: normal;
}

.direct-input.active,
.select-input.active {
    background-color: #ffffff;
    color: #0ca678;
    border: 2px solid #0ca678;
    border-radius: 4px;
    font-weight: 600;
    pointer-events: none;
}

.direct-input:not(.active):hover,
.select-input:not(.active):hover {
    background-color: #f0f0f0;
}

.input-fields {
    display: flex;
    flex-direction: column;
}

.input-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.625rem;
    width: 100%;
}

.input-field-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.input-field-row {
    display: flex;
    width: 100%;
}

.input-field-row select:first-child {
    margin-right: 10px;
}

.input-field-full {
    width: 100%;
    margin-top: 10px;
}

.input-field-label {
    margin-bottom: 5px;
    font-size: 15px;
    color: #333333;
    width: 100%;
    font-weight: 600;
}

.input-group {
    display: flex;
    width: 100%;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #cccccc;
}

.input-text {
    flex: 1;
    padding: 10px;
    font-size: 15px;
    color: #333333;
    outline: none;
    border: none;
    height: 40px;
}

.input-search-btn {
    width: 40px;
    height: 40px;
    background-color: #F6F6F6;
    border-left: 1px solid #cccccc;
    cursor: pointer;
    background-image: url('/resources/img/jeongseon/pathFinder/icon_search.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

.input-search-btn:hover {
    background-color: #e0e0e0;
}

.auto-complete-input {
    flex: 1;
    height: 40px;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #cccccc;
    margin-top: 5px;
    position: relative;
}

.autocomplete-style {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #ccc;
    background-color: #fff;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 9999;
}

.autocomplete-item {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
}

.autocomplete-item:hover {
    background-color: #f0f0f0;
}

.input-select {
    height: 40px;
    flex: 1;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 15px;
    color: #333333;
    background-color: #ffffff;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    line-height: normal;
    display: block;
    width: 100%;
    background-image: url('/resources/img/jeongseon/pathFinder/icon_chevronDown.svg');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.btn-reset {
    padding: 10px 10px;
    color: #333333;
}

.btn-reset,
.btn-search {
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #cccccc;
    background-color: #ffffff;
}

.btn-search {
    padding: 10px 20px;
    background-color: #0ca678;
    color: #ffffff;
    border: none;
}

.btn-reset:hover {
    background-color: #f0f0f0;
}

.btn-search:hover {
    background-color: #088f5a;
}

.search-fail-message {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    font-size: 16px;
    margin: 30px 0 60px 0;
    flex-direction: column;
    line-height: 1.5;
}

.search-results {
    margin-top: 20px;
}

.search-message-container {
    width: 100%;
    height: 3.75rem;
    padding: 10px;
    background-color: #edfdf5;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-message-text {
    font-size: 15px;
    color: #000000;
    line-height: 1.4;
    word-break: keep-all;
    white-space: normal;
    text-align: center;
}

.all-stops-container {
    width: 100%;
    background-color: #ffffff;
    border-radius: 4px;
    margin-top: 20px;
    max-height: 25rem;
}

.all-stops-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: #333333;
    padding-bottom: 10px;
}

.all-stops-count {
    font-weight: 600;
}

.all-stop-item {
    padding: 10px;
    transition: background-color 0.2s ease-in-out;
}

.all-stop-item:hover {
    background-color: #f9f9f9;
    border-radius: 4px;
}

.all-stop-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.route-name.active {
    font-weight: bold;
    color: #0ca678;
    font-size: 16px;
}

.comma {
    margin-right: 6px;
}

.route-number {
    display: flex;
    align-items: center;
}

.text-wrapper-2 {
    font-size: 20px;
    color: #0ca678;
    font-weight: 600;
    margin-right: 0.5rem;
}

.location-name {
    font-size: 16px;
    color: #000000;
}

.route-number-2 {
    display: flex;
}

.route-number-2 button:first-child {
    margin-right: 0.3125rem;
}

.btn-select,
.btn-location {
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    color: #333333;
}

.btn-select:hover,
.btn-location:hover {
    background-color: #e0e0e0;
}

.all-stop-address {
    font-size: 13px;
    color: #888888;
    margin-top: 5px;
    text-decoration: none !important;
}

.route-search-results {
    width: 100%;
    max-width: 24.375rem;
    margin-top: 20px;
    padding: 10px 0;
    text-align: left;
}

.route-search-header {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    padding: 5px 10px;
}

.route-search-divider {
    width: 100%;
    height: 1px;
    background-color: #cccccc;
    margin: 5px 0;
}

.route-card {
    background-color: #ffffff;
    border-radius: 6px;
    padding: 10px;
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
}

.route-card:hover {
    background-color: #F5F5F5;
}

.route-card.active {
    background-color: #E7F6F1;
}

.route-card-divider {
    width: 100%;
    height: 1px;
    background-color: #e3e2e2;
    margin: 5px 0;
}

.route-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    border-radius: 6px;
    transition: background-color 0.2s ease-in-out;
}

.route-time {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
}

.route-buttons {
    display: flex;
}

.route-buttons button:first-child {
    margin-right: 5px;
}

.route-button-preview,
.route-button-info {
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    padding: 6px 12px;
    font-size: 14px;
    transition: background-color 0.2s ease-in-out;
    color: #333333;
}

.route-button-preview:hover,
.route-button-info:hover {
    background-color: #f0f0f0;
}

.route-button-preview.active {
    background-color: #ffffff;
    color: #0ca678;
    border: 2px solid #0ca678;
    border-radius: 4px;
    font-weight: 600;
}

.route-stop-container {
    display: flex;
    flex-direction: column;
    position: relative;
}

.route-divider {
    width: 3px;
    background-color: #0ca678;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50px;
}

.route-stop-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.route-stop-wrapper::before {
    content: "";
    position: absolute;
    width: 3px;
    background-color: #0ca678;
    top: 0;
    bottom: 0;
    height: auto;
    left: 1.5rem;
}

.route-stop-wrapper:first-of-type::before {
    top: 10px;
}

.transfer-stop-icon {
    width: 16px;
    height: 16px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.route-stop-wrapper:first-child::after {
    content: "";
    position: absolute;
    right: 10px;
    width: 12px;
    height: 12px;
    top: 1rem;
    transform: rotate(0deg);
    background-image: url('/resources/img/jeongseon/pathFinder/icon_dropdownArrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease-in-out;
}

.route-card.active .route-stop-wrapper:first-child::after {
    transform: rotate(180deg);
}

.route-stop-wrapper:last-child::before {
    bottom: 50%;
}

.route-stop-extra {
    display: none;
    align-items: center;
    width: 100%;
}

.route-info-text {
    font-size: 14px;
    color: #000000;
    margin-bottom: 10px;
    margin-left: 60px;
}

.transfer-stop-text {
    font-size: 14px;
    display: flex;
    color: #000000;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
    margin-left: 60px;
}

.transfer-stop-name {
    margin-left: 42px;
}

.transfer-stop-text:hover {
    text-decoration: underline;
}

.route-stop-route-info {
    font-size: 14px;
    color: #333333;
    margin-top: 5px;
}

.route-stop-transfer {
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-top: 3px;
}

.route-stop-icon-chevron {
    width: 12px;
    height: 12px;
    margin-left: 3px;
    transition: transform 0.3s ease-in-out;
}

.route-stop-item {
    display: flex;
    align-items: center;
    position: relative;
    padding: 10px 0 5px 10px
}

.route-stop-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 2;
}

.route-stop-icon img {
    width: 100%;
    height: auto;
}

.route-stop-info {
    display: flex;
    margin-left: 10px;
    flex-direction: column;
    align-items: flex-start;
}

.route-stop-details {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.route-stop-name {
    font-size: 15px;
    color: #000000;
}

.route-stop-number {
    font-size: 14px;
    margin-left: 10px;
    color: #888888;
    text-decoration: none !important;
}

.route-stop-divider {
    width: 100%;
    height: 1px;
    background-color: #cccccc;
    margin-top: 10px;
}

.transfer-stop-item {
    display: flex;
    align-items: center;
    position: relative;
    padding: 5px;
    font-size: 12px;
    margin-left: 13px;
}

.bus-route-info-container {
    width: 100%;
}

.bus-route-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.bus-route-title {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
}

.bus-route-info-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333333;
}

.bus-route-tab-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.bus-type {
    font-size: 16px;
}

.tab-buttons {
    display: flex;
}

.bus-route-tab {
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    color: #333333;
    cursor: pointer;
    margin-left: 5px;
}


.bus-route-tab.active {
    background-color: #ffffff;
    color: #0ca678;
    border: 2px solid #0ca678;
    font-weight: 600;
    pointer-events: none;
}

.bus-route-tab:not(.active):hover {
    background-color: #f0f0f0;
}

.bus-route-info-section {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.bus-route-info-section img {
    width: 42px;
    height: 42px;
    margin-right: 10px;
}

.station-info p {
    font-size: 15px;
    margin: 5px 0;
}

.station-info span {
    font-size: 13px;
    color: #888888;
    margin-left: 5px;
}

.bus-route-info-box {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.bus-route-info-box:last-child {
    padding: 5px 0 10px 0;
}

.bus-info-label {
    background-color: #f0f0f0;
    padding: 10px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    color: #555555;
    width: 80px;
    min-width: 80px;
    text-align: center;
}

.separator {
    color: #cccccc;
    font-weight: bold;
}

.bus-info-value {
    font-size: 14px;
    color: #333333;
    margin-left: 10px;
}

.radio-container,
.popup-radio-container {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: 20px;
}

.popup-radio-container {
    margin-top: 0;
}

.route-select-wrapper {
    flex-shrink: 0;
}

.route-select {
    font-size: 13px;
    padding: 4px 30px 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: url('/resources/img/jeongseon/pathFinder/icon_chevronDown.svg') no-repeat right 8px center;
    background-size: 14px 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.radio-buttons {
    display: flex;
}

.radio-buttons label {
    margin-left: 16px;
}

.radio-label,
.popup-radio-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #000000;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    display: none;
}

input[name="popup-time-filter"] {
    display: block!important;
}

.radio-custom,
.popup-radio-custom {
    width: 14px;
    height: 14px;
    border: 1px solid #0ca678;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    margin-right: 5px;
    background-color: #ffffff;
}

.radio-label input[type="radio"]:checked + .radio-custom,
.popup-radio-label input[type="radio"]:checked + .popup-radio-custom {
    background-color: #ffffff;
    border: 2px solid #0ca678;
}

.radio-label input[type="radio"]:checked + .radio-custom::after,
.popup-radio-label input[type="radio"]:checked + .popup-radio-custom::after {
    content: "";
    width: 7px;
    height: 7px;
    background-color: #0ca678;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bus-route-table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 5px;
}

.bus-route-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 14px;
}

.bus-route-table th, .bus-route-table td {
    padding: 8px;
    border-bottom: 1px solid #cccccc;
    font-size: 14px;
}

.bus-route-table th {
    background-color: #f0f0f0;
}

.magnifier-icon {
    width: 16px;
    height: 16px;
    margin-left: 6px;
    cursor: pointer;
    vertical-align: text-bottom;
    transition: transform 0.2s ease;
}

.magnifier-icon:hover {
    transform: scale(1.3);
}

.via-detail-dropdown {
    font-size: 13px;
    color: #555;
    margin-top: 4px;
}

.via-dropdown-row {
    background-color: #F9F9F9;
}

.bus-route-table tr.main-row.open td {
    border-bottom: none !important;
}

.via-dropdown-row td {
    border-top: 1px dashed #ccc !important;
}

.via-dropdown-cell {
    padding: 15px 8px !important;
    font-size: 14px !important;
    color: #383838 !important;
    text-align: left;
    line-height: 1.6;
    white-space: normal;
}

.bus-route-info-text {
    font-size: 12px;
    text-align: right;
    margin: 10px 0 15px 0;
}

/* 스피너 */
.results-spinner-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;  /* 또는 원하는 높이 */
    padding: 40px 0;
    text-align: center;
}

.results-spinner-container > img {
    animation: rotate 1s linear infinite;
}

.results-spinner {
    margin-bottom: 10px;
}

.results-spinner-text {
    margin-top: 10px;
}

/* ============================== */
.station-custom-popup .leaflet-popup-content-wrapper {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.leaflet-popup-content {
    margin: 15px;
    max-width: 300px;
}

.station-info-popup {
    min-width: 282px;
}

.station-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.station-popup-title-group {
    display: flex;
    align-items: center;
}

.station-popup-title-group .station-popup-type {
    margin-right: 10px;
}

.station-popup-type {
    color: #fff;
    font-size: 13px;
    padding: 0 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    height: 28px;
    line-height: 1;
    white-space: nowrap;
}

.station-popup-type.station {
    background-color: #0ca678;
}

.station-popup-type.departure {
    background-color: #49B0F9;
}

.station-popup-type.transfer {
    background-color: #888888;
}

.station-popup-type.arrival {
    background-color: #FF6573;
}

.station-popup-name {
    font-size: 18px;
    color: #191919;
    display: flex;
    align-items: center;
    font-weight: 600;
    white-space: nowrap;
}

.station-popup-close {
    background: none;
    border: none;
    font-size: 25px;
    cursor: pointer;
    line-height: 1;
    color: #191919;
    padding-bottom: 3px;
}

.popup-route-info-box {
    display: flex;
    align-items: center;
}

.popup-route-label {
    background-color: #f0f0f0;
    padding: 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    color: #555555;
    width: 80px;
    text-align: center;
    margin-right: 10px;
    font-family: "Pretendard", sans-serif;
}

.popup-route-values {
    font-size: 14px;
    color: #333333;
    margin-left: 10px;
    line-height: 1.5;
    word-break: break-word;
    white-space: normal;
}

.popup-route-name {
    display: inline-block;
    margin-right: 6px;
    white-space: nowrap;
}

.popup-divider {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
}

.popup-radio-buttons {
    display: flex;
    justify-content: end;
    align-items: center;
    margin: 10px 0 5px 0;
}

.popup-radio-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #000000;
    cursor: pointer;
    margin-left: 16px;
}

.popup-radio-label input[type="radio"] {
    display: none;
}

.popup-radio-custom {
    width: 14px;
    height: 14px;
    border: 1px solid #0ca678;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    margin-right: 5px;
    background-color: #ffffff;
}

.popup-radio-label input[type="radio"]:checked + .popup-radio-custom {
    background-color: #ffffff;
    border: 2px solid #0ca678;
}

.popup-radio-label input[type="radio"]:checked + .popup-radio-custom::after {
    content: "";
    width: 7px;
    height: 7px;
    background-color: #0ca678;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popup-time-table-container {
    width: 100%;
}

.popup-time-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    table-layout: fixed;
}

.popup-time-header-table th {
    background-color: #f0f0f0;
    font-size: 14px;
    padding: 4px 6px;
    border-bottom: 1px solid #ccc;
}

.popup-time-header-table th:last-child {
    padding-right: 6px;
}

.popup-time-body-table td {
    font-size: 14px;
    padding: 4px 6px;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
}

.popup-time-table-body-scroll {
    max-height: 190px;
    overflow-y: auto;
    scrollbar-width: thin; /* Firefox용 */
    scrollbar-color: #ccc transparent; /* Firefox용 */
}

/* Chrome, Edge, Safari 등 WebKit 브라우저용 */
.popup-time-table-body-scroll::-webkit-scrollbar {
    width: 6px;
}

.popup-time-table-body-scroll::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.popup-time-table-body-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.popup-magnifier-icon {
    width: 16px !important;
    height: 16px !important;
    margin-left: 4px;
    vertical-align: text-bottom;
    cursor: pointer;
}

.fare-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.fare-table th, .fare-table td {
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
}

.fare-table th {
    background: #f5f5f5;
}

.time-filter {
    margin-bottom: 10px;
}

.time-filter label {
    margin-right: 15px;
}

.time-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.departure-time {
    font-weight: bold;
    color: #333;
}

.route-number {
    color: #0ca678;
}

.direction {
    color: #666;
    font-size: 0.9em;
}

.time-group {
    line-height: 1.5;
}

.time-group:last-child {
    margin-bottom: 0;
}

.time-group span {
    color: #333;
    font-size: 14px;
    width: 38px;
    margin-right: -3px;
    display: inline-block;
}

.time-group .separator {
    color: #999;
    margin: 0 1px;
    display: inline;
}

.time-table {
    max-height: 300px;
    overflow-y: auto;
}

.bus-route-table > thead {
    position: sticky;
    top: 0;
}

/* 기존 중복된 스타일 제거하고 하나로 통합 */
.popup-radio-buttons {
    display: flex;
    justify-content: flex-end;
}

.popup-radio-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #000000;
    cursor: pointer;
}

.popup-radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.popup-radio-custom {
    width: 14px;
    height: 14px;
    border: 1px solid #0ca678;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    margin-right: 8px;
    background-color: #ffffff;
}

.popup-radio-label input[type="radio"]:checked + .popup-radio-custom {
    border: 2px solid #0ca678;
}

.popup-radio-label input[type="radio"]:checked + .popup-radio-custom::after {
    content: "";
    width: 7px;
    height: 7px;
    background-color: #0ca678;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-text {
    user-select: none;
}

/* 노선 정류소 모달 스타일 */
.route-stations-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 300px;
    height: 346px;
    max-height: 80vh;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.route-stations-header {
    height: 48px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f8f8;
}

.route-stations-title {
    display: flex;
    align-items: center;
    height: 100%;
}

.route-stations-title .route-number {
    font-size: 18px;
    font-weight: 600;
    color: #0ca678;
    margin-right: 8px;
}

.route-stations-title .route-type {
    font-size: 14px;
    color: #666;
    margin-right: 8px;
}

.route-stations-title .route-stations-count {
    font-size: 14px;
    color: #555;
}

.route-stations-title span {
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.route-stations-close {
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #333;
    padding-bottom: 4px;
}

.route-stations-content {
    padding: 0;
    overflow-y: auto;
    max-height: calc(80vh - 60px);
}

.route-stations-list {
    display: flex;
    flex-direction: column;
}

.route-station-item {
    display: flex;
    padding: 6px 15px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.route-station-item:last-child {
    border-bottom: none;
}

.route-station-order {
    width: 30px;
    font-weight: 600;
    color: #555;
}

.route-station-name {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.route-station-id {
    color: #888;
    font-size: 13px;
    margin-left: 10px;
}

.highlighted-station {
    background-color: #e6f8f2;
    border-left: 4px solid #0ca678;
    font-weight: 600;
}

.highlighted-station .route-station-name {
    color: #0ca678;
}
/* ===============================  */


@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


@media (max-width: 1024px) {
    .input-container,
    .route-info-box {
        max-width: 100%;
        margin-top: 1rem;
    }

    .all-stops-container,
    .search-results,
    .bus-route-info-container {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .route-stop-number,
    .all-stop-address {
        text-decoration: none !important;
    }

    .results-spinner-container {
        min-height: 100px;
        padding-top: 10px;
        padding-bottom: 20px;
    }

    .station-popup-type.transfer {
        margin: 0 8px 0 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px), 
       (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
    .time-group {
        display: inline-block;
        margin-right: 5px;
    }
    .time-group::after {
        content: " | ";
        color: #999;
        margin: 0 1px;
        display: inline;
    }
    .time-group:last-child {
        margin-right: 0px;
    }
    .time-group:nth-child(even)::after {
        content: "";
    }
        
}