@charset "UTF-8";
/* =================================================
title       :GATE New Style PC
Create date :2026-06
- GATE 메인 전용
- GATE 카드
memo : GATE 신규 스타일 적용
================================================= */

/* =========================================
  GATE main
========================================= */
.gate-main {
  width: 100%;
  margin: 0 auto;
  padding-top: 64px;
  box-sizing: border-box;
}

.gate-main *,
.gate-main *::before,
.gate-main *::after {
  box-sizing: border-box;
}

.gate-main .ui-search-form {
  background: transparent;
  padding: 20px 0 0;
}

.gate-main .ui-search-form .ui-btn {
  flex: 0 0 auto;
}

/* 상단 */
.gate-visual {
  max-width: 1400px;
  margin: 0 auto 44px;
}

.gate-visual-inner {
  min-height:96px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#E8F2FA;
  border-radius:20px;
}

.gate-visual-inner .ui-icon {
  margin-right:22px;
}

.gate-visual-inner strong {
  font-size:30px;
}

.gate-visual-inner strong > span {
  font-weight:600;
  padding: 0 40px 0 10px;
}

.gate-visual-inner em {
  font-weight: 400;
  font-size:29px;
}

/* 공통 섹션 */
.gate-section {
  max-width:1400px;
  margin:0 auto 73px;
}

.gate-section-full {
  width: 100%;
  padding: 50px 0;
  background: #F4FAFF;
  margin-bottom: 73px;
}

.gate-section-full .gate-section {
  margin-bottom: 0;
}

.gate-section-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  position: relative;
}

.gate-section-head .ui-btn-group {
  position: absolute;
  top:7px;
  right:0;
}
.gate-section-head .ui-btn-group a {
  padding-left: 10px;
}

.gate-section-head > .info-more-link {
  position: absolute;
  top:7px;
  right:0;
}

.gate-section-title {
  font-size:var(--text-xl);
  margin-bottom:50px;
}

.gate-section-title::before {
  display:inline-block;
  vertical-align:middle;
  content:'';
  width:5px;
  height:32px;
  margin-right:20px;
  border-radius:50px;
  background:#BED73B;
}

.gate-section-subtitle {
  font-size: 24px;
  font-weight: 500;
  color: #33363D;
}

.info-more-link .ui-link-arrow {
  width: 10px;
  height: 10px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.info-more-link:hover span {
  color: #0B78CB;
}

.info-more-link.btn-reset {
  font-weight: 700;
}

/* 공지사항 */
.gate-notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gate-notice-list li {
  border-bottom: 1px solid #d8dee5;
}

.gate-notice-list,
.gate-notice-list li {
  min-width: 0;
  max-width: 100%;
}

.gate-notice-list li:last-child {
  border-bottom: 0;
}

.gate-notice-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 58px;
  color: var(--color-text-primary);
  text-decoration: none;
}

.gate-notice-list.notice-qna a {
  justify-content: flex-start;
  gap: 20px;
}

.gate-notice-list a:hover .gate-notice-subject {
  font-weight: 700;
}

.gate-notice-subject {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  padding-right: 10px;
  font-size: 18px;
  color: var(--color-text-primary);
}

.gate-notice-list time {
  flex: 0 0 auto;
  white-space: nowrap;
  color: #686F7A;
  font-size: 18px;
}

.gate-notice-list .q {
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.gate-card-head {
  min-height:70px;
  padding:0 24px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  background:#EBEEF3;
  font-size:24px;
  font-weight:700;
  text-align:center;
  box-sizing:border-box;
}

.gate-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.gate-card-grid-step {
  display: grid;
  align-items: center;
  justify-items: center;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.gate-card-grid-step .gate-card-item {
  min-height: 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.gate-card-grid-step .gate-step {
  font-size: 20px;
  font-weight: 400;
}
.gate-card-grid-step .gate-step-text {
  font-size: 24px;
  font-weight: 700;
}

/* 요건확인현황 */
.gate-status {
  width: 100%;
  box-sizing: border-box;
}

.gate-status-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 335px));
  justify-content: center;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.gate-status-list li {
  min-width: 0;
}

.gate-status-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 335px;
  max-width: 100%;
  height: 100px;
  padding: 0 24px;
  border: 3px solid transparent;
  border-radius: 50px;
  background-color: #fff;
  color: #252a30;
  font-size: 26px;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 8px 20px rgba(31, 41, 51, 0.05);
  transition:
          border-color 0.2s ease,
          box-shadow 0.2s ease,
          transform 0.2s ease;
}

.gate-status-link:hover {
  border-color: #237fc9;
}

.gate-status-link.is-required:hover {
  border-color: #83aa00;
}

.gate-status-link:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 3px;
}

.gate-status-title {
  flex: 0 0 auto;
  font-size: inherit;
  font-weight: 700;
}

.gate-status-value {
  min-width: 0;
  color: #8a929b;
  font-size: inherit;
  font-weight: 400;
  white-space: nowrap;
}

.gate-status-value.is-blue {
  color: #0075d5;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.gate-status-value.is-red {
  color: #f00;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.gate-status-value.is-disabled {
  color: #9da4aa;
}


/* 진행절차 */
.gate-permission-process {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

/* 단계 목록 */
.gate-permission-step-list {
  --step-gap: 60px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--step-gap);
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.gate-permission-link-text > * {
  display: inline-block;
}

.gate-permission-step {
  display: flex;
  position: relative;
  align-items: center;
  flex-direction: column;
  min-width: 0;
  text-align: center;
}

/* 단계 사이 점선 */
.gate-permission-step:not(:last-child)::after {
  position: absolute;
  top: 20px;
  left: calc(50% + 50px);
  content: "";
  width: 126px;
  height: 11px;
  background-image:url('../images/site_nsfms/icon_arror_dotted.png');
  background-size: contain;
  background-repeat: no-repeat;
}

/* 단계 번호 */
.gate-permission-step-number {
  display: inline-flex;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #F6F7F8;
  color: #33363D;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

/* 단계 제목 */
.gate-permission-step-title {
  display: block;
  margin-top: 35px;
  color: #33363D;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  word-break: keep-all;
}

/* 권한신청 링크 */
.gate-permission-description {
  font-weight: 400;
}

.gate-permission-process .ui-link-arrow {
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

/* 마우스 동작 */
.gate-permission-link:hover {
  background-color: #0069ae;
  box-shadow: 0 5px 14px rgba(0, 93, 164, 0.2);
}

.gate-permission-link:hover .gate-link-arrow {
  transform: translateX(4px) rotate(45deg);
}

/* 키보드 접근성 */
.gate-permission-link:focus-visible {
  outline: 3px solid #ffbf00;
  outline-offset: 3px;
}


/* 공지사항 col2 */
.gate-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
}

.gate-section-info {
  position: relative;

  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.gate-login-help {
  width:100%;
  heighT:100%;
  position: absolute;
  left:0;
  right :0;
  bottom:0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.5);

  /* 뒤쪽 영역만 블러 */
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.gate-login-help p {
  padding: 30px 0;
  background: #fff;
  font-size:24px;
  font-weight: 600;
}

.gate-info-item + .gate-info-item {
  margin-top: 30px;
}

.gate-info-item dt {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
}

.gate-info-item dt .ui-btn-txt {
  text-decoration: underline;
}


.gate-info-item dd {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid #BBC4D0;
  border-radius: 8px;
  background-color: #fff;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  word-break: keep-all;
}

/* 빠른메뉴 */
.gate-quick-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gate-quick-list li {
  min-width: 0;
}

.gate-quick-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 105px;
  padding: 20px 40px;
  border-radius: 8px;
  background-color: #e9eef3;
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: background-color 0.2s;
}

.gate-quick-list--line a {
  font-size: 20px;
  border: 1px solid #BBC4D0;
  background-color: transparent;
}

.gate-quick-list--line .ui-icon {
  font-size: 24px;
}

.gate-quick-list a:hover {
  background-color: #333B42;
}
.gate-quick-list a:hover > span {
  color: #fff;
}

.gate-quick-list a:hover .eng {
  color: #fff;
  font-weight: 400 !important;
}

.gate-information {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 600;
  color: var(--color-text-primary);
}
.gate-information .help-text__icon:before {
  font-size: 26px;
  color: var(--color-text-primary);
}

/* 환율정보 */
.gate-exchange {
  width: 100%;
  min-width: 0;
  color: #30353d;
}

.gate-exchange,
.gate-exchange * {
  box-sizing: border-box;
}

/* 제목 / 기준일 */
.gate-exchange-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.gate-exchange-title {
  position: relative;
  margin: 0;
  padding-left: 18px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.gate-exchange-title::before {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 4px;
  border-radius: 2px;
  background: #b0d82d;
  content: "";
}

.gate-exchange-update {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
}

.gate-exchange-refresh {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.gate-exchange-refresh img {
  display: block;
  width: 18px;
  height: 18px;
}

.gate-exchange-refresh:hover {
  background: #f0f3f6;
}

/* 주요 통화 / 스크롤 목록 */
.gate-exchange-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
}

/* 왼쪽 주요 통화 */
.gate-exchange-major {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 18px 12px;
  min-width: 0;
  margin: 0;
  padding: 0 28px 0 0;
  border-right: 1px solid #bfc5cc;
  list-style: none;
}

.gate-exchange-major li {
  min-width: 0;
  text-align: center;
}

.gate-exchange-major-image {
  display: block;
  width: 100%;
  height: 78px;
  background: #fff;
  object-fit: contain;
}

.gate-exchange-major p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* 오른쪽 세로 스크롤 */
.gate-exchange-scroll {
  overflow-x: hidden;
  overflow-y: auto;
  min-width: 0;
  height: 230px;
  padding-right: 14px;
  overscroll-behavior-y: contain;

  scrollbar-width: thin;
  scrollbar-color: #d5dbe2 transparent;
}

.gate-exchange-scroll::-webkit-scrollbar {
  width: 4px;
}

.gate-exchange-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.gate-exchange-scroll::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: #d5dbe2;
}

.gate-exchange-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gate-exchange-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 22px;
  font-size: 16px;
}

.gate-exchange-list img {
  display: block;
  flex: 0 0 auto;
  width: 35px;
  height: 22px;
  object-fit: contain;
}

.gate-exchange-code {
  flex: 0 0 auto;
}

.gate-exchange-rate {
  margin-left: auto;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* 키보드 포커스 */
.gate-exchange-refresh:focus-visible,
.gate-exchange-scroll:focus-visible {
  outline: 2px solid #006fc4;
  outline-offset: 3px;
}


/* ==========================================
  아이콘
========================================== */
.gate-card-icon {
  display: block;
  width: auto;
  object-fit: contain;
}

.gate-card-icon i {
  display: block;
  width: 110px;
  height: 110px;
  object-fit: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
