@charset "UTF-8";

/* Data Display / Tooltip
   컨테이너에는 클래스를 더하지 않고, 툴팁이 자식으로 있을 때만 위치 기준을 잡는다. */
.container:has(> .bnk-tooltip) {
  position: relative;
}

.bnk-tooltip {
  position: absolute;
  z-index: var(--z-index-tooltip, 1070);
  display: none;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 12px 12px 16px;
  border-radius: var(--radius-8);
  background: rgba(2, 12, 34, 0.54);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.bnk-tooltip.is-open {
  display: flex;
  max-height: calc(100vh - 24px);
}

.bnk-tooltip-content {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.bnk-tooltip-title {
  color: var(--foundation-font-white);
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 800;
  line-height: 100%;
  letter-spacing: -0.07px;
}

.bnk-tooltip-desc {
  color: var(--foundation-font-white);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.06px;
  word-break: keep-all;
  white-space: pre-line;
}

.bnk-tooltip-list:empty {
  display: none;
}

/* 일반 12px(1.2rem). 시니어는 html 12.5px 기준 0.96rem이 12px */
.bnk-tooltip-list {
  font-size: 1.2rem;
}

.senior .bnk-tooltip-list {
  font-size: 0.96rem;
}

.bnk-tooltip .bnk-list.bullet > li {
  color: var(--foundation-font-white);
  font-size: inherit;
}

.bnk-tooltip .bnk-list.bullet > li::before {
  background: var(--foundation-font-white);
}

.bnk-tooltip-close {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  width: 16px;
  height: 16px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.bnk-tooltip-close .bnk-icon {
  width: 16px;
  height: 16px;
  background-image: url('../image/icon/Line/16/Gen-Circle-Close.svg');
}

.bnk-list.full.ty4 .icon-helpqa {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.bnk-list.full.ty3 > li .item-wrap .item-header .item-title:has(.icon-helpqa) {
  flex-direction: row;
  align-items: center;
  gap: 4px;
}

.bnk-list.full.ty3 > li .item-wrap .item-header .item-title .icon-helpqa {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin: 0;
}
