html {
  overflow: hidden;
  height: -webkit-fill-available;
}

body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  margin: 0;
}

a {
  color: #7b1fa2;
}

a:visited {
  color: #7b1fa2;
}

a:hover {
  color: #ffa000;
}

.time-table-head th {
  height: auto;
  background-color: #fff;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  position: sticky;
  top: 0;
}

.table-top-left {
  border-left: 1px solid #ddd;
  z-index: 10;
  left: 0;
}

.table-top-left:hover {
  background-color: #f3e5f5;
}

.time-table-body > tr:hover {
  background-color: #fff8e1;
}

.time-table-body > tr > td {
  height: auto;
  border-right: 1px solid #ddd;
  border-bottom: none;
}

.station {
  background-color: #fff;
  border-left: 1px solid #ddd;
  position: sticky;
  left: 0;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.time-table-body > tr:last-child > td {
  border-bottom: 1px solid #ddd;
}

.highlight-station-th {
  font-weight: bold;
  background-color: #f3e5f5;
}

.highlight-station-td {
  background-color: #f3e5f5 !important;
}

.legal ul {
  padding-left: 1rem;
  line-height: 1.75; 
}

.legal ol {
  padding-left: 1rem;
  line-height: 1.75; 
}

.legal p {
  line-height: 1.75; 
}

.about p {
  line-height: 1.75; 
  margin-bottom: 8px;
}

.v-application {
  min-height: 100dvh;
}

#map {
  height: 100dvh;
  width: 100vw;
  position: absolute;
}

.overlay-container {
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  position: absolute;
  display: flex;
  flex-direction: column;
}

/* === Utility classes for HTML templates === */

.ws-normal {
  white-space: normal;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-align-center {
  display: flex;
  align-items: center;
}

.content-card-scroll {
  flex-grow: 1;
  overflow-y: auto;
}
