/* NICE 본인인증 — 결제 전 게이트 오버레이 */
.ovns-nice-checkout-gate {
  position: fixed;
  inset: 0;
  z-index: 100090;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  background: rgba(26, 26, 26, 0.72);
  backdrop-filter: blur(4px);
}

.ovns-nice-checkout-gate__box {
  max-width: 26rem;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.ovns-nice-checkout-gate__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
}

.ovns-nice-checkout-gate__text,
.ovns-nice-checkout-gate__sub {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #333;
}

.ovns-nice-checkout-gate__sub {
  font-size: 0.8125rem;
  color: #666;
  margin-bottom: 1.25rem;
}

.ovns-nice-checkout-gate__cta {
  width: 100%;
  margin: 0;
  padding: 0.85rem 1rem !important;
  font-size: 1rem !important;
  border-radius: 8px !important;
}

.ovns-nice-checkout-gate__hint {
  min-height: 1.25rem;
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: #b45309;
}

.ovns-nice-register-gate--iframe .ovns-nice-checkout-gate__box {
  max-width: 32rem;
}

.ovns-nice-register-frame-wrap {
  display: none;
  width: 100%;
  height: min(70vh, 700px);
  min-height: 520px;
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: #fff;
}

.ovns-nice-register-frame-wrap.is-active {
  display: block;
}

.ovns-nice-register-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.ovns-nice-register-verified-note {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.45;
  background: #ecfdf5;
  color: #065f46;
}

/*
 * 마이 계정 페이지: 로그인 폼과 나란히 있는 회원가입 영역만 안내 (전체 화면 오버레이 금지).
 */
body.ovns-nice-reg-auth-my-account-layout .ovns-nice-register-gate {
  position: relative !important;
  inset: auto !important;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  padding: 0 0 1rem;
  margin: 0 0 1rem;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  align-items: stretch;
  justify-content: flex-start;
}

body.ovns-nice-reg-auth-my-account-layout
  .ovns-nice-register-gate
  .ovns-nice-checkout-gate__box {
  max-width: 100%;
  margin: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.ovns-nice-register-submit-disabled,
.ovns-nice-register-submit-disabled:hover,
.ovns-nice-register-submit-disabled:focus {
  cursor: not-allowed !important;
  opacity: 0.45 !important;
}

.ovns-nice-register-verified-note {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #f0faf4;
  border: 1px solid #b8e6c8;
  color: #1a5c32;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.ovns-nice-register-profile-fields {
  margin-bottom: 0.25rem;
}

.ovns-nice-register-field--readonly {
  background: #f5f5f5 !important;
  color: #333 !important;
  cursor: not-allowed;
}
