.xc-live-arr-dep-individual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
  border-radius: 6px;
  background: #fff;
  padding-top: 56px;
  padding-bottom: 56px;
}

.individual-arr-dep-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--Neutral-White, #fff);
  width: 432px;
  border-radius: 4px;
  border: 1px solid #A6A6A6;
}

.individual-arr-dep-tab {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: #000;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "rooney-sans";
  font-size: 20px;
  font-style: italic;
  font-weight: 700;
  line-height: normal;
  width: 216px;
  height: 25px;
  padding: 16px 32px;
  box-sizing: content-box;
}

.individual-arr-dep-tab.left {
  border-radius: 4px 0px 0px 4px;
  background: #FFF;
}

.individual-arr-dep-tab.right {
  border-radius: 0px 4px 4px 0px;
  background: #FFF;
}

.frame::-webkit-scrollbar {
  -webkit-appearance: none;
}

.frame::-webkit-scrollbar:vertical {
  width: 4px;
}

.frame::-webkit-scrollbar:horizontal {
  height: 11px;
}

.frame::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.2);
}

.individual-arr-dep-tab.active {
  background: #000;
  color: #fff;
}

.xc-live-arr-dep-individual .last-updated-trains {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  gap: 16px;
  padding-top: 16px;
}

.xc-live-arr-dep-individual #last-updated-value {
  color: rgba(0, 0, 0, 0.70);
  font-family: "rooney-sans";
  font-size: 16px;
  font-style: italic;
  font-weight: 700;
  line-height: 24px;
}

/* .xc-live-arr-dep-individual #update-refresh {
  color: #CA123F;
  font-family: "rooney-sans";
  font-size: 20px;
  font-style: italic;
  font-weight: 700;
  line-height: normal;
  background-image: url(../images/update.svg);
  background-repeat: no-repeat;
  padding-left: 34px;
  background-size: 24px;
  cursor: pointer;
  min-height: 24px;
} */

.xc-live-arr-dep-individual #update-refresh {
  color: #CA123F;
  font-family: "rooney-sans";
  font-size: 20px;
  font-style: italic;
  font-weight: 700;
  line-height: normal;
  cursor: pointer;
  min-height: 24px;
  display: flex;
  gap: 4px;
}

#update-refresh:hover .refrest-icon {
  transform: rotate(180deg);
  transition: transform .4s ease-in-out;
}

.refrest-icon {
  background-image: url(../images/update.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
  width: 42px;
  height: 24px;
}

.xc-live-arr-dep-individual .main-table {
  width: 100%;
  font-family: "rooney-sans";
  background-color: #ffffff;
}

.xc-live-arr-dep-individual .timeline-table {
  width: 100%;
}

.xc-live-arr-dep-individual thead {
  width: 100%;
  background: #ffffff;

}

.xc-live-arr-dep-individual tbody#train-data {
  width: 100%;
  /* max-height: 268px; */
  overflow: auto;
}

.xc-live-arr-dep-individual thead tr,
.xc-live-arr-dep-individual tbody tr {
  text-align: left;
}

.xc-live-arr-dep-individual tbody tr {
  background: #fff;
}


.xc-live-arr-dep-individual th {
  color: var(--Main-bulma, #000);
  font-feature-settings: "liga" off, "clig" off;
  font-family: "rooney-sans";
  font-style: italic;
  line-height: normal;
  padding: 8px 0px 8px 0px;
  font-size: 28px;
  font-weight: 700;
}

.xc-live-arr-dep-individual .station-row {
  border-bottom: 2px solid #CDC3BA;
}

.xc-live-arr-dep-individual .station-row td {
  color: var(--Main-bulma, #000);
  padding-top: 40px;
  padding-bottom: 16px;
  vertical-align: middle;
}


.xc-live-arr-dep-individual th:last-child {
  flex: 0;
  border: none;
}

.xc-live-arr-dep-individual .timeline-table tbody tr {
  background-color: transparent !important;
}

.xc-live-arr-dep-individual #train-data tr td:last-child {
  flex: 0;
  cursor: pointer;
}

.xc-live-arr-dep-individual #train-data .expandable {
  background: transparent;
  display: block;
  border-bottom: 2px solid #CDC3BA;
  width: 100%;
}

.xc-live-arr-dep-individual #mobile-train-data .expandable {
  background: transparent;
  display: none;
  border-bottom: 2px solid #CDC3BA;
  width: 100%;
}

.xc-live-arr-dep-individual .points-container {
  padding: 0;
  position: relative;
}

.xc-live-arr-dep-individual .points-container td {
  flex: 1 0 0 !important;
}

.xc-live-arr-dep-individual .calling-points {
  width: 100%;
}

.xc-live-arr-dep-individual .timeline .visited-icon,
.xc-live-arr-dep-individual .timeline .icon {
  width: 7px;
  height: 2px;
  background: #000;
  z-index: 2;
  margin-left: 7px;
}

.xc-live-arr-dep-individual .timeline-dots-container {
  display: flex;
  padding: 0px 4px;
  align-items: center;
  gap: 14px;
  flex: 1 0 0;
  position: relative;
}

.xc-live-arr-dep-individual .timeline-line {
  position: absolute;
  height: calc(100% - 45px);
  width: 1px;
  left: 10.8px;
  top: 18px;
  background-color: black;
  z-index: 1;
}

.xc-live-arr-dep-individual .timeline {
  position: relative;
}

.platform-button {
  text-align: right;
}

.platform-button .platform-row {
  display: flex;
  width: 100%;
  flex-direction: row !important;
  gap: 10px;
  font-size: 20px;
  font-style: italic;
  font-weight: 700;
  line-height: normal;
  font-family: "rooney-sans";
  justify-content: end;
  align-items: center;
  padding-right: 20px;
}

.platform-button .platform-text {
  width: 28px;
}

.station-scheduled-time {
  font-size: 20px;
  font-style: italic;
  font-weight: 700;
  line-height: normal;
  font-family: "rooney-sans";
}

.station-scheduled-time div {
  display: flex;
  flex-direction: column;
}

.station-scheduled-time .on-time {
  color: #000;
}

.station-scheduled-time .expected-cancelled,
.station-scheduled-time .expected-delayed {
  display: none;
}

.station-scheduled-time .expected-cancelled.cancelled {
  display: block;
  color: #000;
}

.station-scheduled-time .expected-delayed.delayed {
  display: block;
  font-style: normal;
  font-weight: 400;
  color: #9F2843;
}

.station-scheduled-time .expected-delayed.delayed.bold {
  font-weight: 700;
}

.station-name,
.scheduled-time {
  font-weight: 700;
  line-height: normal;
  font-family: "rooney-sans";
  vertical-align: middle;
}

.scheduled-time {
  font-style: italic;
  font-size: 20px;
}

.station-name {
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
}

.station-name.cancelled {
  color: #CA123F !important;
}

.status {
  vertical-align: middle;
  text-align: center;
}

.status div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.status .status-text {
  padding: 4px 16px;
  border-radius: 60px;
  font-family: "rooney-sans";
  font-size: 16px;
  font-style: italic;
  font-weight: 700;
  line-height: 24px;
  min-height: 32px;
  text-align: center;
  min-width: 90px;
  width: fit-content;
}

.status .on-time {
  background: rgba(18, 202, 46, 0.12);
  color: #006B09;
}

.status .cancelled {
  background: rgba(202, 18, 18, 0.12);
  color: #C20000;
}

.status .delayed {
  background: rgba(245, 167, 6, 0.12);
  color: #A65B00;
}


.timeline-table tr:nth-child(1) .visited-icon,
.timeline-table tr:last-child .visited-icon {
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  z-index: 2;
  border: 0.6px solid #000;
  margin-left: 0;
}

.timeline-table tr:nth-child(1) .icon,
.timeline-table tr:last-child .icon {
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  z-index: 2;
  border: 0.6px solid #000;
  margin-left: 0;
}

.timeline-table tr:last-child td {
  padding-bottom: 16px;
}


.timeline-table .points-container.current .scheduled-time,
.timeline-table .points-container.current .station-name {
  color: #CA123F;
  font-style: italic;
  font-weight: 700;
  line-height: normal;
}

.timeline-table:not(:has(.points-container.current)) .points-container:first-child .scheduled-time,
.timeline-table:not(:has(.points-container.current)) .points-container:first-child .station-name {
  color: #CA123F;
  font-style: italic;
  font-weight: 700;
  line-height: normal;
}

.xc-live-arr-dep-individual .mobile-main-table {
  display: none;
}

.xc-live-arr-dep-individual .main-table {
  display: block;
}

.main-table #train-data,
.main-table thead {
  display: block;
}

#train-data .station-row,
.main-table thead tr {
  display: grid;
  grid-template-columns: 1fr 8fr 2fr 1fr;
  gap: 20px;
}

.column-status {
  text-align: center;
}

.column-platform {
  text-align: right;
}

.status-center-align {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* #train-data .expandable td {
  display: grid;
  grid-template-columns: 9fr 2fr 1fr;
  gap: 20px;
} */

.expand-table-cell {
  display: block;
}

.points-container-column-1 {
  width: 3%;
}

.points-container-column-2 {
  width: 40%;
}

.scheduled-time-cell {
  width: 20%;
}

.station-name-cell {
  width: 80%;
}

.loading {
  margin-top: 40px;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loading img {
  width: 100px;
  height: 100px;
}

.loading-text {
  font-size: 28px;
  letter-spacing: -0.7px;
  font-weight: bold;
  color: #CA123F;
}

@media (min-width: 1200px) and (max-width: 1511px) {

  #train-data .station-row,
  .main-table thead tr {
    display: grid;
    grid-template-columns: 1.25fr 7.5fr 2fr 1.25fr;
    gap: 20px;
  }

  .scheduled-time-cell {
    width: 22%;
  }

  .station-name-cell {
    width: 78%;
  }

}

@media (min-width: 768px) and (max-width: 1199px) {

  .xc-live-arr-dep-individual .individual-arr-dep-tab,
  .xc-live-arr-dep-individual #update-refresh,
  .station-scheduled-time,
  .platform-button .platform-text,
  .scheduled-time {
    font-size: 18px !important;
  }

  .xc-live-arr-dep-individual th,
  .station-name {
    font-size: 22px !important;
  }

  #train-data .station-row,
  .main-table thead tr {
    display: grid;
    grid-template-columns: 1fr 4fr 2fr 1fr;
    gap: 20px;
  }

  .points-container-column-1 {
    width: 3%;
  }

  .points-container-column-2 {
    width: 40%;
  }

  .scheduled-time-cell {
    width: 22%;
  }

  .station-name-cell {
    width: 78%;
  }

}

@media screen and (max-width:767px) {

  .individual-arr-dep-tabs {
    width: 328px;
  }

  .xc-live-arr-dep-individual .individual-arr-dep-tab {
    font-size: 16px;
    padding: 16px 0px;
    text-align: center;
  }

  .xc-live-arr-dep-individual .last-updated-trains {
    flex-direction: column-reverse;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
  }

  .xc-live-arr-dep-individual #last-updated-value {
    font-size: 15px;
    font-weight: 700;
  }

  .xc-live-arr-dep-individual #update-refresh {
    font-size: 16px;
    min-height: 24px;
  }

  .xc-live-arr-dep-individual .station-row td {
    padding: 0;
    vertical-align: top;
  }

  .xc-live-arr-dep-individual .station-row .station-row-cell {
    vertical-align: top;
    padding: 15px 0px 15px 0;
  }

  .station-scheduled-time {
    font-size: 18px;
  }

  .status .status-text {
    font-size: 15px;
  }

  .station-name {
    font-size: 20px;
  }


  .expand-table-cell {
    display: table-cell;
  }

  .points-container-column-1 {
    width: 30%;
  }

  .points-container-column-2 {
    width: 50%;
  }

  .timeline-table .scheduled-time {
    font-size: 16px !important;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
  }

  .timeline-table .station-name {
    font-size: 20px;
    line-height: 24px;
  }

  .platform-button .platform-text {
    width: fit-content;
  }

  .platform-button .platform-row {
    font-size: 16px;
    padding-right: 0;
  }

  .station-scheduled-time .expected-delayed.delayed {
    font-size: 16px;
  }

  .xc-live-arr-dep-individual .timeline-table {
    background-color: #fff;
  }

  .timeline-table tr:nth-child(1) .station-name {
    font-size: 18px !important;
  }

  .xc-live-arr-dep-individual .main-table {
    display: none;
  }

  .xc-live-arr-dep-individual .mobile-main-table {
    display: table;
    width: 100%;
  }

  .xc-live-arr-dep-individual #train-data .expandable {
    background: transparent;
    display: none;
    border-bottom: 2px solid #CDC3BA;
    width: 100%;
  }

  .xc-live-arr-dep-individual #mobile-train-data .expandable {
    background: transparent;
    display: none;
    border-bottom: 2px solid #CDC3BA;
    width: 100%;
  }
}