@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@font-face {
    font-family: 'PT Sans Lurus';
    src: url('PlusJakartaSans-Regular.ttf');
}

body {font-family: 'PT Sans';}
.badge { font-family: 'PT Sans', sans-serif; }
.plus-jakarta-sans { font-family: 'PT Sans', sans-serif;}
.lancip { font-family: 'PT Sans Lurus', sans-serif !important; font-feature-settings: 'ss01' on !important;}
.lurus { font-family: 'PT Sans Lurus', sans-serif !important; font-feature-settings: 'ss02' on !important;}
.lingkar { font-family: 'PT Sans Lurus', sans-serif !important; font-feature-settings: 'ss03' on !important;}
.pt-sans { font-family: 'PT Sans', sans-serif !important; letter-spacing: 0.9px; }

/* Custom transparent popup styling */
.custom-popup-transparent .leaflet-popup-content-wrapper {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.custom-popup-transparent .leaflet-popup-tip {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: none !important;
}

.custom-popup-transparent .leaflet-popup-close-button {
    display: none !important;
}

/* Only disable transitions for background effects, not positioning */
.custom-popup-transparent .leaflet-popup-content-wrapper,
.custom-popup-transparent .leaflet-popup-tip {
    transition: background 0s, backdrop-filter 0s, border 0s !important;
}

/* Dark mode glassmorphism */
[data-theme="dark"] .custom-popup-transparent .leaflet-popup-content-wrapper {
    background: rgba(40, 49, 65, 0.85) !important;
    border: 1px solid rgba(238, 238, 238, 0.15) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .custom-popup-transparent .leaflet-popup-tip {
    background: rgba(40, 49, 65, 0.85) !important;
    border: 1px solid rgba(238, 238, 238, 0.15) !important;
}

/* Dark mode text content styling */
[data-theme="dark"] .custom-popup-transparent .plus-jakarta-sans {
    color: #eee !important;
}

[data-theme="dark"] .custom-popup-transparent .plus-jakarta-sans div {
    color: #eee !important;
}

[data-theme="dark"] .custom-popup-transparent .plus-jakarta-sans span {
    color: #eee !important;
}

/* Specific styling for muted text in dark mode */
[data-theme="dark"] .custom-popup-transparent .text-muted {
    color: rgb(141, 141, 141) !important;
    opacity: 90% !important;
}

/* Platform/type section background in dark mode */
[data-theme="dark"] .custom-popup-transparent div[style*="background: #f8f9fa"] {
    background: rgba(238, 238, 238, 0.1) !important;
    border-left-color: #84AFE0 !important;
}

/* Distance section background in dark mode */
[data-theme="dark"] .custom-popup-transparent div[style*="background: linear-gradient(90deg, #e3f2fd 0%, #f3e5f5 100%)"] {
    background: linear-gradient(90deg, rgba(132, 175, 224, 0.2) 0%, rgba(208, 228, 255, 0.2) 100%) !important;
    border-left-color: #84AFE0 !important;
}

/* Override inline color styles in dark mode */
[data-theme="dark"] .custom-popup-transparent div[style*="color: #495057"] {
    color: #eee !important;
}

[data-theme="dark"] .custom-popup-transparent div[style*="color: #1976d2"] {
    color: #84AFE0 !important;
}

/* Force all popup content to follow dark mode */
[data-theme="dark"] .custom-popup-transparent * {
    color: #eee !important;
}

/* Specific overrides for colored elements */
[data-theme="dark"] .custom-popup-transparent div[style*="color: white"] {
    color: white !important;
}

.bg-2 { background-color:#264697 !important; }
.bg-2a { background-color:#4FA8DE !important; }
.bg-7F { background-color:#ff326b !important; }
.title { font-size: 2rem; font-weight: bold; margin-top: 1rem; }
.rounded-input { border-radius: 1rem; padding: 0.75rem 1.25rem; }
.section-box { padding: 1.5rem; border-radius: 1.5rem; box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); margin-bottom: 2rem; }
.form-label { font-weight: 700; }
#map { height: 400px; border-radius: 1.5rem; }
.leaflet-control-livelocation {
background: #fff;
border-radius: 6px;
box-shadow: 0 2px 6px #0002;
padding: 0;
margin: 8px 0 0 8px;
cursor: pointer;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.leaflet-control-livelocation.active {
background: #22c55e !important; /* hijau */
color: #fff !important;
border: 1.5px solid #16a34a;
}
.leaflet-control-livelocation.disabled {
background: #ef4444 !important; /* merah */
color: #fff !important;
border: 1.5px solid #b91c1c;
}
.leaflet-control-livelocation:hover {
background: #e6f0ff;
}
.badge-koridor-interaktif {
    font-size: 0.95rem;
    padding: 0.45em 0.85em;
    line-height: 1.15;
}

.badge-koridor-interaktif:hover {
    box-shadow: 0 0 0 2px #26469744;
    transform: scale(1.08);
    filter: brightness(1.1);
}

.badge.bg-2a[onclick], .badge.bg-7F[onclick] { transition: box-shadow 0.2s, transform 0.2s; }
.badge.bg-2a[onclick]:hover, .badge.bg-7F[onclick]:hover { box-shadow: 0 0 0 2px #26469744; transform: scale(1.08); filter: brightness(1.1); }

body.dark-mode .leaflet-popup-content-wrapper, body.dark-mode .leaflet-popup-tip {
    background: rgba(35,42,54,0.92) !important;
    color: #f4f6fa !important;
}
.text-slider-container {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 2.2em;
  position: relative;
}
.text-slider-inner {
  display: inline-block;
  white-space: nowrap;
  transition: transform 0.5s cubic-bezier(.77,0,.18,1);
  will-change: transform;
  font-size: 2em;
  font-weight: bold;
}
.leaflet-control-neareststops {
background: #22c55e !important;
color: #fff !important;
border-radius: 6px;
box-shadow: 0 2px 6px #0002;
padding: 0;
margin: 8px 0 0 8px;
cursor: pointer;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border: 1.5px solid #16a34a;
}
.leaflet-control-neareststops:hover {
background: #16a34a !important;
}
.leaflet-control-resetmap {
background: #f59e42 !important;
color: #fff !important;
border-radius: 6px;
box-shadow: 0 2px 6px #0002;
padding: 0;
margin: 8px 0 0 8px;
cursor: pointer;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border: 1.5px solid #ea580c;
}
.leaflet-control-resetmap:hover {
background: #ea580c !important;
}

/* Progress Bar Styling */
.loading-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
opacity: 0;
transition: opacity 0.3s ease;
}

.loading-modal.show {
opacity: 1;
}

.loading-content {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-radius: 20px;
padding: 40px;
text-align: center;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.2);
max-width: 400px;
width: 90%;
transform: scale(0.8);
transition: transform 0.3s ease;
font-family: 'PT Sans', sans-serif;
}

.loading-modal.show .loading-content {
transform: scale(1);
}

.loading-spinner {
margin-bottom: 20px;
}

.spinner {
width: 60px;
height: 60px;
border: 4px solid rgba(38, 70, 151, 0.1);
border-top: 4px solid #264697;
border-radius: 50%;
animation: spin 1s linear infinite;
margin: 0 auto;
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

.progress {
background-color: rgba(38, 70, 151, 0.1);
box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
border-radius: 10px;
overflow: hidden;
}

.progress-bar {
transition: width 0.5s ease;
box-shadow: 0 2px 4px rgba(38, 70, 151, 0.3);
border-radius: 10px;
}

/* Dark mode support */
[data-theme="dark"] .loading-content {
background: rgba(40, 49, 65, 0.95);
border: 1px solid rgba(255, 255, 255, 0.1);
color: #fff;
}

[data-theme="dark"] .loading-content h4,
[data-theme="dark"] .loading-content span {
color: #fff !important;
}

[data-theme="dark"] .progress {
background-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .spinner {
border-color: rgba(255, 255, 255, 0.1);
border-top-color: #4FA8DE;
}

[data-theme="dark"] .forecast-temp {
color: #4FA8DE;
}

/* Service Info Styling */
.service-info-container {
background: rgba(255, 255, 255, 0.9);
border-radius: 20px;
padding: 30px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.3);
backdrop-filter: blur(10px);
margin-bottom: 25px;
width: 100%;
max-width: 100%;
box-sizing: border-box;
margin-left: 0;
margin-right: 0;
}

.route-badge-container {
display: inline-block;
text-align: center;
margin-bottom: 20px;
width: 100%;
}

.route-badge-subtitle {
font-size: 0.8rem;
color: #666;
margin-top: 5px;
font-family: 'PT Sans', sans-serif;
}

.route-jurusan {
color: #264697;
margin: 0;
line-height: 1.3;
font-size: 1.1rem;
}

.service-details {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
gap: 20px;
margin-top: 25px;
width: 100%;
max-width: 100%;
box-sizing: border-box;
}

.info-item {
display: flex;
align-items: center;
gap: 15px;
padding: 20px;
background: rgba(255, 255, 255, 0.7);
border-radius: 15px;
border: 1px solid rgba(38, 70, 151, 0.1);
transition: all 0.3s ease;
min-height: 80px;
}

/* Ensure perfect alignment */
.info-item > * {
display: flex;
align-items: center;
}

.info-item:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(38, 70, 151, 0.15);
border-color: rgba(38, 70, 151, 0.2);
}

.info-icon {
flex-shrink: 0;
width: 45px;
height: 45px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(38, 70, 151, 0.1);
border-radius: 12px;
font-size: 1.3rem;
position: relative;
}

/* Ensure proper alignment for iconify icons */
.info-icon iconify-icon {
display: flex !important;
align-items: center !important;
justify-content: center !important;
width: 100% !important;
height: 100% !important;
position: absolute !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
}

/* Force vertical alignment for info items */
.info-item {
align-items: center !important;
}

.info-icon {
align-self: center;
flex-shrink: 0;
}

.info-content {
align-self: center;
flex: 1;
}

/* Route info styling improvements */
.route-jurusan-container {
margin-bottom: 0.5rem;
}

.route-jurusan {
color: #3b82f6;
}

.route-via-info {
font-family: 'PT Sans', sans-serif;
letter-spacing: 0.3px;
color: #6b7280;
}

/* Dark mode support untuk route info */
[data-theme="dark"] .route-jurusan {
color: white;
}

[data-theme="dark"] .route-via-info {
color: white;
}

.service-type-container {
margin-top: 0.5rem;
}

/* Additional fixes for icon alignment */
.info-icon iconify-icon {
vertical-align: middle;
line-height: 1;
}

.info-label {
line-height: 1.2;
margin-bottom: 8px;
}

.info-value {
line-height: 1.4;
}



.info-content {
flex: 1;
min-width: 0;
padding-right: 10px;
display: flex;
flex-direction: column;
justify-content: center;
}

.info-label {
font-size: 0.9rem;
color: #666;
font-weight: 400;
margin-bottom: 6px;
font-family: 'PT Sans', sans-serif;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.info-value {
font-size: 1.1rem;
color: #264697;
font-weight: 700;
font-family: 'PT Sans', sans-serif;
line-height: 1.5;
word-wrap: break-word;
}

.info-value a {
color: #4FA8DE;
text-decoration: none;
margin-left: 5px;
}

.info-value a:hover {
color: #264697;
}

/* Dark mode support untuk service info */
[data-theme="dark"] .service-info-container {
background: rgba(40, 49, 65, 0.9);
border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .route-badge-subtitle {
color: #adb5bd;
}

[data-theme="dark"] .route-jurusan {
color: #4FA8DE;
}

[data-theme="dark"] .info-item {
background: rgba(40, 49, 65, 0.7);
border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .info-item:hover {
border-color: rgba(79, 168, 222, 0.2);
box-shadow: 0 4px 15px rgba(79, 168, 222, 0.15);
}

[data-theme="dark"] .info-icon {
background: rgba(79, 168, 222, 0.1);
}

[data-theme="dark"] .info-label {
color: #adb5bd;
}

[data-theme="dark"] .info-value {
color: #4FA8DE;
}

[data-theme="dark"] .info-value a {
color: #87CEEB;
}

[data-theme="dark"] .info-value a:hover {
color: #4FA8DE;
}

/* Responsive design untuk service info */
@media (max-width: 1200px) {
.service-details {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 18px;
}

.service-info-container {
    padding: 25px;
}
}

@media (max-width: 768px) {
.service-details {
    grid-template-columns: 1fr;
    gap: 15px;
}

.service-info-container {
    padding: 20px;
}

.info-item {
    padding: 18px;
    min-height: 70px;
}

.info-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
}

.info-label {
    font-size: 0.85rem;
}

.info-value {
    font-size: 1rem;
}

.route-jurusan {
    font-size: 1rem;
}
}

@media (max-width: 480px) {
.service-info-container {
    padding: 15px;
}

.info-item {
    padding: 15px;
    gap: 12px;
}

.info-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
}

.info-label {
    font-size: 0.8rem;
}

.info-value {
    font-size: 0.9rem;
}
}

/* Stops List Styling */
.stops-list {
list-style: none;
padding: 0;
margin: 0;
border-radius: 15px;
background: rgba(255, 255, 255, 0.8);
border: 1px solid rgba(255, 255, 255, 0.3);
}

.stop-item {
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
padding: 0;
}

.stop-item:last-child {
border-bottom: none;
}

.stop-item:hover {
background: rgba(38, 70, 151, 0.05);
transform: translateX(5px);
}

.stop-item.highlighted {
background: rgba(255, 193, 7, 0.2);
border-left: 4px solid #ffc107;
animation: highlightPulse 2s ease-in-out;
}

@keyframes highlightPulse {
0% { background: rgba(255, 193, 7, 0.2); }
50% { background: rgba(255, 193, 7, 0.4); }
100% { background: rgba(255, 193, 7, 0.2); }
}

.stop-container {
padding: 20px;
display: flex;
flex-direction: column;
gap: 12px;
}

.stop-header {
display: flex;
align-items: center;
gap: 15px;
position: relative;
}

.stop-number {
background: linear-gradient(135deg, #264697, #4FA8DE);
color: white;
width: 35px;
height: 35px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 0.9rem;
font-family: 'PT Sans', sans-serif;
flex-shrink: 0;
box-shadow: 0 2px 8px rgba(38, 70, 151, 0.3);
}

.stop-name {
font-size: 1.1rem;
font-weight: 700;
color: #264697;
flex: 1;
font-family: 'PT Sans', sans-serif;
line-height: 1.3;
}

.coord-link {
color: #d9534f;
text-decoration: none;
font-size: 1.2rem;
transition: all 0.3s ease;
padding: 8px;
border-radius: 8px;
background: rgba(217, 83, 79, 0.1);
}

.coord-link:hover {
color: #c9302c;
background: rgba(217, 83, 79, 0.2);
transform: scale(1.1);
}

.stop-type-badge {
display: inline-block;
padding: 6px 12px;
border-radius: 20px;
font-size: 0.8rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
font-family: 'PT Sans', sans-serif;
}

.stop-type-badge.feeder {
background: rgba(250, 204, 21, 0.2);
color: #d97706;
border: 1px solid rgba(250, 204, 21, 0.3);
}

.stop-type-badge.platform {
background: rgba(107, 114, 128, 0.2);
color: #4b5563;
border: 1px solid rgba(107, 114, 128, 0.3);
}

.stop-type-badge.access {
background: rgba(56, 189, 248, 0.2);
color: #0284c7;
border: 1px solid rgba(56, 189, 248, 0.3);
}

.stop-type-badge.corridor {
background: rgba(38, 70, 151, 0.2);
color: #264697;
border: 1px solid rgba(38, 70, 151, 0.3);
}

.other-routes {
display: flex;
flex-direction: column;
gap: 8px;
}

.other-routes-label {
font-size: 0.85rem;
color: #666;
font-weight: 400;
font-family: 'PT Sans', sans-serif;
}

.other-routes-badges {
display: flex;
flex-wrap: wrap;
gap: 6px;
}

.route-badge {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 4px 8px;
border-radius: 12px;
font-size: 0.75rem;
font-weight: 700;
color: white;
cursor: pointer;
transition: all 0.3s ease;
font-family: 'PT Sans', sans-serif;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
min-height: 20px;
min-width: 30px;
}

.route-badge:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Direction Tabs Styling */
.direction-tabs {
display: flex;
gap: 10px;
margin-bottom: 20px;
padding: 0 10px;
}

.direction-tab {
padding: 10px 20px;
border: 2px solid rgba(38, 70, 151, 0.2);
border-radius: 25px;
background: rgba(255, 255, 255, 0.8);
color: #264697;
font-weight: 700;
cursor: pointer;
transition: all 0.3s ease;
font-family: 'PT Sans', sans-serif;
}

.direction-tab:hover {
background: rgba(38, 70, 151, 0.1);
border-color: rgba(38, 70, 151, 0.4);
}

.direction-tab.active {
background: linear-gradient(135deg, #264697, #4FA8DE);
color: white;
border-color: #264697;
box-shadow: 0 4px 15px rgba(38, 70, 151, 0.3);
}

/* Dark mode support untuk stops */
[data-theme="dark"] .stops-list {
background: rgba(40, 49, 65, 0.8);
border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .stop-item {
border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .stop-item:hover {
background: rgba(79, 168, 222, 0.1);
}

[data-theme="dark"] .stop-name {
color: #4FA8DE;
}

[data-theme="dark"] .coord-link {
background: rgba(217, 83, 79, 0.2);
}

[data-theme="dark"] .coord-link:hover {
background: rgba(217, 83, 79, 0.3);
}

[data-theme="dark"] .other-routes-label {
color: #adb5bd;
}

[data-theme="dark"] .direction-tab {
background: rgba(40, 49, 65, 0.8);
border-color: rgba(255, 255, 255, 0.2);
color: #4FA8DE;
}

[data-theme="dark"] .direction-tab:hover {
background: rgba(79, 168, 222, 0.1);
border-color: rgba(79, 168, 222, 0.3);
}

[data-theme="dark"] .direction-tab.active {
background: linear-gradient(135deg, #4FA8DE, #87CEEB);
color: white;
border-color: #4FA8DE;
}

/* Responsive design untuk stops */
@media (max-width: 768px) {
.stop-container {
    padding: 15px;
}

.stop-header {
    gap: 10px;
}

.stop-number {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
}

.stop-name {
    font-size: 1rem;
}

.direction-tabs {
    flex-direction: column;
    gap: 8px;
}

.direction-tab {
    text-align: center;
}
}

/* Modern Header Styling */
.modern-header {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 80px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.header-content {
    width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    transition: transform 0.2s ease;
}

.jakarta-logo {
    transition: transform 0.2s ease;
    margin-left: 15px;
}

.jakarta-logo:hover {
    transform: scale(1.05);
}

.brand-title {
    content: url('image/jakmove.png');
    width: 100px;
}

.brand-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-weight: 400;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.live-clock-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(38, 70, 151, 0.1);
    padding: 10px 15px;
    border-radius: 25px;
    border: 1px solid rgba(38, 70, 151, 0.2);
    transition: all 0.2s ease;
}

.live-clock-container:hover {
    background: rgba(38, 70, 151, 0.15);
}

.clock-icon {
    font-size: 1.2rem;
    color: #264697;
}

.weather-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(38, 70, 151, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid rgba(38, 70, 151, 0.2);
    transition: all 0.2s ease;
}

.weather-container:hover {
    background: rgba(38, 70, 151, 0.15);
}

.weather-icon {
    font-size: 1.2rem;
    color: #264697;
}

.weather-info {
    font-size: 0.9rem;
    color: #264697;
    font-weight: 700;
    font-family: 'PT Sans', sans-serif;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(76, 175, 80, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid rgba(76, 175, 80, 0.2);
    transition: all 0.2s ease;
}

.status-indicator:hover {
    background: rgba(76, 175, 80, 0.15);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
}

.status-text {
    font-size: 0.8rem;
    color: #4CAF50;
    font-weight: 700;
}

.announcement-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 193, 7, 0.1);
    padding: 12px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.announcement-icon {
    font-size: 1.1rem;
    color: #FFC107;
    flex-shrink: 0;
}

.announcement-text {
    font-size: 0.85rem;
    color: #856404;
    margin: 0;
}

/* Dark mode support untuk header */
[data-theme="dark"] .modern-header {
    background: rgba(33, 37, 41, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .jakarta-logo {
    filter: brightness(0) invert(1);
}

[data-theme="dark"] .jakarta-logo:hover {
    filter: brightness(0) invert(1) brightness(1.1);
}

[data-theme="dark"] .brand-title {
    content: url('image/1754023013519.png')
}

[data-theme="dark"] .brand-subtitle {
    color: #adb5bd;
}

[data-theme="dark"] .live-clock-container {
    background: rgba(79, 168, 222, 0.1);
    border-color: rgba(79, 168, 222, 0.2);
}

[data-theme="dark"] .live-clock-container:hover {
    background: rgba(79, 168, 222, 0.15);
}

[data-theme="dark"] .clock-icon {
    color: #4FA8DE;
}

[data-theme="dark"] .weather-container {
    background: rgba(79, 168, 222, 0.1);
    border-color: rgba(79, 168, 222, 0.2);
}

[data-theme="dark"] .weather-container:hover {
    background: rgba(79, 168, 222, 0.15);
}

[data-theme="dark"] .weather-icon {
    color: #4FA8DE;
}

[data-theme="dark"] .weather-info {
    color: #4FA8DE;
}

[data-theme="dark"] .status-indicator {
    background: rgba(79, 168, 222, 0.1);
    border-color: rgba(79, 168, 222, 0.2);
}

[data-theme="dark"] .status-indicator:hover {
    background: rgba(79, 168, 222, 0.15);
}

[data-theme="dark"] .status-dot {
    background: #4FA8DE;
}

[data-theme="dark"] .status-text {
    color: #4FA8DE;
}

[data-theme="dark"] .announcement-bar {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.2);
}

[data-theme="dark"] .announcement-text {
    color: #FFC107;
}

/* Main Content Styling */
.main-content {
width: 100%;
margin: 0 auto;
padding: 0 15px;
box-sizing: border-box;
}

.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding: 25px 25px 0 25px;
}

.section-title {
font-size: 1.5rem;
color: #264697;
margin: 0;
display: flex;
align-items: center;
gap: 10px;
}

.section-title iconify-icon {
font-size: 1.8rem;
color: #4FA8DE;
}

.section-actions {
display: flex;
gap: 10px;
}

.action-btn {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
border: none;
border-radius: 25px;
font-weight: 700;
font-size: 0.9rem;
transition: all 0.3s ease;
cursor: pointer;
font-family: 'PT Sans', sans-serif;
}

.action-btn.primary {
background: linear-gradient(135deg, #264697, #4FA8DE);
color: white;
box-shadow: 0 4px 15px rgba(38, 70, 151, 0.3);
}

.action-btn.primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(38, 70, 151, 0.4);
}

.action-btn.danger {
background: linear-gradient(135deg, #dc3545, #ff6b6b);
color: white;
box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.action-btn.danger:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* Map Section */
.map-section {
background: rgba(255, 255, 255, 0.9);
border-radius: 20px;
padding: 25px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.3);
backdrop-filter: blur(10px);
}

.map-container {
border-radius: 15px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.interactive-map {
height: 400px;
width: 100%;
border-radius: 15px;
}

/* Search Section */
.search-section {
background: rgba(255, 255, 255, 0.9);
border-radius: 20px;
padding: 25px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.3);
backdrop-filter: blur(10px);
}

.search-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-bottom: 15px;
}

.search-input-group {
position: relative;
display: flex;
align-items: center;
}

.search-icon {
position: absolute;
left: 15px;
font-size: 1.2rem;
color: #264697;
z-index: 2;
}

.modern-select,
.modern-input {
width: 100%;
padding: 15px 15px 15px 45px;
border: 2px solid rgba(38, 70, 151, 0.1);
border-radius: 15px;
font-size: 1rem;
font-family: 'PT Sans', sans-serif;
background: rgba(255, 255, 255, 0.8);
transition: all 0.3s ease;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.modern-select:focus,
.modern-input:focus {
outline: none;
border-color: #4FA8DE;
box-shadow: 0 4px 20px rgba(79, 168, 222, 0.2);
transform: translateY(-2px);
}

.search-results {
margin-top: 15px;
}

/* Stops Section */
.stops-section {
background: rgba(255, 255, 255, 0.9);
border-radius: 20px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.3);
backdrop-filter: blur(10px);
overflow: hidden;
}

/* Service info container khusus untuk full width */
.stops-section .service-info-container {
padding: 30px;
margin: 0;
border-radius: 0;
background: rgba(255, 255, 255, 0.95);
border-bottom: 1px solid rgba(38, 70, 151, 0.1);
}

/* Stops content dengan padding */
.stops-content {
padding: 25px;
}

.direction-tabs {
margin-bottom: 20px;
}

.stops-container {
max-height: 600px;
overflow-y: auto;
border-radius: 15px;
background: rgba(255, 255, 255, 0.8);
border: 1px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Custom scrollbar untuk stops-container */
.stops-container::-webkit-scrollbar {
width: 8px;
}

.stops-container::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.05);
border-radius: 10px;
}

.stops-container::-webkit-scrollbar-thumb {
background: rgba(38, 70, 151, 0.3);
border-radius: 10px;
transition: background 0.3s ease;
}

.stops-container::-webkit-scrollbar-thumb:hover {
background: rgba(38, 70, 151, 0.5);
}

/* Firefox scrollbar */
.stops-container {
scrollbar-width: thin;
scrollbar-color: rgba(38, 70, 151, 0.3) rgba(0, 0, 0, 0.05);
}

/* Dark mode support untuk main content */
[data-theme="dark"] .section-title {
color: #4FA8DE;
}

[data-theme="dark"] .map-section,
[data-theme="dark"] .search-section,
[data-theme="dark"] .stops-section {
background: rgba(40, 49, 65, 0.9);
border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .stops-section .service-info-container {
background: rgba(40, 49, 65, 0.95);
border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .stops-content {
background: rgba(40, 49, 65, 0.9);
}

[data-theme="dark"] .modern-select,
[data-theme="dark"] .modern-input {
background: rgba(40, 49, 65, 0.8);
border-color: rgba(255, 255, 255, 0.1);
color: #fff;
}

[data-theme="dark"] .modern-select:focus,
[data-theme="dark"] .modern-input:focus {
border-color: #4FA8DE;
}

[data-theme="dark"] .stops-container {
background: rgba(40, 49, 65, 0.5);
border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .stops-container::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .stops-container::-webkit-scrollbar-thumb {
background: rgba(79, 168, 222, 0.3);
}

[data-theme="dark"] .stops-container::-webkit-scrollbar-thumb:hover {
background: rgba(79, 168, 222, 0.5);
}

[data-theme="dark"] .stops-container {
scrollbar-color: rgba(79, 168, 222, 0.3) rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 1400px) {
.main-content {
    padding: 0 20px;
}
}

@media (max-width: 768px) {
.main-content {
    padding: 0 15px;
}

.header-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.header-info {
    justify-content: center;
}

.weather-container {
    padding: 8px 12px;
}

.weather-info {
    font-size: 0.8rem;
}

.weather-icon {
    font-size: 1.2rem;
}

.search-container {
    grid-template-columns: 1fr;
}

.section-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.section-actions {
    justify-content: center;
}

.brand-title {
    font-size: 1.8rem;
}
.logo-section {
    flex-direction: column;
    gap: 10px;
}

.jakarta-logo {
    margin-left: 0;
    width: 100px;
}
}

@media (max-width: 480px) {
.main-content {
    padding: 0 10px;
}
}

/* Responsive Design untuk Header */
@media (max-width: 1200px) {
.brand-title {
    font-size: 1.8rem;
}

.logo-img {
    width: 150px;
}

.jakarta-logo {
    width: 100px;
}
}

@media (max-width: 768px) {
.modern-header {
    padding: 20px;
}

.logo-section {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.brand-text {
    text-align: center;
}

.brand-title {
    font-size: 1.5rem;
}

.brand-subtitle {
    font-size: 0.8rem;
}

.header-info {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.live-clock-container,
.weather-container,
.status-indicator {
    padding: 8px 12px;
}

.weather-info {
    font-size: 0.8rem;
}

.weather-icon {
    font-size: 1rem;
}

.announcement-bar {
    font-size: 0.8rem;
    padding: 10px 15px;
}
}

@media (max-width: 480px) {
.modern-header {
    padding: 15px;
}

.header-info {
    flex-direction: column;
    gap: 8px;
}

.live-clock-container,
.weather-container,
.status-indicator {
    width: 100%;
    justify-content: center;
}

.brand-title {
    font-size: 1.3rem;
}

.brand-subtitle {
    font-size: 0.75rem;
}

.logo-img {
    width: 120px;
}

.jakarta-logo {
    width: 80px;
    margin-left: 0;
}
}


/* Elegant Theme Toggle */
.theme-toggle-container {
    display: inline-block;
}

.theme-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #212529;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'PT Sans', sans-serif;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #0066CC;
}

.theme-icon {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover .theme-icon {
    transform: rotate(15deg);
}

.theme-text {
    transition: all 0.3s ease;
}

/* Dark Mode Styles */
[data-theme="dark"] .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

[data-theme="dark"] .theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #4A90E2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .theme-toggle-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .theme-icon {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .theme-toggle-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .theme-icon {
        font-size: 0.9rem;
    }
    
    .theme-text {
        display: none;
    }
}

/* Dark mode support untuk stop-type-badge */
[data-theme="dark"] .stop-type-badge {
background: rgba(255, 255, 255, 0.1);
color: #ffffff;
border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .stop-type-badge.feeder {
background: rgba(34, 197, 94, 0.2);
color: #4ade80;
border: 1px solid rgba(34, 197, 94, 0.3);
}

[data-theme="dark"] .stop-type-badge.platform {
background: rgba(59, 130, 246, 0.2);
color: #60a5fa;
border: 1px solid rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .stop-type-badge.access {
background: rgba(56, 189, 248, 0.2);
color: #0284c7;
border: 1px solid rgba(56, 189, 248, 0.3);
}

[data-theme="dark"] .stop-type-badge.corridor {
background: rgba(38, 70, 151, 0.2);
color: #264697;
border: 1px solid rgba(38, 70, 151, 0.3);
}

[data-theme="dark"] .direction-tab {
background: rgba(40, 49, 65, 0.8);
border-color: rgba(255, 255, 255, 0.2);
color: #4FA8DE;
}

/* Variant Selector Styling dengan Transisi Smooth */
.variant-selector-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.variant-selector-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.variant-label {
    font-family: 'PT Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #264697;
    margin-bottom: 12px;
    display: block;
    text-align: center;
    letter-spacing: 0.5px;
    transition: all 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.modern-variant-dropdown {
    width: 100%;
    max-width: 400px;
    padding: 12px 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #264697;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(38, 70, 151, 0.2);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    outline: none;
    display: block;
    margin: 0 auto;
}

.modern-variant-dropdown:hover {
    border-color: rgba(38, 70, 151, 0.4);
    box-shadow: 0 6px 20px rgba(38, 70, 151, 0.2);
    transform: translateY(-2px);
}

.modern-variant-dropdown:focus {
    border-color: #4FA8DE;
    box-shadow: 0 0 0 3px rgba(79, 168, 222, 0.2);
}

.modern-variant-dropdown option {
    font-family: 'PT Sans', sans-serif;
    font-weight: 400;
    padding: 8px;
    transition: all 0.2s ease;
}

/* Dark Mode Support */
[data-theme="dark"] .variant-selector-container {
    background: linear-gradient(135deg, rgba(40, 49, 65, 0.95), rgba(40, 49, 65, 0.8)) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

[data-theme="dark"] .variant-selector-container:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    border-color: rgba(79, 168, 222, 0.2);
}

[data-theme="dark"] .variant-label {
    color: #4FA8DE;
    text-shadow: 0 0 10px rgba(79, 168, 222, 0.3);
}

[data-theme="dark"] .variant-label:hover {
    color: #6BB6F0;
    text-shadow: 0 0 15px rgba(79, 168, 222, 0.5);
}

[data-theme="dark"] .modern-variant-dropdown {
    background: rgba(40, 49, 65, 0.9) !important;
    color: #ffffff !important;
    border-color: rgba(79, 168, 222, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .modern-variant-dropdown:hover {
    border-color: rgba(79, 168, 222, 0.5) !important;
    box-shadow: 0 6px 20px rgba(79, 168, 222, 0.2) !important;
    transform: translateY(-2px) !important;
    background: rgba(40, 49, 65, 0.95) !important;
}

[data-theme="dark"] .modern-variant-dropdown:focus {
    border-color: #4FA8DE;
    box-shadow: 0 0 0 3px rgba(79, 168, 222, 0.3);
    background: rgba(40, 49, 65, 1);
}

[data-theme="dark"] .modern-variant-dropdown option {
    background: #283142 !important;
    color: #ffffff !important;
    padding: 12px;
    border: none;
    transition: all 0.2s ease;
}

[data-theme="dark"] .modern-variant-dropdown option:hover {
    background: #4FA8DE;
    color: #ffffff;
}

[data-theme="dark"] .modern-variant-dropdown option:checked {
    background: linear-gradient(135deg, #4FA8DE, #264697) !important;
    color: #ffffff;
    font-weight: 700;
}

[data-theme="dark"] .modern-variant-dropdown option:selected {
    background: linear-gradient(135deg, #4FA8DE, #264697);
    color: #ffffff;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .variant-selector-container {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .variant-label {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .modern-variant-dropdown {
        max-width: 100%;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .variant-selector-container {
        padding: 12px;
        border-radius: 15px;
    }
    
    .variant-label {
        font-size: 0.9rem;
        
    }
    
    .modern-variant-dropdown {
        padding: 8px 12px;
        font-size: 0.85rem;
        border-radius: 12px;
    }
}

/* Responsive Design untuk Dark Mode */
@media (max-width: 768px) {
    .variant-selector-container {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .variant-label {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .modern-variant-dropdown {
        max-width: 100%;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    /* Dark Mode Responsive */
    [data-theme="dark"] .variant-selector-container {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    [data-theme="dark"] .variant-label {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    [data-theme="dark"] .modern-variant-dropdown {
        max-width: 100%;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .variant-selector-container {
        padding: 12px;
        border-radius: 15px;
    }
    
    .variant-label {
        font-size: 0.9rem;
        
    }
    
    .modern-variant-dropdown {
        padding: 8px 12px;
        font-size: 0.85rem;
        border-radius: 12px;
    }
    
    /* Dark Mode Responsive */
    [data-theme="dark"] .variant-selector-container {
        padding: 12px;
        border-radius: 15px;
    }
    
    [data-theme="dark"] .variant-label {
        font-size: 0.9rem;
        
    }
    
    [data-theme="dark"] .modern-variant-dropdown {
        padding: 8px 12px;
        font-size: 0.85rem;
        border-radius: 12px;
    }
}

/* Variant Selector for Stops Section */
.variant-selector-stops {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.variant-selector-stops::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #264697, #4FA8DE, #264697);
}

.variant-selector-stops .form-label {
    color: #264697;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-family: 'PT Sans', sans-serif;
    letter-spacing: 0.5px;
}

.variant-selector-stops .form-label iconify-icon {
    font-size: 1.4rem;
    color: #4FA8DE;
    filter: drop-shadow(0 2px 4px rgba(79, 168, 222, 0.3));
}

.variant-selector-stops .form-select {
    border: 2px solid rgba(38, 70, 151, 0.1);
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    font-family: 'PT Sans', sans-serif;
    color: #264697;
}

.variant-selector-stops .form-select:hover {
    border-color: rgba(38, 70, 151, 0.3);
    box-shadow: 0 6px 20px rgba(38, 70, 151, 0.15);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.95);
}

.variant-selector-stops .form-select:focus {
    border-color: #4FA8DE;
    box-shadow: 0 0 0 3px rgba(79, 168, 222, 0.2);
    outline: none;
    background: rgba(255, 255, 255, 1);
}

.variant-selector-stops .help-text {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'PT Sans', sans-serif;
    padding: 12px 16px;
    background: rgba(38, 70, 151, 0.05);
    border-radius: 10px;
    border-left: 3px solid #4FA8DE;
}

.variant-selector-stops .help-text iconify-icon {
    color: #4FA8DE;
    font-size: 1.1rem;
}

/* Dark mode support */
[data-theme="dark"] .variant-selector-stops {
    background: rgba(40, 49, 65, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .variant-selector-stops .form-label {
    color: #4FA8DE;
}

[data-theme="dark"] .variant-selector-stops .form-label iconify-icon {
    color: #87CEEB;
    filter: drop-shadow(0 2px 4px rgba(135, 206, 235, 0.3));
}

[data-theme="dark"] .variant-selector-stops .form-select {
    background: rgba(40, 49, 65, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .variant-selector-stops .form-select:hover {
    border-color: rgba(79, 168, 222, 0.3);
    box-shadow: 0 6px 20px rgba(79, 168, 222, 0.15);
    background: rgba(40, 49, 65, 0.95);
}

[data-theme="dark"] .variant-selector-stops .form-select:focus {
    border-color: #87CEEB;
    box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.2);
    background: rgba(40, 49, 65, 1);
}

[data-theme="dark"] .variant-selector-stops .help-text {
    color: #a0aec0;
    background: rgba(79, 168, 222, 0.1);
    border-left-color: #87CEEB;
}

[data-theme="dark"] .variant-selector-stops .help-text iconify-icon {
    color: #87CEEB;
}

/* Responsive design */
@media (max-width: 768px) {
    .variant-selector-stops {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .variant-selector-stops .form-label {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .variant-selector-stops .form-select {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .variant-selector-stops .help-text {
        font-size: 0.85rem;
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .variant-selector-stops {
        padding: 15px;
        border-radius: 15px;
    }
    
    .variant-selector-stops .form-label {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .variant-selector-stops .form-select {
        padding: 10px 14px;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    .variant-selector-stops .help-text {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

/* Modal Izin Lokasi */
#locationPermissionModal .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

#locationPermissionModal .modal-header {
    background: linear-gradient(135deg, #264697 0%, #4FA8DE 100%);
    border-bottom: none;
    padding: 1.5rem;
}

#locationPermissionModal .modal-title {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
}

#locationPermissionModal .modal-body {
    padding: 2rem;
    font-family: 'PT Sans', sans-serif;
}

#locationPermissionModal .modal-body h6 {
    color: #264697;
    font-size: 1.2rem;
}

#locationPermissionModal .modal-body ul {
    padding-left: 1.5rem;
}

#locationPermissionModal .modal-body li {
    margin-bottom: 0.5rem;
    color: #495057;
}

#locationPermissionModal .alert {
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
}

#locationPermissionModal .alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    color: #1976d2;
    border-left: 4px solid #2196f3;
}

#locationPermissionModal .alert-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #fce4ec 100%);
    color: #f57c00;
    border-left: 4px solid #ff9800;
}

#locationPermissionModal .modal-footer {
    border-top: none;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
}

#locationPermissionModal .btn {
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-family: 'PT Sans', sans-serif;
    transition: all 0.3s ease;
}

#locationPermissionModal .btn-primary {
    background: linear-gradient(135deg, #264697 0%, #4FA8DE 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(38, 70, 151, 0.3);
}

#locationPermissionModal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 70, 151, 0.4);
}

#locationPermissionModal .btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

#locationPermissionModal .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Dark mode untuk modal */
[data-theme="dark"] #locationPermissionModal .modal-content {
    background: #2d3748;
    color: #e2e8f0;
}

[data-theme="dark"] #locationPermissionModal .modal-body {
    background: #2d3748;
}

[data-theme="dark"] #locationPermissionModal .modal-body h6 {
    color: #4FA8DE;
}

[data-theme="dark"] #locationPermissionModal .modal-body li {
    color: #cbd5e0;
}

[data-theme="dark"] #locationPermissionModal .alert-info {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: #63b3ed;
    border-left: 4px solid #3182ce;
}

[data-theme="dark"] #locationPermissionModal .alert-warning {
    background: linear-gradient(135deg, #744210 0%, #2d3748 100%);
    color: #f6ad55;
    border-left: 4px solid #dd6b20;
}

[data-theme="dark"] #locationPermissionModal .modal-footer {
    background: #1a202c;
}

/* Responsive */
@media (max-width: 768px) {
    #locationPermissionModal .modal-dialog {
        margin: 1rem;
    }
    
    #locationPermissionModal .modal-body {
        padding: 1.5rem;
    }
    
    #locationPermissionModal .modal-footer {
        padding: 1rem 1.5rem;
    }
    
    #locationPermissionModal .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Badge khusus untuk informasi layanan utama */
.route-badge-container .badge-koridor-interaktif {
    font-size: 1.2rem !important;
    padding: 0.5em 1em !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 8px rgba(38,70,151,0.15) !important;
}

/* Badge untuk popup halte */
.leaflet-popup-content .badge-koridor-interaktif {
    font-size: 0.85rem !important;
    padding: 0.3em 0.7em !important;
    font-weight: 600 !important;
    margin: 0.2em !important;
}

/* Badge untuk daftar halte */
.stops-list .badge-koridor-interaktif {
    font-size: 0.9rem !important;
    padding: 0.4em 0.8em !important;
    font-weight: 600 !important;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    .badge-koridor-interaktif {
        font-size: 0.9rem;
        padding: 0.4em 0.75em;
    }
    
    .route-badge-container .badge-koridor-interaktif {
        font-size: 1rem !important;
        padding: 0.4em 0.8em !important;
    }
    
    .leaflet-popup-content .badge-koridor-interaktif {
        font-size: 0.75rem !important;
        padding: 0.25em 0.6em !important;
    }
}

/* Sticky Navigation Bar Styles */
.navbar {
    background-color: #ffffff;
    transition: all 0.2s ease;
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 1030;
    height: 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.navbar .container-fluid {
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Custom Hamburger Animation - 2 Lines to X */
.custom-toggler {
    border: none !important;
    padding: 0 !important;
    width: 30px;
    height: 30px;
    position: relative;
    background: transparent !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    box-shadow: none !important;
    outline: none !important;
}

.custom-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

.custom-toggler:focus-visible {
    box-shadow: none !important;
    outline: none !important;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: #264697;
    border-radius: 2px;
    transition: all 0.2s ease-out;
    transform-origin: center;
}

.custom-toggler:hover .hamburger-line {
    background-color: #4FA8DE;
}

/* Active state for hamburger */
.custom-toggler.active .hamburger-line {
    background-color: #4FA8DE;
}

/* Animation for first line */
.custom-toggler.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

/* Animation for second line */
.custom-toggler.active .hamburger-line:nth-child(2) {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Override Bootstrap close button completely */
.btn-close {
    background: transparent !important;
    background-image: none !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    width: 30px;
    height: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    outline: none !important;
}

.btn-close:focus {
    box-shadow: none !important;
    outline: none !important;
}

.btn-close:focus-visible {
    box-shadow: none !important;
    outline: none !important;
}

/* Remove Bootstrap's default close button background */
.btn-close {
    background-image: none !important;
    background-color: transparent !important;
}

.btn-close::before,
.btn-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #264697;
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.btn-close::before {
    transform: rotate(45deg);
}

.btn-close::after {
    transform: rotate(-45deg);
}

.btn-close:hover::before,
.btn-close:hover::after {
    background-color: #4FA8DE;
}

/* Dark mode for close button */
[data-theme="dark"] .btn-close::before,
[data-theme="dark"] .btn-close::after {
    background-color: #ffffff;
}

[data-theme="dark"] .btn-close:hover::before,
[data-theme="dark"] .btn-close:hover::after {
    background-color: #4FA8DE;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #264697 !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    padding: 0;
}

.navbar-brand iconify-icon {
    color: #4FA8DE;
    font-size: 1.4rem;
}

.nav-link {
    color: #495057 !important;
    font-weight: 400;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin: 0 0.25rem;
}

.nav-link:hover {
    color: #264697 !important;
    background-color: rgba(38, 70, 151, 0.1);
}

.nav-link.active {
    color: #264697 !important;
    background-color: rgba(38, 70, 151, 0.15);
    font-weight: 700;
}

.nav-link iconify-icon {
    font-size: 1rem;
    color: #4FA8DE;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Light Offcanvas Sidebar */
.offcanvas {
    background: #ffffff;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    max-width: 320px;
    width: 320px;
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform 0.15s ease-out, visibility 0.15s ease-out;
}

.offcanvas.show {
    transform: translateX(0);
    visibility: visible;
}

.offcanvas:not(.show) {
    transform: translateX(-100%);
    visibility: hidden;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    min-height: 60px;
    max-height: 60px;
}

.offcanvas-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #264697;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.offcanvas-title img.brand-title {
    height: 25px;
    width: auto;
    max-width: 100px;
}

.btn-close {
    background-color: #264697;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.btn-close:hover {
    opacity: 1;
}

.offcanvas-body {
    padding: 1rem;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease-out;
}

.nav-menu-item:hover {
    background-color: rgba(38, 70, 151, 0.1);
    border-color: rgba(38, 70, 151, 0.2);
}

.nav-menu-item.active {
    background-color: rgba(38, 70, 151, 0.15);
    border-color: rgba(38, 70, 151, 0.3);
}

.nav-menu-item.active .nav-menu-icon {
    background: #264697;
    color: white;
}

.nav-menu-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(38, 70, 151, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #264697;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.nav-menu-item:hover .nav-menu-icon {
    background: #264697;
    color: white;
}

.nav-menu-content {
    flex: 1;
    min-width: 0;
}

.nav-menu-title {
    font-size: 1rem;
    color: #264697;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.nav-menu-desc {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

/* Dark Mode Support */
[data-theme="dark"] .navbar {
    background-color: rgba(33, 37, 41, 0.95) !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .navbar-brand {
    color: #ffffff !important;
}

[data-theme="dark"] .nav-link {
    color: #adb5bd !important;
}

[data-theme="dark"] .nav-link:hover {
    color: #4FA8DE !important;
    background-color: rgba(79, 168, 222, 0.1);
}

[data-theme="dark"] .nav-link.active {
    color: #4FA8DE !important;
    background-color: rgba(79, 168, 222, 0.15);
}

[data-theme="dark"] .nav-link iconify-icon {
    color: #4FA8DE;
}

[data-theme="dark"] .hamburger-line {
    background-color: #4FA8DE;
}

[data-theme="dark"] .custom-toggler:hover .hamburger-line {
    background-color: #ffffff;
}

[data-theme="dark"] .offcanvas {
    background: rgba(33, 37, 41, 0.95);
    border-right-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .offcanvas-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .offcanvas-title {
    color: #ffffff !important;
}

[data-theme="dark"] .btn-close {
    background-color: #4FA8DE;
}

[data-theme="dark"] .nav-menu-item {
    background: rgba(33, 37, 41, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

[data-theme="dark"] .nav-menu-item:hover {
    border-color: rgba(79, 168, 222, 0.3);
}

[data-theme="dark"] .nav-menu-item.active {
    background: linear-gradient(135deg, rgba(38, 70, 151, 0.2), rgba(79, 168, 222, 0.2));
    border-color: rgba(79, 168, 222, 0.4);
}

[data-theme="dark"] .nav-menu-icon {
    background: rgba(79, 168, 222, 0.2);
    color: #4FA8DE;
}

[data-theme="dark"] .nav-menu-title {
    color: #ffffff;
}

[data-theme="dark"] .nav-menu-desc {
    color: #adb5bd;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 1029;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    [data-theme="dark"] .navbar-collapse {
        background: rgba(33, 37, 41, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Additional navbar responsive fixes */
@media (max-width: 768px) {
    .navbar {
        height: 60px;
    }
    
    .navbar .container-fluid {
        height: 100%;
        padding: 0 1rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    .navbar-brand iconify-icon {
        font-size: 1.2rem;
    }
}

/* Transport Jakarta Page Styles */
.page-header {
    text-align: center;
    padding: 2rem 0;
}

.section-subtitle {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Transport Cards */
.transport-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    height: 100%;
}

.transport-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.transport-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.transport-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #264697, #4FA8DE);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.transport-title {
    color: #264697;
    margin-bottom: 0.25rem;
    font-size: 1.4rem;
}

.transport-subtitle {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.transport-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(38, 70, 151, 0.1);
    border-radius: 12px;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #264697;
}

.transport-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-badge {
    background: linear-gradient(135deg, #264697, #4FA8DE);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.transport-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Dark Mode for Transport Cards */
[data-theme="dark"] .transport-card {
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .transport-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .transport-title {
    color: #ffffff;
}

[data-theme="dark"] .transport-subtitle {
    color: #cccccc;
}

[data-theme="dark"] .stat-item {
    background: rgba(79, 168, 222, 0.1);
}

[data-theme="dark"] .stat-label {
    color: #cccccc;
}

[data-theme="dark"] .stat-value {
    color: #4FA8DE;
}

[data-theme="dark"] .transport-description {
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .transport-card {
        padding: 1.5rem;
    }
    
    .transport-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .transport-features {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .transport-card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .transport-stats {
        grid-template-columns: 1fr;
    }
    
    .transport-features {
        justify-content: center;
    }
}

/* Transport Image Styles */
.transport-image {
    margin: 1rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.transport-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.transport-card:hover .transport-img {
    transform: scale(1.05);
}

/* Dark Mode for Transport Images */
[data-theme="dark"] .transport-image {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Transport Images */
@media (max-width: 768px) {
    .transport-img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .transport-img {
        height: 160px;
    }
}

/* JakLingko Integration System Styles */
.jaklingko-section {
    margin-top: 3rem;
}

.jaklingko-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    height: 100%;
}

.jaklingko-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.jaklingko-title {
    color: #264697;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.jaklingko-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.jaklingko-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(38, 70, 151, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.benefit-item:hover {
    background: rgba(38, 70, 151, 0.15);
    transform: translateX(5px);
}

.benefit-icon {
    font-size: 1.5rem;
    color: #4FA8DE;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    color: #264697;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.benefit-desc {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.supported-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.card-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(38, 70, 151, 0.1);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.card-item:hover {
    background: rgba(38, 70, 151, 0.15);
    transform: translateX(5px);
}

.card-icon {
    font-size: 1.2rem;
    color: #4FA8DE;
    flex-shrink: 0;
}

.card-item span {
    color: #264697;
    font-weight: 700;
    font-size: 0.95rem;
}

.card-note {
    padding: 1rem;
    background: rgba(79, 168, 222, 0.1);
    border-radius: 10px;
    border-left: 4px solid #4FA8DE;
}

.card-note p {
    color: #264697;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.info-icon {
    color: #4FA8DE;
    margin-right: 0.5rem;
}

/* Dark Mode for JakLingko */
[data-theme="dark"] .jaklingko-card {
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .jaklingko-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .jaklingko-title {
    color: #ffffff;
}

[data-theme="dark"] .jaklingko-description {
    color: #cccccc;
}

[data-theme="dark"] .benefit-item {
    background: rgba(79, 168, 222, 0.1);
}

[data-theme="dark"] .benefit-item:hover {
    background: rgba(79, 168, 222, 0.15);
}

[data-theme="dark"] .benefit-title {
    color: #ffffff;
}

[data-theme="dark"] .benefit-desc {
    color: #cccccc;
}

[data-theme="dark"] .card-item {
    background: rgba(79, 168, 222, 0.1);
}

[data-theme="dark"] .card-item:hover {
    background: rgba(79, 168, 222, 0.15);
}

[data-theme="dark"] .card-item span {
    color: #ffffff;
}

[data-theme="dark"] .card-note {
    background: rgba(79, 168, 222, 0.1);
}

[data-theme="dark"] .card-note p {
    color: #ffffff;
}

/* Responsive Design for JakLingko */
@media (max-width: 768px) {
    .jaklingko-card {
        padding: 1.5rem;
    }
    
    .benefit-item {
        padding: 0.75rem;
    }
    
    .card-item {
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .jaklingko-title {
        font-size: 1.1rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin-top: 0;
    }
}

/* Integration Section Styles */
.integration-section {
    margin-top: 3rem;
}

.integration-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    height: 100%;
}

.integration-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.integration-title {
    color: #264697;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.integration-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.integration-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(38, 70, 151, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: rgba(38, 70, 151, 0.15);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.5rem;
    color: #4FA8DE;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-content {
    flex: 1;
}

.feature-title {
    color: #264697;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.feature-desc {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.activation-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(38, 70, 151, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.step-item:hover {
    background: rgba(38, 70, 151, 0.15);
    transform: translateX(5px);
}

.step-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #264697, #4FA8DE);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h6 {
    color: #264697;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.step-content p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Tips Section Styles */
.tips-section {
    margin-top: 3rem;
}

.tip-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    height: 100%;
    text-align: center;
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.tip-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #264697, #4FA8DE);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
}

.tip-title {
    color: #264697;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tip-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

/* JakLingko Integration System Styles */
.jaklingko-section {
    margin-top: 3rem;
}

.jaklingko-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    height: 100%;
}

.jaklingko-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.jaklingko-title {
    color: #264697;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.jaklingko-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.jaklingko-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(38, 70, 151, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.benefit-item:hover {
    background: rgba(38, 70, 151, 0.15);
    transform: translateX(5px);
}

.benefit-icon-container {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefit-icon {
    font-size: 1.5rem;
    color: #4FA8DE;
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    color: #264697;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.benefit-desc {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.supported-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.card-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(38, 70, 151, 0.1);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.card-item:hover {
    background: rgba(38, 70, 151, 0.15);
    transform: translateX(5px);
}

.card-icon {
    font-size: 1.2rem;
    color: #4FA8DE;
    flex-shrink: 0;
}

.card-item span {
    color: #264697;
    font-weight: 700;
    font-size: 0.95rem;
}

.card-note {
    padding: 1rem;
    background: rgba(79, 168, 222, 0.1);
    border-radius: 10px;
    border-left: 4px solid #4FA8DE;
}

.card-note p {
    color: #264697;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.info-icon {
    color: #4FA8DE;
    margin-right: 0.5rem;
}

/* Dark Mode Styles */
[data-theme="dark"] .integration-card,
[data-theme="dark"] .jaklingko-card,
[data-theme="dark"] .tip-card {
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .integration-card:hover,
[data-theme="dark"] .jaklingko-card:hover,
[data-theme="dark"] .tip-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .integration-title,
[data-theme="dark"] .jaklingko-title,
[data-theme="dark"] .tip-title {
    color: #ffffff;
}

[data-theme="dark"] .integration-description,
[data-theme="dark"] .jaklingko-description,
[data-theme="dark"] .tip-description {
    color: #cccccc;
}

[data-theme="dark"] .feature-item,
[data-theme="dark"] .step-item,
[data-theme="dark"] .benefit-item {
    background: rgba(79, 168, 222, 0.1);
}

[data-theme="dark"] .feature-item:hover,
[data-theme="dark"] .step-item:hover,
[data-theme="dark"] .benefit-item:hover {
    background: rgba(79, 168, 222, 0.15);
}

[data-theme="dark"] .feature-title,
[data-theme="dark"] .step-content h6,
[data-theme="dark"] .benefit-title {
    color: #ffffff;
}

[data-theme="dark"] .feature-desc,
[data-theme="dark"] .step-content p,
[data-theme="dark"] .benefit-desc {
    color: #cccccc;
}

[data-theme="dark"] .card-item {
    background: rgba(79, 168, 222, 0.1);
}

[data-theme="dark"] .card-item:hover {
    background: rgba(79, 168, 222, 0.15);
}

[data-theme="dark"] .card-item span {
    color: #ffffff;
}

[data-theme="dark"] .card-note {
    background: rgba(79, 168, 222, 0.1);
}

[data-theme="dark"] .card-note p {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .integration-card,
    .jaklingko-card,
    .tip-card {
        padding: 1.5rem;
    }
    
    .feature-item,
    .step-item,
    .benefit-item {
        padding: 0.75rem;
    }
    
    .card-item {
        padding: 0.5rem 0.75rem;
    }
    
    .tip-card {
        text-align: left;
    }
    
    .tip-icon {
        margin: 0 0 1rem 0;
    }
}

@media (max-width: 480px) {
    .integration-title,
    .jaklingko-title,
    .tip-title {
        font-size: 1.1rem;
    }
    
    .feature-item,
    .step-item,
    .benefit-item {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    
    .feature-icon,
    .benefit-icon-container {
        margin-top: 0.25rem;
        flex-shrink: 0;
    }
    
    .step-number {
        margin: 0;
        flex-shrink: 0;
    }
    
    .tip-card {
        text-align: center;
    }
    
    .tip-icon {
        margin: 0 auto 1rem;
    }
    
    .feature-content,
    .step-content,
    .benefit-content {
        flex: 1;
        margin-left: 0;
    }
}

/* Modern Footer Styles */
.modern-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    margin-top: 4rem;
}

.footer-main {
    margin-bottom: 2rem;
}

/* Footer Brand */
.footer-brand {
    margin-bottom: 1rem;
}

.footer-brand-text {
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #264697;
    margin: 0;
    font-family: 'PT Sans Lurus', sans-serif;
    font-feature-settings: 'ss03';
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-title iconify-icon {
    color: #4FA8DE;
    font-size: 1.4rem;
}

.footer-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
    font-family: 'PT Sans Lurus', sans-serif;
     font-feature-settings: 'ss02';
     font-weight: bold;
}

.footer-description {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
    font-family: 'PT Sans', sans-serif;
}

/* Footer Headings */
.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #264697;
    margin-bottom: 1rem;
    font-family: 'PT Sans Lurus', sans-serif;
    font-feature-settings: 'ss02';
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-heading iconify-icon {
    color: #4FA8DE;
    font-size: 1.1rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    font-family: 'PT Sans', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: #264697;
    text-decoration: none;
}

.footer-links a iconify-icon {
    color: #4FA8DE;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.footer-links a:hover iconify-icon {
    color: #264697;
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
    font-family: 'PT Sans', sans-serif;
}

.contact-item iconify-icon {
    color: #264697;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #e9ecef;
    border-radius: 8px;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: #264697;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.social-link iconify-icon {
    font-size: 1.2rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #e9ecef;
}

.footer-copyright {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
    font-family: 'PT Sans', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.copyright-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-copyright strong {
    color: #264697;
}

.footer-copyright iconify-icon {
    color: #6c757d;
    font-size: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
    font-family: 'PT Sans', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-legal a:hover {
    color: #264697;
    text-decoration: none;
}

.footer-legal a iconify-icon {
    color: #4FA8DE;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.footer-legal a:hover iconify-icon {
    color: #264697;
}

/* Dark Mode Support */
[data-theme="dark"] .modern-footer {
    background: #212529;
    border-top-color: #343a40;
}

[data-theme="dark"] .footer-title {
    color: #4FA8DE;
}

[data-theme="dark"] .footer-title iconify-icon {
    color: #87CEEB;
}

[data-theme="dark"] .footer-heading {
    color: #4FA8DE;
}

[data-theme="dark"] .footer-heading iconify-icon {
    color: #87CEEB;
}

[data-theme="dark"] .footer-description,
[data-theme="dark"] .footer-links a,
[data-theme="dark"] .contact-item,
[data-theme="dark"] .footer-copyright,
[data-theme="dark"] .footer-legal a {
    color: #adb5bd;
}

[data-theme="dark"] .footer-links a:hover,
[data-theme="dark"] .footer-legal a:hover {
    color: #4FA8DE;
}

[data-theme="dark"] .footer-links a iconify-icon {
    color: #4FA8DE;
}

[data-theme="dark"] .footer-links a:hover iconify-icon {
    color: #87CEEB;
}

[data-theme="dark"] .contact-item iconify-icon {
    color: #4FA8DE;
}

[data-theme="dark"] .social-link {
    background: #343a40;
    color: #adb5bd;
}

[data-theme="dark"] .social-link:hover {
    background: #4FA8DE;
    color: #ffffff;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: #343a40;
}

[data-theme="dark"] .footer-copyright strong {
    color: #4FA8DE;
}

[data-theme="dark"] .footer-copyright iconify-icon {
    color: #adb5bd;
}

[data-theme="dark"] .footer-legal a iconify-icon {
    color: #4FA8DE;
}

[data-theme="dark"] .footer-legal a:hover iconify-icon {
    color: #87CEEB;
}

/* Responsive Design */
@media (max-width: 991px) {
    .modern-footer {
        padding: 2rem 0 1rem 0;
    }
    
    .footer-main {
        margin-bottom: 1.5rem;
    }
    
    .footer-brand {
        text-align: left;
        margin-bottom: 2rem;
    }
    
    .footer-heading {
        text-align: left;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        text-align: left;
    }
    
    .footer-contact {
        align-items: flex-start;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-legal {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .modern-footer {
        padding: 1.5rem 0 1rem 0;
    }
    
    .footer-title {
        font-size: 1.3rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .footer-heading {
        font-size: 0.95rem;
    }
    
    .footer-links a,
    .contact-item {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-link iconify-icon {
        font-size: 1.1rem;
    }
    
    .footer-copyright,
    .footer-legal a {
        font-size: 0.8rem;
    }
    
    .footer-legal {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .modern-footer {
        padding: 1rem 0 0.5rem 0;
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
    
    .footer-subtitle {
        font-size: 0.8rem;
    }
    
    .footer-description {
        font-size: 0.8rem;
    }
    
    .footer-heading {
        font-size: 0.9rem;
    }
    
    .footer-links a,
    .contact-item {
        font-size: 0.8rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .social-link iconify-icon {
        font-size: 1rem;
    }
    
    .footer-copyright,
    .footer-legal a {
        font-size: 0.75rem;
    }
    
    .footer-legal {
        gap: 0.75rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-copyright {
        justify-content: center;
        margin-bottom: 1rem;
        align-items: center;
    }
    
    .copyright-line {
        justify-content: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Prevent horizontal scroll when offcanvas is open */
body.offcanvas-open {
    overflow-x: hidden;
}

/* Offcanvas fixes */
.offcanvas {
    background: #ffffff;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    max-width: 320px;
    width: 320px;
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform 0.15s ease-out, visibility 0.15s ease-out;
}

.offcanvas.show {
    transform: translateX(0);
    visibility: visible;
}

.offcanvas:not(.show) {
    transform: translateX(-100%);
    visibility: hidden;
}

/* Ensure page content doesn't shift */
body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Container fixes to prevent overflow */
.container, .container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

/* Main content area fixes */
.main-content {
    max-width: 100%;
    overflow-x: hidden;
}

[data-theme="dark"] .offcanvas {
    background: #212529;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .navbar {
    background-color: #212529;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Transjakarta GTFS Section */
.transjakarta-gtfs-section {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.stat-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #264697 0%, #4FA8DE 100%);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.stat-icon iconify-icon {
    font-size: 1.5rem;
    color: #ffffff;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #264697;
    margin-bottom: 0.5rem;
    font-family: 'PT Sans', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    font-family: 'PT Sans', sans-serif;
}

.route-categories {
    background: #f8f9fa;
    border-radius: 1rem;
    padding: 1.5rem;
}

.category-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon iconify-icon {
    font-size: 1.2rem;
    color: #ffffff;
}

.category-title {
    font-size: 1rem;
    font-weight: 700;
    color: #264697;
    margin: 0;
}

.category-count {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.category-description {
    font-size: 0.85rem;
    color: #495057;
    line-height: 1.5;
    margin: 0;
    font-family: 'PT Sans', sans-serif;
}

/* Dark mode styles */
[data-theme="dark"] .transjakarta-gtfs-section {
    background: #212529;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .stat-card {
    background: linear-gradient(135deg, #343a40 0%, #495057 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .stat-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .stat-number {
    color: #4FA8DE;
}

[data-theme="dark"] .stat-label {
    color: #adb5bd;
}

[data-theme="dark"] .route-categories {
    background: #343a40;
}

[data-theme="dark"] .category-card {
    background: #495057;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .category-title {
    color: #4FA8DE;
}

[data-theme="dark"] .category-count {
    color: #adb5bd;
}

[data-theme="dark"] .category-description {
    color: #e9ecef;
}

/* Responsive styles */
@media (max-width: 768px) {
    .transjakarta-gtfs-section {
        padding: 1.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }
    
    .stat-icon iconify-icon {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .transjakarta-gtfs-section {
        padding: 1rem;
    }
    
    .stat-card {
        padding: 0.75rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }
    
    .stat-icon iconify-icon {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* KUE Image Styling */
.kue-image-container {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.kue-image {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.kue-image:hover {
    transform: scale(1.02);
}

/* Dark mode for KUE image */
[data-theme="dark"] .kue-image-container {
    background: #212529;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Responsive KUE image */
@media (max-width: 768px) {
    .kue-image-container {
        padding: 1.5rem;
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .kue-image-container {
        padding: 1rem;
        min-height: 250px;
    }
}

/* Electronic Cards Section */
.electronic-cards-section {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.cards-list-container {
    background: #f8f9fa;
    border-radius: 1rem;
    padding: 1.5rem;
}

.cards-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #264697 0%, #4FA8DE 100%);
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

.card-title {
    color: #264697;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.card-description {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

.card-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    position: relative;
}

.card-divider::before {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #264697 50%, transparent 100%);
}

.divider-text {
    background: #f8f9fa;
    padding: 0 1rem;
    color: #264697;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 1rem;
}

/* Dark mode for electronic cards */
[data-theme="dark"] .electronic-cards-section {
    background: #212529;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .cards-list-container {
    background: #343a40;
}

[data-theme="dark"] .card-item {
    background: #495057;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .card-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .card-title {
    color: #4FA8DE;
}

[data-theme="dark"] .card-description {
    color: #adb5bd;
}

[data-theme="dark"] .divider-text {
    background: #343a40;
    color: #4FA8DE;
}

[data-theme="dark"] .card-divider::before {
    background: linear-gradient(90deg, transparent 0%, #4FA8DE 50%, transparent 100%);
}

/* Responsive electronic cards */
@media (max-width: 768px) {
    .electronic-cards-section {
        padding: 1.5rem;
    }
    
    .cards-list-container {
        padding: 1rem;
    }
    
    .card-item {
        padding: 0.75rem;
    }
    
    .card-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .card-title {
        font-size: 0.9rem;
    }
    
    .card-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .electronic-cards-section {
        padding: 1rem;
    }
    
    .cards-list-container {
        padding: 0.75rem;
    }
    
    .card-item {
        padding: 0.5rem;
        gap: 0.75rem;
    }
    
    .card-number {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }
    
    .divider-text {
        font-size: 0.8rem;
        padding: 0 0.5rem;
        margin: 0 0.5rem;
    }
}

/* KUE Image at Top */
.kue-image-top {
    display: flex;
    justify-content: center;
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.kue-image-top .kue-image {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.kue-image-top .kue-image:hover {
    transform: scale(1.02);
}

/* Dark mode for top KUE image */
[data-theme="dark"] .kue-image-top {
    background: #212529;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* JakLingko Support Color Clues */
.card-item.jaklingko-supported {
    border-left: 4px solid #ffc107; /* Yellow for supported */
}

.card-item.jaklingko-supported .card-number {
    background: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
}

.card-item.jaklingko-not-supported {
    border-left: 4px solid #dc3545; /* Red for not supported */
}

.card-item.jaklingko-not-supported .card-number {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
}

/* Dark mode for support clues */
[data-theme="dark"] .card-item.jaklingko-supported {
    border-left: 4px solid #ffc107;
}

[data-theme="dark"] .card-item.jaklingko-not-supported {
    border-left: 4px solid #dc3545;
}

/* Responsive electronic cards */
@media (max-width: 768px) {
    .electronic-cards-section {
        padding: 1.5rem;
    }
    
    .kue-image-top {
        padding: 1.5rem;
    }
    
    .color-legend {
        padding: 1rem;
    }
    
    .legend-items {
        gap: 1rem;
    }
    
    .cards-list-container {
        padding: 1rem;
    }
    
    .card-item {
        padding: 0.75rem;
    }
    
    .card-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .card-title {
        font-size: 0.9rem;
    }
    
    .card-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .electronic-cards-section {
        padding: 1rem;
    }
    
    .kue-image-top {
        padding: 1rem;
    }
    
    .color-legend {
        padding: 0.75rem;
    }
    
    .legend-items {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .legend-text {
        font-size: 0.8rem;
    }
    
    .cards-list-container {
        padding: 0.75rem;
    }
    
    .card-item {
        padding: 0.5rem;
        gap: 0.75rem;
    }
    
    .card-number {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }
    
    .divider-text {
        font-size: 0.8rem;
        padding: 0 0.5rem;
        margin: 0 0.5rem;
    }
}

/* Color Legend */
.color-legend {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.legend-title {
    color: #264697;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.legend-color.supported {
    background: #28a745; /* Green */
}

.legend-color.limited {
    background: #ffc107; /* Yellow */
}

.legend-color.not-supported {
    background: #dc3545; /* Red */
}

.legend-text {
    color: #495057;
    font-size: 0.9rem;
}

/* JakLingko Support Color Clues */
.card-item.jaklingko-supported {
    border-left: 4px solid #28a745; /* Green for supported */
}

.card-item.jaklingko-supported .card-number {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
}

.card-item.jaklingko-limited {
    border-left: 4px solid #ffc107; /* Yellow for limited */
}

.card-item.jaklingko-limited .card-number {
    background: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
}

.card-item.jaklingko-not-supported {
    border-left: 4px solid #dc3545; /* Red for not supported */
}

.card-item.jaklingko-not-supported .card-number {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
}

/* Dark mode for legend and support clues */
[data-theme="dark"] .color-legend {
    background: #495057;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .legend-title {
    color: #4FA8DE;
}

[data-theme="dark"] .legend-text {
    color: #e9ecef;
}

[data-theme="dark"] .card-item.jaklingko-supported {
    border-left: 4px solid #28a745;
}

[data-theme="dark"] .card-item.jaklingko-limited {
    border-left: 4px solid #ffc107;
}

[data-theme="dark"] .card-item.jaklingko-not-supported {
    border-left: 4px solid #dc3545;
}

/* QR Payment Support Section */
.qr-payment-section {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.qr-services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.qr-service-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.qr-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.qr-service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.qr-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #264697 0%, #4FA8DE 100%);
    border-radius: 50%;
    color: #ffffff;
}

.qr-service-icon iconify-icon {
    font-size: 1.5rem;
}

.qr-service-title {
    color: #264697;
    margin: 0;
    font-size: 1.25rem;
}

.qr-service-description {
    color: #495057;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.qr-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qr-service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #495057;
    font-size: 0.95rem;
}

.qr-service-item iconify-icon {
    color: #28a745;
    font-size: 1.1rem;
}

.qr-service-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 0.5rem;
    color: #28a745;
    font-weight: 700;
    font-size: 0.95rem;
}

.qr-service-feature iconify-icon {
    font-size: 1.1rem;
}

.qr-payment-methods {
    margin: 1rem 0;
}

.payment-methods-title {
    color: #264697;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

/* Dark mode for QR payment section */
[data-theme="dark"] .qr-payment-section {
    background: #212529;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .qr-service-card {
    background: linear-gradient(135deg, #343a40 0%, #495057 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .qr-service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .qr-service-title {
    color: #4FA8DE;
}

[data-theme="dark"] .qr-service-description {
    color: #e9ecef;
}

[data-theme="dark"] .qr-service-item {
    color: #adb5bd;
}

[data-theme="dark"] .qr-service-feature {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

[data-theme="dark"] .payment-methods-title {
    color: #4FA8DE;
}

/* Responsive QR payment section */
@media (max-width: 768px) {
    .qr-payment-section {
        padding: 1.5rem;
    }
    
    .qr-services-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .qr-service-card {
        padding: 1rem;
    }
    
    .qr-service-header {
        gap: 0.75rem;
    }
    
    .qr-service-icon {
        width: 40px;
        height: 40px;
    }
    
    .qr-service-icon iconify-icon {
        font-size: 1.2rem;
    }
    
    .qr-service-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .qr-payment-section {
        padding: 1rem;
    }
    
    .qr-service-card {
        padding: 0.75rem;
    }
    
    .qr-service-icon {
        width: 35px;
        height: 35px;
    }
    
    .qr-service-icon iconify-icon {
        font-size: 1rem;
    }
    
    .qr-service-title {
        font-size: 1rem;
    }
    
    .qr-service-description {
        font-size: 0.9rem;
    }
    
    .qr-service-item,
    .qr-service-feature {
        font-size: 0.85rem;
    }
}

.qr-service-icon iconify-icon {
    font-size: 1.5rem;
}

.service-logo {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tj-logo {
    background: #ffffff;
    padding: 8px;
}

.mrt-logo {
    background: #ffffff;
    padding: 6px;
}

.commuter-logo {
    background: #ffffff;
    padding: 4px;
}

[data-theme="dark"] .payment-methods-title {
    color: #4FA8DE;
}

[data-theme="dark"] .tj-logo,
[data-theme="dark"] .mrt-logo,
[data-theme="dark"] .commuter-logo {
    background: #ffffff;
    filter: brightness(0.9);
}


/* Breadcrumb Navigation Styles */
.breadcrumb {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.breadcrumb-item {
    font-family: 'PT Sans', sans-serif;
    font-size: 0.95rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "•";
    color: #6c757d;
    font-weight: 400;
    font-size: 1.2rem;
    margin: 0 0.75rem;
    opacity: 0.7;
    line-height: 1;
}

.breadcrumb-link {
    color: #264697;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-link:hover {
    color: #4FA8DE;
    text-decoration: none;
    transform: translateX(-2px);
}

.breadcrumb-link iconify-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.breadcrumb-link:hover iconify-icon {
    transform: scale(1.1);
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 700;
}

[data-theme="dark"] .breadcrumb {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    border-color: #4a5568;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .breadcrumb-item + .breadcrumb-item::before {
    color: #a0aec0;
}

[data-theme="dark"] .breadcrumb-link {
    color: #4FA8DE;
}

[data-theme="dark"] .breadcrumb-link:hover {
    color: #63b3ed;
}

[data-theme="dark"] .breadcrumb-item.active {
    color: #a0aec0;
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 0.75rem 1rem;
        border-radius: 0.75rem;
    }
    
    .breadcrumb-item {
        font-size: 0.9rem;
    }
    
    .breadcrumb-link {
        gap: 0.25rem;
    }
    
    .breadcrumb-link:hover {
        transform: translateX(-1px);
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        padding: 0.5rem 0.75rem;
        border-radius: 0.5rem;
    }
    
    .breadcrumb-item {
        font-size: 0.85rem;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        margin: 0 0.25rem;
        font-size: 1rem;
    }
}

/* Custom Popup Styles */
.custom-popup-transparent .maplibregl-popup-content-wrapper,
.custom-popup-transparent .maplibregl-popup-tip {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.custom-popup-transparent .maplibregl-popup-content {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.custom-popup-transparent .maplibregl-popup-tip {
    display: none !important;
}

/* Stop Popup Styles */
.stop-popup {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stop-popup .badge {
    font-size: 0.85em;
    padding: 0.4em 0.8em;
    margin: 0.2em;
    transition: all 0.2s ease;
}

.stop-popup .badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.badge-koridor-interaktif {
    cursor: pointer;
    transition: all 0.2s ease;
}

.badge-koridor-interaktif:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Accessibility Info Styles */
.accessibility-info {
    margin: 12px 0;
    padding: 8px 12px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 8px;
    border-left: 4px solid #0ea5e9;
}

.accessibility-info .badge {
    font-size: 0.9em;
    padding: 0.5em 1em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stop-popup {
        min-width: 250px !important;
        max-width: 300px !important;
    }
    
    .stop-popup .badge {
        font-size: 0.8em;
        padding: 0.3em 0.6em;
    }
}

/* Popup minimalis untuk MapLibre */
.stop-popup {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-family: 'PT Sans', sans-serif;
    line-height: 1.4;
}

.stop-popup .badge {
    transition: all 0.2s ease;
    border: none;
    font-weight: 400;
}

.stop-popup .badge:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.badge-koridor-interaktif {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.badge-koridor-interaktif:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.accessibility-info {
    margin: 8px 0;
}

.accessibility-info .badge {
    font-size: 0.75em;
    padding: 3px 6px;
}

/* Responsif untuk mobile */
@media (max-width: 768px) {
    .stop-popup {
        min-width: 180px !important;
        max-width: 220px !important;
    }
    
    .stop-popup .badge {
        font-size: 0.7em !important;
        padding: 3px 6px !important;
        margin: 2px !important;
    }
    
    .maplibregl-popup-content {
        padding: 8px !important;
        margin: 0 !important;
    }
    
    .maplibregl-popup-tip {
        display: none !important;
    }
}

/* Touch-friendly untuk mobile */
@media (hover: none) and (pointer: coarse) {
    .badge-koridor-interaktif {
        min-height: 32px;
        min-width: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .badge-koridor-interaktif:active {
        transform: scale(0.95);
        background-color: rgba(0,0,0,0.1) !important;
    }
}

/* Route info modern card */
.route-info-card {
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 18px 20px;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.route-info-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.09);
}
.route-info-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.route-info-main {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.route-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}
.route-info-details {
    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 10px 12px;
    background: #f9fbfd;
}
.route-info-details > summary {
    cursor: pointer;
    font-weight: 700;
}
.route-info-details-content {
    margin-top: 8px;
}
.route-info-actions { margin-top: 6px; display: flex; justify-content: center; }

/* Make card fill more width on large screens */
@media (min-width: 1200px) {
    #stopsTitle .route-info-card { width: 100%; }
}

/* Dark mode tweaks */
[data-theme="dark"] .route-info-card { background: #0f172a; border: 1px solid #1e293b; }
[data-theme="dark"] .route-info-details { background: #0b1220; border-color: #122135; }

/* Service info card polish */
#stopsTitle .service-info-container {
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 18px 20px;
}
#stopsTitle .service-info-container .service-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 16px;
}
#stopsTitle .service-info-container .info-item {
    background: #f9fafb;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 10px 12px;
}
#stopsTitle .service-info-container .info-item:hover {
    background: #f3f6fb;
}
#stopsTitle .service-info-container .route-badge-container {
    margin-top: 4px;
}
#stopsTitle .service-info-container .route-jurusan {
    margin-bottom: 6px;
}

/* Full-width behavior on large screens */
@media (min-width: 1200px) {
    #stopsTitle { width: 100%; }
    #stopsTitle .service-info-container { width: 100%; }
}

/* Dark mode tweaks for service-info card */
[data-theme="dark"] #stopsTitle .service-info-container { background: #0f172a; border: 1px solid #1e293b; }
[data-theme="dark"] #stopsTitle .service-info-container .info-item { background: #0b1220; border-color: #122135; }

/* Share Route Button Styles */
.share-route-container {
    text-align: center;
    margin-top: 20px;
}

.share-route-btn {
    transition: all 0.3s ease;
    border-width: 2px;
    font-size: 1.1rem;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.share-route-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.share-route-btn:hover::before {
    left: 100%;
}

.share-route-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
    border-width: 2px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.share-route-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.share-route-btn .iconify-icon {
    transition: transform 0.3s ease;
}

.share-route-btn:hover .iconify-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Share Options Modal Styles */
.share-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.share-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-option:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.share-option:hover::before {
    opacity: 1;
}

.share-option:active {
    transform: translateY(0);
}

.share-option-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.share-option:hover .share-option-icon {
    transform: scale(1.1);
}

.share-option-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.share-option-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.share-option-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.share-option:hover .share-option-title {
    color: #1e40af;
}

.share-option:hover .share-option-desc {
    color: #475569;
}

/* Dark mode styles for share options */
[data-theme="dark"] .share-option {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .share-option:hover {
    background: #334155;
    border-color: #60a5fa;
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.2);
}

[data-theme="dark"] .share-option:hover::before {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
}

[data-theme="dark"] .share-option-icon {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

[data-theme="dark"] .share-option-title {
    color: #f1f5f9;
}

[data-theme="dark"] .share-option-desc {
    color: #94a3b8;
}

[data-theme="dark"] .share-option:hover .share-option-title {
    color: #60a5fa;
}

[data-theme="dark"] .share-option:hover .share-option-desc {
    color: #cbd5e1;
}

/* Route Preview Styles */
.route-preview {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 24px;
}

/* Route Card Styles */
.route-card-container {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
}

.route-card-header {
    position: relative;
}

.route-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.route-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
}

.route-web-section {
    background: #f9fafb;
    border-radius: 8px;
    padding: 15px;
}

.web-info {
    text-align: center;
}

.web-info div:first-child {
    font-family: 'PT Sans', sans-serif;
    letter-spacing: 0.5px;
}

.web-info div:last-child {
    font-family: 'PT Sans', sans-serif;
    font-style: italic;
}

.web-url a {
    transition: color 0.2s ease;
}

.web-url a:hover {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
}

/* Route service type styling */
.route-service-type {
    font-family: 'PT Sans', sans-serif;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.route-service-type:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px);
}


/* PT Sans Font Class */
.pt-sans {
    font-family: 'PT Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Image Generation Optimizations */
.route-card-container {
    font-family: 'PT Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Ensure route card is fully visible for screenshot */
.route-card-container[style*="height: auto"] {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.route-card-container * {
    box-sizing: border-box;
}

.route-preview-header h6 {
    color: #3b82f6;
    font-weight: 700;
    font-size: 1.1rem;
}

.route-preview-content {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border: 2px solid #e2e8f0;
    color: #1e293b;
    line-height: 1.8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.route-preview-scrollable {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.route-preview-scrollable::-webkit-scrollbar {
    width: 8px;
}

.route-preview-scrollable::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.route-preview-scrollable::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.route-preview-scrollable::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.route-preview-content:hover {
    border-color: #3b82f6;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.1);
}

.route-preview-text {
    font-weight: 400;
}



/* Modal Enhancements */
.modal-content {
    border-radius: 20px;
    overflow: hidden;
}

/* Dark mode for modal footer */
[data-theme="dark"] .modal-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-top-color: #334155;
}

[data-theme="dark"] .modal-footer .btn-outline-secondary {
    border-color: #475569;
    color: #cbd5e1;
}

[data-theme="dark"] .modal-footer .btn-outline-secondary:hover {
    background-color: #475569;
    border-color: #64748b;
    color: #e2e8f0;
}

.modal-header.bg-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
}

.modal-header .btn-close-white {
    filter: brightness(0) invert(1);
}

[data-theme="dark"] .modal-header .btn-close-white {
    filter: brightness(0) invert(1);
}

.modal-body {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

[data-theme="dark"] .modal-body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.modal-footer {
    background: transparent;
}

/* Spacing adjustments for route info and stops list */

#stopsByRoute { margin-top: 0 !important; }
.variant-selector-stops { margin-top: 6px;  }

/* Layout fixes for Service Info and Stops list */
#stopsTitle { display: block; width: 100%; box-sizing: border-box; }
#stopsTitle .service-info-container { width: 100%; margin: 0; }
.stops-section .service-info-container { margin-left: 0; margin-right: 0; }

/* Reduce spacing between section header and content in Stops section */
.stops-section .section-header { margin-bottom: 8px !important; padding: 0 !important; }

/* Remove unintended top space before stops list */
#stopsByRoute { margin-top: 0 !important; }

/* Optional: tighten the search section spacing if needed */
.search-section .section-header { margin-bottom: 12px; padding-bottom: 0; }

/* Dark mode for all popups */
[data-theme="dark"] .custom-popup-transparent .maplibregl-popup-content { background: transparent !important; }
[data-theme="dark"] .stop-popup {
	background: #0f172a !important;
	color: #e2e8f0 !important;
	border: 1px solid #1e293b;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
[data-theme="dark"] .stop-popup * { color: #e2e8f0; }
[data-theme="dark"] .stop-popup .badge { filter: brightness(0.95); }

[data-theme="dark"] .popup-card-friendly {
	background: rgba(15,23,42,0.95) !important;
	color: #e2e8f0 !important;
	border: 1px solid #1e293b;
	box-shadow: 0 8px 24px rgba(0,0,0,0.35) !important;
}
[data-theme="dark"] .popup-card-friendly hr { border-top-color: #263043 !important; }
[data-theme="dark"] .custom-popup-transparent .text-muted { color: #94a3b8 !important; }

/* Chips/badges inside live popup (breadcrumb) */
[data-theme="dark"] .popup-card-friendly [style*='background:#eef2ff'] {
	background: #1e293b !important;
	color: #cbd5e1 !important;
}

/* Hide MapLibre GeolocateControl puck and accuracy circle when custom marker is active */
#map.live-has-custom-marker .maplibregl-user-location-dot,
#map.live-has-custom-marker .maplibregl-user-location-accuracy-circle,
#map.live-has-custom-marker .maplibregl-user-location-heading { display: none !important; }

.stops-section .stops-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 16px 18px;
}

[data-theme="dark"] .stops-section .stops-content {
    background: #0f172a;
    border: 1px solid #1e293b;
}

.stop-header .intermodal-icons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 6px;
}
.stop-header .intermodal-icon {
    font-size: 1.1rem;
    color: #0ea5e9;
}
.stop-header .intermodal-icon.mrt { color: #0ea5e9; }
.stop-header .intermodal-icon.lrt { color: #ef4444; }
.stop-header .intermodal-icon.krl { color: #16a34a; }
.stop-header .intermodal-icon-img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; box-shadow: 0 1px 2px rgba(0,0,0,0.15); }

.stop-title { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.stop-title .stop-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stop-header .wc-icon iconify-icon { font-size: 18px; }

.jaklingko-badge { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; margin-left: 8px; filter: invert(1); }
[data-theme="dark"] .jaklingko-badge { filter: none; }

.stop-popup .intermodal-icon-img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.stop-popup .intermodal-icons { display: inline-flex; align-items: center; gap: 4px; }

/* Battery Saver: reduce or disable animations/hover transitions */
.battery-saver * { transition: none !important; animation: none !important; }
.battery-saver .stop-item:hover { background: inherit !important; transform: none !important; }
.battery-saver .route-info-card:hover { box-shadow: none !important; }
.battery-saver .badge-koridor-interaktif:hover { box-shadow: none !important; transform: none !important; filter: none !important; }
.battery-saver .coord-link:hover { transform: none !important; }

/* AMOLED-friendly backgrounds in dark mode */
[data-theme="dark"].battery-saver .modern-header,
[data-theme="dark"].battery-saver .map-section,
[data-theme="dark"].battery-saver .search-section,
[data-theme="dark"].battery-saver .stops-section,
[data-theme="dark"].battery-saver .electronic-cards-section,
[data-theme="dark"].battery-saver .transjakarta-gtfs-section,
[data-theme="dark"].battery-saver .modern-footer {
	background: #000000 !important;
	border-color: #111418 !important;
	box-shadow: none !important;
}
[data-theme="dark"].battery-saver .stops-container,
[data-theme="dark"].battery-saver .stops-list { background: #000000 !important; }
[data-theme="dark"].battery-saver .section-title,
[data-theme="dark"].battery-saver .route-jurusan,
[data-theme="dark"].battery-saver .info-label,
[data-theme="dark"].battery-saver .info-value,
[data-theme="dark"].battery-saver .stop-name { color: #e5e7eb !important; }
[data-theme="dark"].battery-saver .info-item { background: #050505 !important; border-color: #111418 !important; }

/* Ensure popup readability in dark AMOLED */
[data-theme="dark"].battery-saver .stop-popup { background: #0a0a0a !important; border-color: #111418 !important; }

/* Fallback: enforce AMOLED even if data-theme not set correctly */
.battery-saver.force-amoled .modern-header,
.battery-saver.force-amoled .map-section,
.battery-saver.force-amoled .search-section,
.battery-saver.force-amoled .stops-section,
.battery-saver.force-amoled .modern-footer { background: #000000 !important; border-color: #111418 !important; box-shadow: none !important; }

/* Modern loading progress */
.loading-content.modern { padding: 32px 28px; border-radius: 16px; }
.progress.modern { height: 10px; border-radius: 999px; overflow: hidden; background: rgba(38,70,151,0.12); }
.progress.modern .progress-bar { height: 100%; border-radius: 999px; background: linear-gradient(90deg,#264697,#4FA8DE); box-shadow: none; }
.progress-logo { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; }
[data-theme="dark"] .progress.modern { background: rgba(79,168,222,0.15); }
[data-theme="dark"] .progress.modern .progress-bar { background: linear-gradient(90deg,#4FA8DE,#87CEEB); }

/* Improve legibility of all badges across varied backgrounds */
.badge,
.badge-koridor-interaktif {
	text-shadow: 0 1px 2px rgba(0,0,0,0.45);
}

body.no-scroll { overflow: hidden; height: 100vh; }

/* Prevent long route labels like JAK.100 from overflowing */
.badge-koridor-interaktif {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

/* Category route list styling */
.category-routes .list-group {
    border-radius: 0.5rem;
    overflow: hidden;
}

.category-routes .list-group-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Compact badge inside category route list, prevent overflow */
.category-routes .list-group-item .badge {
    display: inline-block;
    max-width: 72px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 10px;
}

/* Dark mode for category route list */
[data-theme="dark"] .category-routes .list-group-item {
    background: rgba(40, 49, 65, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
    color: #e9ecef;
}

[data-theme="dark"] .category-routes .list-group-item .badge {
    box-shadow: none;
}

/* Vertical centering fix for badges in stops list on mobile */
@media (max-width: 768px) {
	.stops-list .badge-koridor-interaktif {
		display: inline-flex;
		align-items: center;
		line-height: 1;
		vertical-align: middle;
		padding-top: 0.35em;
		padding-bottom: 0.35em;
	}
}

/* Global baseline/centering fix for badges in popups and route badges */
.stop-popup .badge,
.leaflet-popup-content .badge,
.maplibregl-popup-content .badge,
.badge-koridor-interaktif {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	line-height: 1;
}

/* Reasonable default height for compact badges; keep responsive */
.badge-koridor-interaktif {
	min-height: 1.6em;
}

@media (max-width: 480px) {
	.badge-koridor-interaktif {
		min-height: 1.5em;
	}
}

/* Make badges larger on mobile (global + map popups) */
@media (max-width: 768px) {
	.badge-koridor-interaktif,
	.stop-popup .badge-koridor-interaktif,
	.leaflet-popup-content .badge-koridor-interaktif,
	.maplibregl-popup-content .badge-koridor-interaktif {
		font-size: 0.92rem !important;
		padding: 0.36em 0.7em !important;
		min-height: 1.55em;
	}
	/* Allow a bit wider badge in category route list on mobile so text doesn't truncate too early */
	.category-routes .list-group-item .badge { max-width: 90px; }
}

/* ====== MODERN ROUTE INFO STYLING ====== */

/* Main route info card */
.route-info-modern-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Fix for stopsTitle container */
#stopsTitle {
    margin-bottom: 0 !important;
}

#stopsTitle .route-info-modern-card {
    margin-top: 0 !important;
}

.route-info-modern-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Header section */
.route-header-section {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 2px solid #f8fafc;
    margin-bottom: 20px;
}

/* Modern route badge */
.modern-route-badge {
    margin-bottom: 12px;
}

.route-code-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 80px;
    padding: 0 16px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: perspective(100px) rotateX(5deg);
    transition: all 0.3s ease;
}

.route-code-badge:hover {
    transform: perspective(100px) rotateX(0deg) scale(1.05);
}

.route-code-text {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    font-family: 'PT Sans', sans-serif;
}

/* Modern route destination */
.modern-route-destination {
    margin-bottom: 12px;
}

.route-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.2;
    font-family: 'PT Sans', sans-serif;
    text-align: center;
    word-spacing: 2px;
    letter-spacing: 0.5px;
}

.route-via {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3f4f6;
    color: #6b7280;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Modern service type */
.modern-service-type {
    margin-bottom: 6px;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'PT Sans', sans-serif;
}

/* Details section */
.route-details-section {
    margin-bottom: 20px;
}

.route-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

/* Modern info cards */
.modern-info-card {
    background: #fafafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    transition: all 0.2s ease;
}

.modern-info-card:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.info-icon-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #6b7280;
    flex: 1;
}

.info-content-modern {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.price-highlight {
    font-size: 1.3rem;
    font-weight: 700;
    color: #059669;
}

.distance-highlight {
    font-size: 1.2rem;
    font-weight: 700;
    color: #d97706;
}

/* Actions section */
.route-actions-section {
    border-top: 2px solid #f8fafc;
    padding-top: 20px;
    display: flex;
    justify-content: center;
}

/* Dark mode styles */
[data-theme="dark"] .route-info-modern-card {
    background: #0f172a;
    border-color: #1e293b;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .route-info-modern-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .route-header-section {
    border-bottom-color: #1e293b;
}

[data-theme="dark"] .route-name {
    color: #f9fafb;
}

[data-theme="dark"] .route-via {
    background: #1e293b;
    color: #9ca3af;
}

[data-theme="dark"] .modern-info-card {
    background: #1e293b;
    border-color: #374151;
}

[data-theme="dark"] .modern-info-card:hover {
    background: #334155;
    border-color: #4b5563;
}

[data-theme="dark"] .info-title {
    color: #9ca3af;
}

[data-theme="dark"] .info-content-modern {
    color: #f9fafb;
}

[data-theme="dark"] .route-actions-section {
    border-top-color: #1e293b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .route-info-modern-card {
        padding: 20px;
        margin: 12px 0;
    }
    
    .route-code-badge {
        min-width: 70px;
        height: 70px;
        padding: 0 12px;
    }
    
    .route-code-text {
        font-size: 1.8rem;
        font-family: 'PT Sans', sans-serif;
    }
    
    .route-name {
        font-size: 1.5rem;
    }
    
    .route-details-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .modern-info-card {
        padding: 16px;
    }
    
    .info-content-modern {
        padding: 0;
        font-size: 1rem;
    }
    
    .info-icon-modern {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .route-details-grid {
        grid-template-columns: 1fr;
    }
    
    .info-header {
        gap: 10px;
    }
    
    .info-icon-modern {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .info-content-modern {
        padding: 0;
        font-size: 0.95rem;
    }
}

/* ====== OPERATING HOURS COUNTDOWN STYLING ====== */

.operating-hours-card .info-content-modern {
    flex-direction: column;
    gap: 8px;
}

.operating-hours-main {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.operating-countdown {
    font-size: 0.9rem;
    margin-top: 4px;
}

.countdown-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-family: 'PT Sans', sans-serif;
}

.countdown-status:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.countdown-running-good:hover {
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    transform: translateY(-2px) scale(1.02);
}

.countdown-running-warning:hover {
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
    transform: translateY(-2px) scale(1.02);
}

.countdown-running-danger:hover {
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
    transform: translateY(-2px) scale(1.02);
}

.countdown-24-hour:hover {
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px) scale(1.02);
}

.countdown-message {
    font-weight: 700;
}

.countdown-time {
    font-weight: 700;
    opacity: 0.9;
}

/* Status-specific countdown colors */
.countdown-running-good {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.25));
    border-color: rgba(16, 185, 129, 0.4);
    color: #059669 !important;
}

.countdown-running-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.25));
    border-color: rgba(245, 158, 11, 0.4);
    color: #d97706 !important;
}

.countdown-running-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.25));
    border-color: rgba(239, 68, 68, 0.4);
    color: #dc2626 !important;
}

.countdown-waiting {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.15), rgba(107, 114, 128, 0.25));
    border-color: rgba(107, 114, 128, 0.4);
    color: #4b5563 !important;
}

.countdown-ended {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.15), rgba(107, 114, 128, 0.25));
    border-color: rgba(107, 114, 128, 0.4);
    color: #4b5563 !important;
}

.countdown-24-hour {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(52, 211, 153, 0.3));
    border-color: rgba(16, 185, 129, 0.5);
    color: #059669 !important;
}

/* Dark mode for countdown */
[data-theme="dark"] .operating-hours-main {
    color: #f9fafb;
}

[data-theme="dark"] .countdown-status {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .countdown-running-good {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.3));
    border-color: rgba(16, 185, 129, 0.5);
}

[data-theme="dark"] .countdown-running-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.3));
    border-color: rgba(245, 158, 11, 0.5);
}

[data-theme="dark"] .countdown-running-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.3));
    border-color: rgba(239, 68, 68, 0.5);
}

[data-theme="dark"] .countdown-waiting {
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.2), rgba(156, 163, 175, 0.3));
    border-color: rgba(156, 163, 175, 0.5);
    color: #9ca3af !important;
}

[data-theme="dark"] .countdown-ended {
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.2), rgba(156, 163, 175, 0.3));
    border-color: rgba(156, 163, 175, 0.5);
    color: #9ca3af !important;
}

[data-theme="dark"] .countdown-24-hour {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(52, 211, 153, 0.35));
    border-color: rgba(16, 185, 129, 0.6);
}

/* Place Search Results Styling */
.place-result {
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.place-result:hover {
    border-left-color: #28a745;
    transform: translateX(2px);
}

/* Place popup content styling (applied directly to content) */
.place-popup-container .place-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.place-popup-container .nearest-stops {
    margin-top: 12px;
}

.place-popup-container .stop-item {
    transition: background-color 0.2s ease;
    border-radius: 6px;
    margin: 2px 0;
    padding: 8px;
}

.place-popup-container .stop-item:hover {
    background-color: #f8f9fa !important;
    transform: translateX(2px);
}

.place-popup-container .stops-list {
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 transparent;
}

.place-popup-container .stops-list::-webkit-scrollbar {
    width: 6px;
}

.place-popup-container .stops-list::-webkit-scrollbar-track {
    background: transparent;
}

.place-popup-container .stops-list::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.place-popup-container .stops-list::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Badge styling for stops */
.place-popup-container .badge-warning {
    background-color: #f59e0b !important;
    color: white !important;
}

.place-popup-container .badge-primary {
    background-color: #3b82f6 !important;
    color: white !important;
}

.place-popup-container .badge-sm {
    padding: 2px 6px;
    font-size: 0.7em;
    border-radius: 4px;
}

/* Place popup container styling (non-transparent) */
.place-popup-container .maplibregl-popup-content {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: none !important;
    padding: 0;
    margin: 0;
}

.place-popup-container .maplibregl-popup-tip {
    border-top-color: #ffffff !important;
    border-bottom-color: #ffffff !important;
}

/* Dark mode styles for place search */
[data-theme="dark"] .place-popup-container .maplibregl-popup-content {
    background: #1f2937 !important;
    border: 1px solid #374151;
    color: #e2e8f0;
}

[data-theme="dark"] .place-popup-container .maplibregl-popup-tip {
    border-top-color: #1f2937 !important;
    border-bottom-color: #1f2937 !important;
}

[data-theme="dark"] .place-popup-container .place-header {
    border-bottom-color: #4a5568;
}

[data-theme="dark"] .place-popup-container .stop-item {
    border-bottom-color: #4a5568;
}

[data-theme="dark"] .place-popup-container .stop-item:hover {
    background-color: #4a5568 !important;
}

[data-theme="dark"] .place-popup-container .text-muted {
    color: #a0aec0 !important;
}

[data-theme="dark"] .place-popup-container .text-dark {
    color: #e2e8f0 !important;
}

/* Search results section styling */
.search-results .list-group-item.text-success {
    background-color: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.2);
}

.search-results .list-group {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-results .list-group-item {
    border-color: rgba(0, 0, 0, 0.125);
    background-color: #ffffff;
}

.search-results .list-group-item:hover {
    background-color: #f8f9fa;
}

/* Route result items styling */
.search-results .list-group-item:has(.badge-koridor-interaktif) {
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.search-results .list-group-item:has(.badge-koridor-interaktif):hover {
    border-left-color: #3b82f6;
    transform: translateX(2px);
}

/* Stop result items styling */
.search-results .list-group-item:has(.intermodal-icons) {
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.search-results .list-group-item:has(.intermodal-icons):hover {
    border-left-color: #8b5cf6;
    transform: translateX(2px);
}

/* Dark mode for search results */
[data-theme="dark"] .search-results .list-group {
    border-color: rgba(255, 255, 255, 0.125);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .search-results .list-group-item {
    background-color: #1f2937;
    border-color: rgba(255, 255, 255, 0.125);
    color: #e5e7eb;
}

[data-theme="dark"] .search-results .list-group-item:hover {
    background-color: #374151;
}

[data-theme="dark"] .search-results .list-group-item.text-success {
    background-color: rgba(72, 187, 120, 0.2);
    border-color: rgba(72, 187, 120, 0.3);
    color: #68d391 !important;
}

[data-theme="dark"] .search-results .list-group-item.text-primary {
    background-color: rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
    color: #60a5fa !important;
}

[data-theme="dark"] .search-results .list-group-item.bg-light {
    background-color: #374151 !important;
    color: #d1d5db !important;
}

[data-theme="dark"] .search-results .fw-bold {
    color: #f9fafb !important;
}

[data-theme="dark"] .search-results .text-muted {
    color: #9ca3af !important;
}

[data-theme="dark"] .search-results .text-dark {
    color: #f9fafb !important;
}

/* Route result hover effects in dark mode */
[data-theme="dark"] .search-results .list-group-item:has(.badge-koridor-interaktif):hover {
    border-left-color: #60a5fa;
    background-color: rgba(59, 130, 246, 0.1);
}

/* Stop result hover effects in dark mode */
[data-theme="dark"] .search-results .list-group-item:has(.intermodal-icons):hover {
    border-left-color: #a78bfa;
    background-color: rgba(139, 92, 246, 0.1);
}

/* Place result hover effects in dark mode */
[data-theme="dark"] .search-results .place-result:hover {
    border-left-color: #34d399;
    background-color: rgba(52, 211, 153, 0.1);
}

/* Search Filter Tabs Styling */
.search-filter-tabs {
    padding: 8px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 12px !important;
    animation: slideDown 0.3s ease;
}

.filter-buttons {
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
    color: #64748b;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    min-width: 75px;
    justify-content: center;
}

.filter-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #1d4ed8;
    color: white;
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.filter-btn.active:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 3px 16px rgba(59, 130, 246, 0.4);
}

.filter-btn iconify-icon {
    font-size: 1.1em;
}

.filter-btn span {
    font-family: 'PT Sans', sans-serif;
    letter-spacing: 0.3px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark mode for filter tabs */
[data-theme="dark"] .search-filter-tabs {
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .filter-btn {
    background: rgba(40, 49, 65, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

[data-theme="dark"] .filter-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}

[data-theme="dark"] .filter-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #1d4ed8;
    color: white;
}

[data-theme="dark"] .filter-btn.active:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

/* Responsive filter buttons */
@media (max-width: 576px) {
    .filter-btn {
        padding: 5px 8px;
        font-size: 0.8em;
        min-width: 65px;
    }
    
    .filter-btn span {
        display: none;
    }
    
    .filter-btn iconify-icon {
        font-size: 1.2em;
    }
}

/* Search Loading Indicator */
.searching-indicator {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 197, 253, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    animation: pulse 2s ease-in-out infinite;
}

.searching-indicator .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.125em;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Dark mode for loading indicator */
[data-theme="dark"] .searching-indicator {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.15));
    border-color: rgba(59, 130, 246, 0.3);
    color: #e2e8f0;
}

/* Dark mode for search input */
[data-theme="dark"] .modern-input {
    background-color: #374151;
    border-color: rgba(255, 255, 255, 0.2);
    color: #f9fafb;
}

[data-theme="dark"] .modern-input:focus {
    background-color: #4b5563;
    border-color: #60a5fa;
    box-shadow: 0 0 0 0.2rem rgba(96, 165, 250, 0.25);
    color: #f9fafb;
}

[data-theme="dark"] .modern-input::placeholder {
    color: #9ca3af;
}

[data-theme="dark"] .search-icon {
    color: #9ca3af;
}

/* Dark mode for badges in search results */
[data-theme="dark"] .search-results .badge-koridor-interaktif {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .search-results .badge-warning {
    background-color: #f59e0b !important;
    color: #111827 !important;
    font-weight: 600;
}

[data-theme="dark"] .search-results .badge-primary {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
    font-weight: 600;
}

/* Dark mode for no results message */
[data-theme="dark"] .search-results .text-center.text-muted {
    color: #9ca3af !important;
    background-color: #374151;
}

[data-theme="dark"] .search-results .text-center.text-muted .fw-bold {
    color: #d1d5db !important;
}

[data-theme="dark"] .search-results .text-center.text-muted .fw-semibold {
    color: #f3f4f6 !important;
}

/* Dark mode for intermodal icons */
[data-theme="dark"] .search-results .intermodal-icons img {
    filter: brightness(1.1) contrast(1.1);
}

/* Dark mode for JakLingko badge */
[data-theme="dark"] .search-results .jaklingko-badge {
    filter: brightness(1.2) contrast(1.1);
}

/* Faster transitions for search results */
.search-results .list-group-item {
    transition: all 0.15s ease;
}

.search-results .lazy-animate {
    animation: fadeInUp 0.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Weather Info di Halte */
.stop-weather-info {
    margin: 6px 0;
    padding: 8px 12px;
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
    border-radius: 8px;
    border-left: 4px solid #03a9f4;
    font-size: 0.85rem;
}

/* Weather Info di Popup */
.popup-weather-info {
    margin: 8px 0;
    padding: 6px 8px;
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
    border-radius: 6px;
    border-left: 3px solid #03a9f4;
    font-size: 0.8rem;
}

/* Weather Info di Place Popup */
.place-weather-info {
    margin: 0 12px 12px 12px;
    padding: 8px 10px;
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
    border-radius: 8px;
    border-left: 3px solid #03a9f4;
    font-size: 0.85rem;
}

.weather-loading, .weather-error {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #0277bd;
}

.weather-loading-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.weather-content {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.weather-icon {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weather-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.weather-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.weather-temp {
    font-weight: bold;
    color: #01579b;
    font-size: 0.9rem;
}

.weather-desc {
    color: #0277bd;
    font-size: 0.75rem;
    text-transform: capitalize;
}

.weather-humidity {
    display: flex;
    align-items: center;
    color: #0288d1;
    font-size: 0.75rem;
    white-space: nowrap;
    font-weight: 600;
    background: rgba(2, 136, 209, 0.1);
    padding: 4px 6px;
    border-radius: 4px;
}

.weather-error {
    color: #666;
}

.weather-text {
    font-size: 0.75rem;
}

.weather-wind {
    color: #0288d1;
    font-size: 0.65rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Dark Mode Support for Weather Components */
[data-theme="dark"] .stop-weather-info,
[data-theme="dark"] .popup-weather-info,
[data-theme="dark"] .place-weather-info {
    background: rgba(40, 49, 65, 0.9) !important;
    border-left-color: #4FA8DE !important;
}

[data-theme="dark"] .weather-loading,
[data-theme="dark"] .weather-error {
    color: #4FA8DE !important;
}

[data-theme="dark"] .weather-temp {
    color: #4FA8DE !important;
}

[data-theme="dark"] .weather-desc {
    color: #adb5bd !important;
}

[data-theme="dark"] .weather-humidity {
    background: rgba(79, 168, 222, 0.1) !important;
    color: #4FA8DE !important;
}

[data-theme="dark"] .weather-wind {
    color: #4FA8DE !important;
}

[data-theme="dark"] .weather-text {
    color: #adb5bd !important;
}

[data-theme="dark"] .weather-content {
    color: #eee !important;
}

/* Additional dark mode styles for weather icons */
[data-theme="dark"] .weather-icon-img {
    filter: brightness(0.9) contrast(1.1);
}

/* Ensure loading icon is visible in dark mode */
[data-theme="dark"] .weather-loading-icon {
    color: #4FA8DE !important;
}

/* Weather detail modal styling */
.weather-detail-head .text-muted { letter-spacing: 0.3px; }
.weather-card { background: linear-gradient(135deg,#ffffff 0%,#f8fafc 100%); border:1px solid #e5e7eb; border-radius:10px; padding:10px; }
.forecast-card { background: linear-gradient(135deg,#ffffff 0%,#f8fafc 100%); border:1px solid #e5e7eb; border-radius:10px; padding:10px; text-align:center; }
.forecast-card .forecast-day { font-weight:700; color:#111827; margin-bottom:2px; }
.forecast-card .forecast-icon { font-size:1.4rem; }
.forecast-card .forecast-temp { font-weight:700; }
.forecast-card .forecast-temp .hot { color:#ef4444; }
.forecast-card .forecast-temp .cool { color:#3b82f6; }

[data-theme="dark"] .weather-card,
[data-theme="dark"] .forecast-card { background: linear-gradient(135deg,#1f2937 0%,#111827 100%); border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .forecast-card .forecast-day { color:#e5e7eb; }

/* Settings - modern card-like toggles (light) */
#settingsBody .form-check.form-switch {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	margin: 8px 0;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	box-shadow: 0 1px 2px rgba(0,0,0,0.04);
	transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
#settingsBody .form-check.form-switch:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(0,0,0,0.06);
	border-color: #e2e8f0;
}
#settingsBody .form-check.form-switch .form-check-input {
	cursor: pointer;
}
#settingsBody .form-check.form-switch .form-check-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-weight: 600;
	color: #374151;
}
#settingsBody .form-check.form-switch .form-check-label::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--setting-accent, #3b82f6);
	box-shadow: 0 0 0 6px color-mix(in srgb, var(--setting-accent, #3b82f6) 12%, transparent);
}

/* Accent colors per setting */
#settingBatterySaver + label { --setting-accent: #f59e0b; }
#settingShowIntermodal + label { --setting-accent: #6366f1; }
#settingShowJaklingko + label { --setting-accent: #10b981; }
#settingShowAccessibility + label { --setting-accent: #059669; }
#settingFilterAccess + label { --setting-accent: #94a3b8; }
#settingShowWeather + label { --setting-accent: #0ea5e9; }
#settingRadiusImageIcons + label { --setting-accent: #2563eb; }

/* Dark mode adjustments */
[data-theme="dark"] #settingsBody .form-check.form-switch {
	background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
	border-color: rgba(255,255,255,0.08);
	box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
[data-theme="dark"] #settingsBody .form-check.form-switch:hover {
	box-shadow: 0 10px 20px rgba(0,0,0,0.45);
}
[data-theme="dark"] #settingsBody .form-check.form-switch .form-check-label {
	color: #e5e7eb;
}

/* Settings grid modern layout */
#settingsBody .settings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media (min-width: 576px) {
    #settingsBody .settings-grid {
        grid-template-columns: 1fr 1fr;
    }
}
#settingsBody .setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
#settingsBody .setting-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    border-color: #e2e8f0;
}
#settingsBody .setting-item .setting-text { min-width: 0; }
#settingsBody .setting-item .setting-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}
#settingsBody .setting-item .setting-desc {
    font-size: 0.85em;
    color: #6b7280;
}
#settingsBody .setting-item .setting-example {
    margin-top: 4px;
    font-size: 0.8em;
    color: #374151;
    opacity: 0.8;
}
#settingsBody .setting-item .form-check-input { width: 2.6em; height: 1.4em; }

/* Off state dim effect */
#settingsBody .setting-item.off { opacity: 0.65; filter: grayscale(10%); }

/* Dark mode for modern grid */
[data-theme="dark"] #settingsBody .setting-item {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
[data-theme="dark"] #settingsBody .setting-item .setting-title { color: #e5e7eb; }
[data-theme="dark"] #settingsBody .setting-item .setting-desc { color: #9ca3af; }
[data-theme="dark"] #settingsBody .setting-item .setting-example { color: #cbd5e1; }

/* In-card switch: reset card styles on the right switch container */
#settingsBody .setting-item .form-check.form-switch {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
}
#settingsBody .setting-item .form-check.form-switch:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}
#settingsBody .setting-item .form-check.form-switch .form-check-input {
    width: 2.6em;
    height: 1.4em;
}
#settingsBody .setting-item .form-check-input:checked {
    background-color: #2563eb;
    border-color: #2563eb;
}
[data-theme="dark"] #settingsBody .setting-item .form-check-input:checked {
    background-color: #60a5fa;
    border-color: #60a5fa;
}

