/* DungarpurCity Trains v1.0.9: route context and Android WebView fixes. */
.dct-ui .field-text b {
	color: #111827 !important;
	-webkit-text-fill-color: #111827 !important;
	opacity: 1 !important;
}

.dct-ui a.train-card-link,
.dct-ui a.train-card-link:hover,
.dct-ui a.train-card-link:focus {
	display: block;
	color: inherit !important;
	text-decoration: none !important;
	cursor: pointer;
}

.dct-ui a.train-card-link * {
	text-decoration: none !important;
}

.dct-ui a.train-card-link:focus-visible {
	outline: 3px solid #2563eb;
	outline-offset: 3px;
}

body.dct-station-picker-open {
	overflow: hidden !important;
}

.dct-station-sheet:not([hidden]) {
	display: block !important;
	position: fixed !important;
	left: 0 !important;
	right: 0 !important;
	top: var(--dct-sheet-top, 0px) !important;
	bottom: auto !important;
	width: 100% !important;
	height: var(--dct-sheet-height, 100dvh) !important;
	z-index: 2147483000 !important;
}

.dct-station-sheet .dct-sheet-panel {
	display: flex !important;
	flex-direction: column !important;
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	margin: 0 auto !important;
	height: min(520px, calc(var(--dct-sheet-height, 100dvh) - 8px)) !important;
	max-height: calc(var(--dct-sheet-height, 100dvh) - 8px) !important;
}

.dct-station-sheet .dct-station-options {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	max-height: none !important;
	overflow-y: auto !important;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

@media (max-width: 640px) {
	.dct-station-sheet .dct-sheet-panel {
		width: 100% !important;
		border-radius: 28px 28px 0 0 !important;
	}
}
