:root {
  --blue: #1459d9;
  --deep-blue: #162f57;
  --cyan: #10a6cf;
  --line: #d7dde9;
  --muted: #6b7280;
  --panel: #f5f8fc;
  --soft-cyan: #eaf9fa;
  --text: #111827;
}

@font-face {
  font-family: "Pretendard GOV";
  src: url("assets/fonts/PretendardGOV-Regular.subset.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard GOV";
  src: url("assets/fonts/PretendardGOV-SemiBold.subset.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: "Pretendard GOV", Arial, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  background: #fff;
}

select {
  appearance: none;
  background: #fff url("assets/images/comm/ico_select.svg") right 7px center / 22px 23px no-repeat;
  padding-right: 34px;
}

select::-ms-expand {
  display: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.container {
  width: min(1440px, calc(100vw - 48px));
  margin: 0 auto;
}

.page {
  display: none;
  min-height: 100vh;
}

.page.is-active {
  display: block;
}

.top-strip {
  height: 34px;
  background: #eef2f7;
  font-size: 14px;
}

.strip-inner {
  display: flex;
  align-items: center;
  height: 34px;
  gap: 8px;
}

.flag-dot {
  width: 22px;
  height: 15px;
  color: transparent;
  background: url("assets/images/bpr_portal/ico_eg.svg") center / contain no-repeat;
}

.strip-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.plain-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: #0f172a;
}

.zoom-link,
.main-nav button {
  display: inline-flex;
  align-items: center;
}

.chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: translateY(-2px) rotate(45deg);
}

.site-header {
  border-bottom: 1px solid #d9dee8;
  background: #fff;
}

.header-grid {
  display: grid;
  grid-template-columns: 297px minmax(520px, 730px) 1fr;
  align-items: center;
  gap: 28px;
  padding: 26px 0 20px;
}

.brand {
  display: inline-flex;
  position: relative;
  align-items: center;
  min-width: 225px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 149px;
  height: auto;
}

.brand-season {
  display: block;
  width: 74px;
  height: auto;
  margin-left: 8px;
}

.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 50px;
  border: 3px solid #2563eb;
  border-radius: 10px;
  background: #fff;
}

.search-bar input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 72px 0 22px;
  border: 0;
  outline: 0;
  font-size: 18px;
}

.search-bar button {
  position: absolute;
  top: 50%;
  right: -27px;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #2563eb url("assets/images/bpr_portal/ico_layout_sch.svg") center / 30px 30px no-repeat;
  color: #fff;
  font-size: 0;
  line-height: 1;
}

.all-menu {
  width: 76px;
  justify-self: end;
  margin-right: 12px;
  border: 0;
  background: transparent;
  color: #111;
  text-align: center;
}

.all-menu span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: #111;
}

.all-menu em {
  display: block;
  font-style: normal;
  font-size: 14px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 27px;
  gap: 24px;
}

.main-nav button {
  border: 0;
  background: transparent;
  color: #050505;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav .chevron {
  width: 9px;
  height: 9px;
  margin-left: 10px;
  border-color: #6b7280;
}

.login-main {
  width: min(1100px, calc(100vw - 48px));
  padding: 35px 0 35px;
}

.title-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #d7dbe5;
  padding-bottom: 14px;
}

.title-row h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
}

.title-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.title-actions button,
.cert-notes button {
  height: 32px;
  border: 1px solid #2a6eea;
  border-radius: 4px;
  background: #fff;
  color: #1459d9;
  padding: 0 14px;
}

.welcome {
  position: relative;
  padding: 28px 0 22px;
}

.welcome h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

.welcome h2 span {
  color: #1261e8;
}

.welcome p {
  margin: 0;
}

.security-options {
  position: absolute;
  right: 0;
  bottom: 15px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.security-options input {
  width: 21px;
  height: 21px;
  vertical-align: middle;
  appearance: none;
  border: 1px solid #a6a6a6;
  border-radius: 3px;
  background: #fff;
}

.security-options button {
  height: 28px;
  padding: 0 12px;
  border: 1px solid #b7cdf3;
  border-radius: 4px;
  background: #fff;
  color: var(--blue);
}

.login-methods {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
}

.method-card {
  min-height: 136px;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #fff;
  padding: 20px 8px 12px;
  text-align: center;
}

.method-card.is-selected {
  border: 2px solid #4b9cff;
  box-shadow: 0 6px 18px rgba(66, 133, 244, 0.12);
}

.method-card strong,
.method-card small {
  display: block;
  font-size: 16px;
}

.method-card small {
  margin-top: 4px;
  color: #334155;
}

.method-icon {
  display: block;
  position: relative;
  width: 58px;
  height: 52px;
  margin: 0 auto 11px;
  border-radius: 10px;
  background: center / contain no-repeat;
}

.method-icon::after {
  content: none;
}

.icon-card {
  background-image: url("assets/images/bpr/cert_select_06.svg");
}

.icon-office {
  background-image: url("assets/images/bpr/cert_select_07.svg");
}

.icon-user {
  background-image: url("assets/images/bpr/cert_select_08.svg");
}

.icon-phone {
  background-image: url("assets/images/bpr/cert_select_03.svg");
}

.icon-id {
  background-image: url("assets/images/bpr/cert_select_01.svg");
}

.icon-finger {
  background-image: url("assets/images/bpr/cert_select_16.svg");
}

.icon-shield {
  background-image: url("assets/images/bpr/cert_select_02.svg");
}

.cert-panel {
  margin-top: 30px;
  border-radius: 9px;
  background: #f3f6fa;
  padding: 50px 40px 45px;
  text-align: center;
}

.cert-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 260px;
  height: 70px;
  border: 0;
  border-radius: 9px;
  background: #2d5fc6;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.cert-button small {
  display: block;
  font-size: 17px;
  font-weight: 800;
}

.cert-notes {
  margin-top: 50px;
  border-top: 1px dashed #c8d1df;
  padding-top: 28px;
  text-align: left;
}

.cert-notes p {
  margin: 10px 0;
}

.cert-notes span {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border-radius: 50%;
  background: #8b929d;
  color: #fff;
  font-size: 12px;
}

.cert-notes a {
  color: var(--blue);
  text-decoration: none;
}

.logout-note {
  margin: 20px 0 0;
  color: #475569;
}

.logout-note strong {
  color: #ff1717;
}

.site-footer {
  margin-top: 48px;
  padding: 0 0 60px;
  background: #f3f6fa;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #d7dde8;
  padding: 20px 0;
  color: #1f2937;
}

.footer-links a {
  text-decoration: none;
  white-space: nowrap;
}

.footer-links span {
  color: #64748b;
}

.footer-info {
  display: grid;
  grid-template-columns: 170px 1fr 220px 310px;
  align-items: center;
  gap: 28px;
  padding-top: 30px;
}

.footer-info .copyright {
  grid-column: 4;
  margin: -16px 0 0;
  text-align: right;
}

.nts-mark img {
  display: block;
  width: 152px;
  height: auto;
}

.footer-badges {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.footer-badges img {
  display: block;
  max-height: 42px;
  width: auto;
}

.quick-menu {
  position: fixed;
  right: 52px;
  top: 52%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transform: translateY(-34%);
}

.quick-menu button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-width: 130px;
  min-height: 48px;
  border: 0;
  border-radius: 25px;
  background: #374151;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.quick-menu button::after {
  content: "";
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  background: center / contain no-repeat;
}

.quick-menu .favorite-quick {
  display: none;
}

.app.is-search .quick-menu .favorite-quick {
  display: block;
}

.quick-menu button span {
  display: none;
}

.quick-menu .favorite-quick::after {
  background-image: url("assets/images/bpr_portal/ico_quick01.svg");
}

.quick-menu button:nth-child(2)::after {
  background-image: url("assets/images/bpr_portal/ico_quick02.svg");
}

.quick-menu button:nth-child(3)::after {
  background-image: url("assets/images/bpr_portal/ico_quick03.svg");
}

.quick-menu button:nth-child(4)::after {
  background-image: url("assets/images/bpr_portal/ico_quick04.svg");
}

.quick-menu button:nth-child(5)::after {
  background-image: url("assets/images/bpr_portal/ico_quick10.svg");
}

.quick-menu button:nth-child(6)::after {
  background-image: url("assets/images/bpr_portal/ico_quick09.svg");
}

.quick-menu button:nth-child(7)::after {
  background-image: url("assets/images/bpr_portal/ico_quick05.svg");
}

.quick-menu button:nth-child(8)::after {
  background-image: url("assets/images/bpr_portal/ico_quick08.svg");
}

.quick-menu button:nth-child(9)::after {
  background-image: url("assets/images/bpr_portal/ico_quick06.svg");
}

.quick-menu .round {
  width: 54px;
  min-width: 54px;
  min-height: 54px;
  align-self: flex-end;
  justify-content: center;
  border-radius: 50%;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.quick-menu .round::after {
  content: none;
}

.quick-menu .dark {
  background: #061432;
}

.quick-menu .bot {
  background: #2389ee url("assets/images/bpr_portal/ico_chatbot.svg") center / 30px 34px no-repeat;
  color: transparent;
}

.quick-menu .top {
  background: #fff url("assets/images/bpr_portal/ico_gotop.svg") center / 18px 21px no-repeat;
  color: transparent;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-layer.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.auth-modal {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

.login-modal {
  display: grid;
  grid-template-columns: 338px 490px;
  width: 828px;
  min-height: 640px;
}

.auth-left {
  padding: 28px 30px;
}

.auth-left h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  border-bottom: 1px solid #c6cbd4;
  padding-bottom: 16px;
  font-size: 20px;
}

.cert-small {
  width: 30px;
  height: 24px;
  border: 2px solid #0fb4e3;
  border-radius: 3px;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
  padding-top: 24px;
}

.provider-grid button {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: center;
}

.provider-grid span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 8px;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
}

.provider-grid em {
  display: block;
  font-style: normal;
  font-size: 13px;
}

.provider-grid .is-picked span {
  outline: 3px solid #ff536b;
  outline-offset: 3px;
}

.nh {
  background: #0054d8;
}

.bank {
  background: #e8fcff;
  color: #15b67c !important;
  border: 1px solid #dbe3ea;
}

.woori {
  background: #f5fbff;
  color: #0095d9 !important;
  border: 1px solid #dbe3ea;
}

.kb,
.kakao {
  background: #ffdd16;
  color: #111 !important;
}

.naver {
  background: #10ca67;
}

.shinhan {
  background: #1158f7;
}

.pass {
  background: #f94250;
}

.samsung {
  background: #5975ff;
}

.hana {
  background: #009481;
}

.toss {
  background: linear-gradient(135deg, #eaf2ff, #075cf7);
}

.kbank {
  background: #ffd400;
  color: #111 !important;
}

.oacxWrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 390px 590px;
  width: 980px;
  max-width: calc(100vw - 28px);
  height: 640px;
  max-height: calc(100vh - 28px);
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.oacx-provider-pane {
  padding: 28px 30px 24px;
  background: #fff;
}

.oacx-provider-pane h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  margin: 0 0 22px;
  border-bottom: 1px solid #c9ced8;
  color: #222;
  font-size: 20px;
}

.oacx-cert-icon {
  position: relative;
  width: 30px;
  height: 27px;
  border: 2px solid #14acd4;
  border-radius: 4px;
}

.oacx-cert-icon::before,
.oacx-cert-icon::after {
  content: "";
  position: absolute;
  background: #14acd4;
}

.oacx-cert-icon::before {
  left: 5px;
  right: 5px;
  top: 8px;
  height: 2px;
}

.oacx-cert-icon::after {
  left: 8px;
  top: 14px;
  width: 10px;
  height: 6px;
}

.oacx-provider-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oacx-provider {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  color: #1f2937;
  text-align: center;
  cursor: pointer;
}

.provider-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
  overflow: hidden;
  border-radius: 13px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(18, 30, 45, 0.14);
}

.provider-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.oacx-provider.is-selected .provider-mark {
  outline: 3px solid #ef4d68;
  outline-offset: 3px;
}

.oacx-provider em {
  display: block;
  min-height: 30px;
  font-style: normal;
  font-size: 12px;
  line-height: 1.25;
}

.oacx-form-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #f8f8f9;
}

.oacx-form-pane header {
  flex: 0 0 auto;
}

.step1-header {
  height: 61px;
  background: #12335d;
}

.step1-header h1 {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0 28px;
  color: #fff;
  font-size: 20px;
}

.step1-header h1 img {
  width: 116px;
  margin-left: auto;
  border-radius: 3px;
  background: #fff;
  padding: 5px 8px;
}

.oacx-form {
  flex: 1;
  padding: 28px 20px 16px;
}

.oacx-form h2 {
  margin: 0 0 16px;
  color: #16181d;
  font-size: 18px;
}

.oacx-user-info {
  display: grid;
  grid-template-columns: 136px 1fr;
  border-top: 1px solid #c7ccd4;
  border-bottom: 1px solid #c7ccd4;
}

.oacx-user-info > label,
.oacx-user-info > input,
.oacx-phone-row {
  border-bottom: 1px solid #d9dde3;
}

.oacx-user-info > label {
  display: flex;
  align-items: center;
  min-height: 52px;
  background: #eeeeef;
  padding-left: 22px;
  color: #222;
  font-weight: 700;
}

.oacx-user-info input,
.oacx-user-info select {
  box-sizing: border-box;
  min-height: 0;
  height: 40px;
  border: 1px solid #b8bdc6;
  border-radius: 0;
  background-color: #fff;
  color: #222;
  font-size: 15px;
}

.oacx-user-info > input {
  width: calc(100% - 20px);
  margin: 6px 10px;
  padding: 0 10px;
}

.oacx-phone-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  padding: 6px 10px;
}

.oacx-phone-row select {
  width: 88px;
  padding-left: 10px;
}

.oacx-phone-row input {
  flex: 1;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 0 10px;
}

.oacx-agree {
  margin: 38px 0 0;
}

.oacx-agree dt {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  color: #16181d;
  font-size: 18px;
  font-weight: 800;
}

.oacx-agree dt label {
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.oacx-agree dt input {
  appearance: none;
  width: 15px;
  height: 15px;
  margin: 0 5px 0 0;
  border: 1px solid #8d98a8;
  background: #fff;
  vertical-align: -2px;
}

.oacx-agree dt input:checked {
  border-color: #168bd0;
  box-shadow: inset 0 0 0 3px #fff;
  background: #168bd0;
}

.oacx-agree dd {
  margin: 0;
}

.oacx-agree ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border: 1px solid #d5d8df;
  background: #fff;
  padding: 0;
  list-style: none;
}

.oacx-agree li {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  min-height: 50px;
  padding: 9px 8px 7px 10px;
  border-right: 1px solid #d5d8df;
}

.oacx-agree li:last-child {
  border-right: 0;
}

.oacx-agree li label {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.2;
  text-overflow: clip;
  white-space: nowrap;
}

.oacx-agree li input {
  appearance: none;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0 7px 0 0;
  border: 2px solid #8c8c8c;
  border-radius: 50%;
  background: #fff;
}

.oacx-agree li input:checked {
  border-color: #168bd0;
  box-shadow: inset 0 0 0 4px #fff;
  background: #168bd0;
}

.oacx-agree button {
  justify-self: end;
  width: 45px;
  height: 24px;
  margin-top: 5px;
  border: 1px solid #555;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.oacx-manual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
  margin-top: 28px;
  color: #006ba6;
  font-weight: 800;
  text-decoration: none;
}

.oacx-manual::before {
  content: "?";
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #1f7db8;
  color: #fff;
  font-size: 13px;
}

.oacx-actions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  height: 56px;
}

.oacx-actions button {
  border: 0;
  font-size: 18px;
  font-weight: 800;
}

.oacx-close {
  background: #fff;
  color: #222;
}

.oacx-request {
  background: #12a8cf;
  color: #fff;
}

.auth-right {
  display: flex;
  flex-direction: column;
  background: #f8f8f9;
}

.modal-titlebar {
  display: flex;
  align-items: center;
  height: 61px;
  background: var(--deep-blue);
  color: #fff;
  padding: 0 30px;
}

.modal-titlebar strong {
  font-size: 18px;
}

.modal-titlebar .mini-brand {
  margin-left: auto;
}

.modal-titlebar.centered {
  justify-content: center;
}

.modal-titlebar.centered .mini-brand {
  position: absolute;
  right: 26px;
  margin-left: 0;
}

.mini-brand {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.form-area {
  flex: 1;
  padding: 32px 20px 20px;
  background: #f8f8f9;
}

.form-area h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.form-table {
  display: grid;
  grid-template-columns: 134px 1fr;
  border-top: 1px solid #c7ccd4;
  border-bottom: 1px solid #c7ccd4;
}

.form-table label,
.form-table input,
.form-table .phone-fields {
  min-height: 59px;
  border-bottom: 1px solid #d6dae0;
}

.form-table label {
  display: flex;
  align-items: center;
  background: #f0f0f0;
  padding-left: 22px;
}

.form-table input,
.phone-fields {
  display: flex;
  align-items: center;
  padding: 10px;
}

.form-table input {
  width: calc(100% - 20px);
  height: 39px;
  margin: 10px;
  border: 1px solid #b9b9b9;
}

.phone-fields {
  gap: 5px;
}

.phone-fields select {
  width: 80px;
  height: 39px;
}

.phone-fields input {
  flex: 1;
  width: auto;
  margin: 0;
}

.agreement-head {
  display: flex;
  align-items: center;
  margin-top: 48px;
}

.agreement-head h3 {
  margin: 0;
}

.agreement-head label {
  margin-left: auto;
}

.agreement-head input {
  width: 19px;
  height: 19px;
  vertical-align: middle;
}

.agreement-box {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px;
  align-items: center;
  gap: 0;
  margin-top: 16px;
  border: 1px solid #d6d6d6;
  background: #fff;
}

.agreement-box label {
  padding: 16px 10px;
  border-right: 1px solid #d6d6d6;
  white-space: nowrap;
}

.agreement-box input {
  width: 19px;
  height: 19px;
  vertical-align: middle;
}

.agreement-box button {
  width: 36px;
  height: 28px;
  border: 1px solid #444;
  background: #fff;
}

.manual-link {
  display: block;
  margin-top: 34px;
  color: #005e9d;
  font-weight: 700;
  text-align: right;
  text-decoration: none;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1.28fr;
  height: 54px;
}

.modal-actions button {
  border: 0;
  font-size: 18px;
  font-weight: 700;
}

.ghost-button {
  background: #fff;
  color: #111;
}

.primary-button {
  background: #10a3c9;
  color: #fff;
}

.wait-modal {
  width: 830px;
}

.wait-body {
  padding: 56px 58px;
  text-align: center;
}

.wait-body h2 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 500;
}

.wait-body > p {
  margin: 0 0 22px;
  color: #333;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 45px 1fr 45px 1fr;
  align-items: center;
  margin-bottom: 48px;
}

.step-card {
  text-align: center;
}

.step-graphic {
  width: 170px;
  height: 95px;
  margin: 0 auto 12px;
}

.step-graphic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-card strong {
  display: block;
  color: #777;
  font-weight: 500;
}

.step-card p {
  margin: 6px 0 0;
}

.step-arrow {
  color: #20242a;
  font-size: 24px;
}

.help-box {
  border: 1px solid #ddd;
  background: #f8f8f8;
  padding: 16px 26px;
  text-align: left;
  color: #555;
}

.help-box p {
  margin: 7px 0;
  font-size: 14px;
}

.help-box span {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  border-radius: 50%;
  background: #c8c8c8;
  color: #fff;
  font-size: 12px;
}

.browser-strip {
  height: 39px;
  background: #a8151c;
}

.search-header {
  background: #f8fafc;
  border-bottom: 1px solid #dce2ec;
}

.search-header-grid {
  grid-template-columns: 297px minmax(520px, 730px) 1fr;
  gap: 28px;
  padding: 12px 0 10px;
}

.member-icons {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  align-items: flex-start;
}

.member-icons button {
  position: relative;
  min-width: 58px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}

.member-icons span {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto 2px;
  color: transparent;
  background: center / contain no-repeat;
}

.member-icons button:nth-child(1) span {
  background-image: url("assets/images/bpr_portal/ico2_myhometax_list.svg");
  background-size: 27px 30px;
}

.member-icons button:nth-child(1)::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 10px;
  width: 17px;
  height: 18px;
  background: url("assets/images/bpr_portal/ico2_myhometax_my.svg") center / contain no-repeat;
}

.member-icons button:nth-child(2) span {
  background: none;
}

.member-icons button:nth-child(2) span::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 4px;
  width: 10px;
  height: 10px;
  border: 2px solid #111;
  border-radius: 50%;
}

.member-icons button:nth-child(2) span::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 18px;
  width: 22px;
  height: 12px;
  border: 2px solid #111;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border-bottom: 0;
}

.member-icons button:nth-child(3) span {
  background: none;
}

.member-icons button:nth-child(3) span::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #111;
  box-shadow: 0 8px 0 #111, 0 16px 0 #111;
}

.search-main {
  padding-top: 21px;
}

.search-main h1 {
  margin: 0;
  border-bottom: 1px solid #d6dce8;
  padding-bottom: 18px;
  font-size: 30px;
  font-weight: 500;
}

.notice-box {
  margin: 18px 0 20px;
  border-radius: 8px;
  background: #f5f7fc;
  padding: 18px 20px;
  line-height: 1.55;
}

.notice-box p {
  margin: 0;
}

.notice-box strong {
  color: #ff1b26;
}

.notice-box .indent {
  padding-left: 8px;
}

.tabs {
  display: flex;
  border-bottom: 1px solid #1b4cbe;
}

.tabs button {
  min-width: 84px;
  height: 48px;
  border: 1px solid #c8c8c8;
  border-bottom: 0;
  background: #f7f7f7;
  color: #374151;
}

.tabs .is-current {
  border-color: #1b4cbe;
  border-bottom: 1px solid #fff;
  background: #fff;
  color: #123c97;
  font-weight: 700;
  transform: translateY(1px);
}

.business-row {
  display: grid;
  grid-template-columns: 164px 556px 170px 1fr;
  align-items: center;
  margin-top: 20px;
  border: 1px solid #a9d3dc;
  background: #f6fbfc;
}

.business-row label,
.business-row span {
  display: flex;
  align-items: center;
  min-height: 45px;
  padding: 0 38px;
}

.business-row label {
  justify-content: center;
  background: #eefafa;
  font-weight: 700;
}

.business-row select {
  width: 170px;
  height: 31px;
  border: 1px solid #b6bbc4;
  border-radius: 3px;
  background: #fff url("assets/images/comm/ico_select.svg") right 6px center / 22px 23px no-repeat;
  padding: 0 36px 0 12px;
}

.query-grid {
  position: relative;
  display: grid;
  grid-template-columns: 168px 560px 170px 1fr 98px;
  margin-top: 21px;
  border: 1px solid #bdd0ef;
  border-radius: 6px;
  overflow: hidden;
}

.query-grid label,
.query-grid > input,
.query-grid > select,
.query-grid .date-field,
.query-grid .disabled-square {
  display: flex;
  align-items: center;
  min-height: 49px;
  border: 0;
  border-bottom: 1px solid #e6ebf3;
}

.query-grid label {
  padding: 0 24px;
  background: #f5f7fc;
}

.query-grid label strong {
  color: #f42b4a;
  margin-right: 3px;
}

.query-grid .date-field,
.query-grid > input,
.query-grid > select,
.query-grid .disabled-square {
  background: #fff;
  padding: 8px 12px;
}

.date-field {
  position: relative;
}

.date-field input {
  width: 138px;
  height: 33px;
  border: 1px solid #b9bdc5;
  border-radius: 3px;
  padding: 0 34px 0 11px;
}

.date-field input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
}

.date-field input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
}

.date-field .date-picker-native {
  position: absolute;
  left: 118px;
  top: 8px;
  width: 32px;
  height: 33px;
  opacity: 0;
  pointer-events: none;
}

.date-field button {
  width: 32px;
  height: 33px;
  margin-left: -32px;
  border: 0;
  background: url("assets/images/bpr/ico_calendar.svg") center / 18px 18px no-repeat;
  color: transparent;
}

.query-grid > select {
  width: 166px;
  height: 34px;
  min-height: 32px;
  margin: 8px 0 0 12px;
  align-self: start;
  border: 1px solid #b9bdc5;
  border-radius: 3px;
  background: #fff url("assets/images/comm/ico_select.svg") right 6px center / 22px 23px no-repeat;
  padding: 0 36px 0 10px;
}

.query-grid > input {
  width: 138px;
  height: 34px;
  min-height: 32px;
  margin: 8px 0 0 12px;
  align-self: start;
  border: 1px solid #b9bdc5;
  border-radius: 3px;
}

.lookup-button {
  grid-row: 1 / span 2;
  grid-column: 5;
  align-self: center;
  justify-self: center;
  width: 73px;
  height: 48px;
  border: 0;
  border-radius: 4px;
  background: #2858bd;
  color: #fff;
  font-weight: 800;
}

.disabled-square {
  width: 36px;
  height: 36px;
  min-height: 33px !important;
  margin: 8px 0 0 12px;
  border: 1px solid #c8cdd5 !important;
  border-radius: 4px;
  background: repeating-linear-gradient(45deg, #d8d8d8 0 2px, #ececec 2px 4px) !important;
}

.hint {
  color: #30343b;
}

.result-toolbar {
  display: flex;
  align-items: center;
  margin-top: 16px;
}

.result-toolbar strong span {
  color: #135fe8;
}

.result-toolbar div {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.result-toolbar button,
.result-toolbar select {
  height: 31px;
  border: 1px solid #0aa2bd;
  border-radius: 4px;
  background: #fff;
  color: #00829a;
  padding: 0 10px;
}

.result-toolbar select {
  background: #fff url("assets/images/comm/ico_select.svg") right 3px center / 22px 23px no-repeat;
  padding-right: 30px;
}

.result-toolbar .download-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.result-toolbar .download-button span {
  width: 14px;
  height: 16px;
  background: url("assets/images/download-icon.png") center / contain no-repeat;
}

.result-toolbar .confirm-button {
  background: #0698a8;
  color: #fff;
}

.result-table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  text-align: center;
}

.result-table th,
.result-table td {
  border: 1px solid #a8d3dc;
  padding: 9px 8px;
}

.result-table th {
  background: #eaf9fa;
  font-weight: 700;
}

.result-table td a {
  color: #0078c7;
}

.result-table input[type="checkbox"] {
  width: 20px;
  height: 20px;
  appearance: none;
  border: 1px solid #a5aab2;
  border-radius: 4px;
  background: #fff;
}

.pager {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}

.pager button {
  border: 0;
  background: transparent;
  font-size: 24px;
}

.pager strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: #8e9198;
  color: #fff;
}

.pager span {
  position: absolute;
  right: 0;
}

.compact-footer {
  margin-top: 50px;
  padding-bottom: 14px;
}

body.modal-open {
  overflow: hidden;
}

.merchant-layer .modal-backdrop {
  background: rgba(0, 0, 0, 0.52);
}

.merchant-modal {
  position: relative;
  z-index: 1;
  width: 790px;
  max-width: calc(100vw - 40px);
  border: 3px solid #858585;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.merchant-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 25px;
  background: #eef6ff;
}

.merchant-titlebar h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}

.merchant-close {
  position: relative;
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
}

.merchant-close::before,
.merchant-close::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 2px;
  width: 2px;
  height: 24px;
  background: #222;
}

.merchant-close::before {
  transform: rotate(45deg);
}

.merchant-close::after {
  transform: rotate(-45deg);
}

.merchant-body {
  padding: 26px 25px 52px;
}

.merchant-info-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 16px;
}

.merchant-info-table th,
.merchant-info-table td {
  height: 45px;
  border: 1px solid #a8d3dc;
  padding: 9px 10px;
  text-align: left;
  vertical-align: middle;
}

.merchant-info-table th {
  width: 148px;
  background: #eaf9fa;
  text-align: center;
  font-weight: 700;
}

.merchant-info-table td {
  background: #fff;
}

.merchant-actions {
  display: flex;
  justify-content: center;
  padding: 15px 0 16px;
  border-top: 1px solid #e4e9f1;
}

.merchant-actions button {
  min-width: 61px;
  height: 40px;
  border: 1px solid #2563ff;
  border-radius: 6px;
  background: #fff;
  color: #1459d9;
  font-weight: 700;
}

@media (max-width: 1200px) {
  .header-grid,
  .search-header-grid {
    grid-template-columns: 230px 1fr 120px;
  }

  .login-methods {
    grid-template-columns: repeat(4, 1fr);
  }

  .security-options {
    position: static;
    margin-top: 18px;
  }

  .quick-menu {
    display: none;
  }

  .business-row,
  .query-grid {
    grid-template-columns: 160px 1fr;
  }

  .lookup-button {
    grid-row: auto;
    grid-column: auto;
    margin: 10px;
  }

  .result-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .result-toolbar div {
    margin-left: 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 720px);
  }

  .strip-links,
  .main-nav,
  .footer-info {
    display: none;
  }

  .header-grid,
  .search-header-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .all-menu,
  .member-icons {
    justify-self: start;
  }

  .title-row,
  .result-toolbar,
  .footer-links {
    flex-wrap: wrap;
  }

  .login-methods {
    grid-template-columns: repeat(2, 1fr);
  }

  .login-modal,
  .oacxWrap,
  .wait-modal {
    width: calc(100vw - 24px);
  }

  .login-modal,
  .oacxWrap {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px);
    overflow: auto;
  }

  .oacxWrap {
    height: auto;
  }

  .oacx-provider-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .oacx-agree ul {
    grid-template-columns: 1fr;
  }

  .oacx-agree li,
  .oacx-agree li:last-child {
    border-right: 0;
    border-bottom: 1px solid #d5d8df;
  }

  .oacx-agree li:last-child {
    border-bottom: 0;
  }

  .business-row,
  .query-grid {
    grid-template-columns: 1fr;
  }

  .result-table {
    min-width: 1040px;
  }

  .search-main {
    overflow-x: auto;
  }
}
