/* typhoon(renewal) start */
.typhoon-info-wrap {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 12px 16px;
  color: white;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.5));
  display: flex;
  justify-content: space-between;
}

.typhoon-info-wrap .typhoon-info {
  display: flex;
}

.info-text-wrap > span {
  display: flex;
  height: 13px;
  align-items: center;
  font-size: 13px;
}
#subTitleOverFlowWrap{
  display: flex;
  align-items: flex-end;
  width: 100%;
  overflow: scroll;
  justify-content: space-between;
  
}
.sub-title-wrap {
  display: flex;
  align-items: flex-end;
  border-top-right-radius: var(--border-radius-medium);
  border-top-left-radius: var(--border-radius-medium);
  background-color: var(--card-color);
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

.typhoon-button {
  color: gray;
  background-color: inherit;
  padding: 4px 10px;
  border: none;
  border-radius: 22px;
  height: 30px;
  margin-right: 10px; /* 버튼 간격 조정 */
  flex: auto; /* 버튼 너비를 고정하여 스크롤 영역 내에서 표시 */
  white-space:nowrap;
}

.activeTab {
  background-color: black;
  color: white;
}

.info-text-wrap > span:first-child {
  font-weight: bold;
  font-size: 11px;
  margin-bottom: 3px;
}

.info-text-wrap > span:last-child {
  font-size: 10px;
}

.mapbox-icon {
  cursor: pointer;
  display: block;
  width: 75px;
  height: 25px;
  margin: 0 0 -4px -4px;
  overflow: hidden;
}
.typhoon-wrap {
  border-bottom-left-radius: var(--border-radius-medium);
  border-bottom-right-radius: var(--border-radius-medium);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: 0;
  padding-top: 15px;
}

[dir='rtl'] .mapbox-icon {
  right: unset;
  left: 15px;
}

.typhoon-icon-wrap {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  font-size: 13px;
  font-weight: var(--weight-bold);
}

[dir='rtl'] .typhoon-icon-wrap {
  margin-right: unset;
  margin-left: 10px;
}

.typhoon-icon-wrap.td {
  border: 2.25px solid #25bef7;
  background-color: #093b4d;
}

.typhoon-icon-wrap.ts {
  border: 2.25px solid #84c45a;
  background-color: #2f471f;
}

.typhoon-icon-wrap.sts {
  border: 2.25px solid #ebdb02;
  background-color: #494501;
}

.typhoon-icon-wrap.ty {
  border: 2.25px solid #be2418;
  background-color: #660202;
}

.typhoon-icon {
  width: 30px;
  height: 30px;
}

.typhoon-img-wrap {
  display: block;
  justify-content: unset;
  align-items: unset;
}

.typhoon-img {
  /* position: absolute; */
  width: 100%;
  height: 100%;
  z-index: 1;
  /* filter: brightness(2); */
}
.flex {
  display: flex;
}

.typhoon-route-info-wrap {
  width: 100%;
  height: max-content;
  position: absolute;
  padding: 14px 16px;
  z-index: 1;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
}

.typhoon-route-item-wrap {
  margin-right: 30px;
  display: flex;
  flex-direction: column;
}

.typhoon-canvas-wrap {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-small);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.typhoon-canvas-wrap.cursor {
  cursor: pointer;
}

.typhoon-canvas {
  position: absolute;
  z-index: 1;
  width: 736;
  height: 265;
}

.card-none-background {
  position: relative;
  border-radius: var(--border-radius-medium);
  padding: 20px;
  margin-top: 5px;
  margin-bottom: 13px;
}

.typhoon-route-name {
  font-weight: var(--weight-regular);
  font-size: 10px;
}

.typhoon-route-value {
  font-weight: var(--weight-bold);
  font-size: 11px;
}

/* typhoon 페이지만 */
.card-info-wrap {
  display: flex;
  align-items: center;
  margin-top: 20px;
  cursor: pointer;
}

.card-info-wrap > img {
  width: 24px;
  height: 24px;
  padding: 3px;
  margin-right: 6px;
  filter: brightness(0) saturate(100%) invert(58%) sepia(0%) saturate(61%) hue-rotate(191deg) brightness(95%) contrast(86%);
}

.card-info-wrap > span {
  font-size: 10px;
  font-weight: var(--weight-regular);
  color: #666666;
  line-height: 16px;
}

.route-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  border-bottom: 1px solid;
  border-color: transparent;
  padding: 14px 4px;
  transition: border-color 0.2s ease-in-out;
  border-color: var(--border-color);
  cursor: pointer;
  transition: 0.5s ease-in-out;
}

.route-title-wrap.open {
  margin-bottom: 20px;
  transition: 0.5s ease-in-out;
  border-bottom: none;
  border-color: var(--border-color);
}

.route-title-wrap:first-child {
  padding-top: unset;
}

.route-title-wrap.last {
  border-bottom: unset;
  border-color: unset;
  padding-bottom: unset;
  border-color: var(--border-color);
}

.route-title-wrap.last.open {
  border-bottom: 1px solid;
  border-color: var(--border-color);
  padding-bottom: 14px;
  transition: 0.5s ease-in-out;
}

.route-arrow-btn {
  width: 32px;
  height: 32px;
  padding: 7px;
  object-fit: contain;
  transform: rotate(180deg);
  transition: transform 0.3s ease-in-out;
}

.route-title-wrap.open > .route-arrow-btn {
  transform: unset;
}

/* .route-content-wrap {
  display: none;
}

.route-title-wrap.open + .route-content-wrap {
  display: block;
} */

.route-content-loc {
  font-size: 14px;
  font-weight: var(--weight-regular);
  color: var(--main-color-d4);
  line-height: 21px;
  padding: 10px 0 20px 0;
}

.content-outer-wrap {
  display: flex;
}

.content-inner-wrap {
  flex: 1 1 40%;
  border-radius: var(--border-radius-small);
  background-color: var(--card-color);
  padding: 14px 18px;
}

.content-inner-wrap:nth-child(odd) {
  margin-right: 10px;
}

.content-inner-wrap:nth-child(-n + 4) {
  margin-bottom: 10px;
}

.content-title {
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: #9d9d9d;
  line-height: 18px;
  word-break: keep-all;
}

.content-value {
  font-size: 22px;
  font-weight: var(--weight-bold);
  color: var(--main-color-d1);
  letter-spacing: -0.5px;
  padding-top: 9px;
}

.typhoon-cover-wrap {
  width: 736px;
  height: 265px;
  position: absolute;
}

.typhoon-cover-wrap > div {
  cursor: pointer;
}

/* 팝업 부분 (시작) */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  max-width: 640px;
  background-color: var(--card-color);
  padding: 20px;
  transform: translate(-50%, -50%);
  border-radius: var(--border-radius-medium);
  z-index: 999;
  display: none;
  width: 90%;
}

.popup.open {
  display: block;
}

.popup_title {
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.popup_title > div {
  display: flex;
  align-items: center;
}

.infoContent {
  list-style: square;
  font-size: 13px;
  padding: 0 20px;
}

.popup-title-icon {
  width: 30px;
  padding: 3px;
  object-fit: contain;
  margin-right: 6px;
}

.popup-title-name {
  font-size: 16px;
  font-weight: var(--weight-medium);
  padding-bottom: unset;
}

.popup-close-btn {
  width: 30px;
  height: 30px;
  display: flex;
  cursor: pointer;
}

.modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: none;
}

.modal-bg.open {
  display: block;
}

.table-wrapper {
  display: flex;
  justify-content: center;
  /* align-items: center; */
  flex-direction: column;
}
.table {
  border-collapse: collapse;
  width: 100%;
  max-width: 700px;
  margin: 5px 0 10px;
}

.typhoon-table-wrap thead tr th {
  font-weight: 700;
  padding-bottom: 10px;
  border-left: none;
  border-right: none;
}

.table-wrapper > span {
  font-size: 12px;
  color: #868686;
  text-align: left;
}

.table-wrapper > span a {
  color: #868686;
}

.typhoon-table-wrap .typhoon-state-circle {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 5px;
}

.card-body {
  padding-top: 10px;
  padding-left: 0px;
  padding-right: 0px;
  overflow-x: scroll;
  font-size: 12px;
}

.info-icon {
  width: 30px;
  padding: 3px;
  object-fit: contain;
  -webkit-tap-highlight-color: #6666668f !important;
  margin-right: 5px;
}

.xbtn {
  position: unset;
  height: 30px;
}

.typhoon-table-wrap th,
.typhoon-table-wrap td {
  text-align: left;
  align-items: center;
  padding: 5px;
  word-break: break-all;
  color: var(--main-color-l3);
  /* border: 1px solid var(--border-color); */
  border-top: 0;
}
.typhoon-overlay {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  left: 0;
  top: '50%';
  /* transform: translateY(-50%); */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
}

.typhoon-overlay-comment {
  color: white;
  font-size: 16px;
  text-align: center;
}

@media screen and (min-width: 1300px) {
  .popup {
    width: 40%;
  }
}

td img {
  width: 15px;
  height: 15px;
}
/* margin-left: 10px;
/* 팝업 부분 (끝) */

/* typhoon(renewal) end */
@media (prefers-color-scheme: dark) {
  .activeTab {
    background-color: white;
    color: black;
  }
}
@media screen and (max-width: 500px) {
  .typhoon-overlay-comment {
    font-size: 13px;
  }
}
