/* fees-and-credit-policy.css - Confermax Fees and Credit Policy Styles
   Inherits base structure and theme from privacy-policy.css / terms-of-use.html */

@import url("privacy-policy.css");

/* ========================================================
   Header / Navbar (Midnight Theme)
   ======================================================== */
nav.navbar {
  padding: 20px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: all .35s ease;
  background: transparent;
}
nav.navbar.sticked {
  position: fixed;
  top: 0;
  background: rgba(3, 24, 21, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.08) !important;
  border-bottom: 1px solid rgba(16, 185, 129, 0.25) !important;
}

nav.navbar ul.nav > li > a,
nav.navbar.sticked ul.nav > li > a {
  color: #ffffff !important;
  opacity: 0.92;
}

nav.navbar ul.nav > li.active > a,
nav.navbar ul.nav > li > a:hover,
nav.navbar.sticked ul.nav > li.active > a,
nav.navbar.sticked ul.nav > li > a:hover {
  color: #34d399 !important;
  opacity: 1;
}

nav.navbar ul.nav > li.dropdown > a::after,
nav.navbar.sticked ul.nav > li.dropdown > a::after {
  border-right-color: #ffffff !important;
  border-bottom-color: #ffffff !important;
}

nav.navbar ul.nav > li.active.dropdown > a::after,
nav.navbar.sticked ul.nav > li.active.dropdown > a::after,
nav.navbar ul.nav > li.dropdown:hover > a::after,
nav.navbar.sticked ul.nav > li.dropdown:hover > a::after {
  border-right-color: #34d399 !important;
  border-bottom-color: #34d399 !important;
}

.dropdown-menu {
  background: #04221d !important;
  border: 1px solid rgba(52, 211, 153, 0.3) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dropdown-menu li a {
  color: #cbd5e1 !important;
}

.dropdown-menu li a:hover {
  background: rgba(16, 185, 129, 0.16) !important;
  color: #34d399 !important;
  padding-left: 26px;
}

.dropdown-menu li.active a,
.dropdown-menu li a.active {
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.14) !important;
  font-weight: 600;
}

nav.navbar .attr-nav a.btn,
nav.navbar.sticked .attr-nav a.btn {
  border-color: rgba(52, 211, 153, 0.45) !important;
  color: #ffffff !important;
  background: rgba(16, 185, 129, 0.12) !important;
}

nav.navbar .attr-nav a.btn:hover,
nav.navbar.sticked .attr-nav a.btn:hover {
  background: linear-gradient(90deg, #059669 0%, #10b981 100%) !important;
  color: #ffffff !important;
  border-color: rgba(52, 211, 153, 0.8) !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.5) !important;
}

.navbar-toggle span {
  background-color: #34d399 !important;
}

@media (max-width: 991px) {
  nav.navbar.open ul.nav {
    background: #031815 !important;
    border-top: 1px solid rgba(16, 185, 129, 0.25) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
  }
  nav.navbar.open ul.nav > li > a {
    color: #ffffff !important;
  }
  nav.navbar.open ul.nav > li.dropdown .dropdown-menu {
    background: rgba(5, 40, 34, 0.85) !important;
    border: 1px solid rgba(52, 211, 153, 0.2) !important;
  }
}

/* ========================================================
   Heading & Section Typography Hierarchy
   ======================================================== */
.policy-block h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px;
  line-height: 1.35;
}

.policy-block h3 {
  font-size: 21px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 32px 0 14px !important;
  line-height: 1.35 !important;
}

.policy-block h4 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 22px 0 8px !important;
  line-height: 1.45 !important;
}

.policy-block p {
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
  margin: 0 0 14px;
}

/* ========================================================
   Pricing Table & Credit Package Enhancements
   ======================================================== */
.policy-table-wrapper {
  overflow-x: auto;
  margin: 20px 0 28px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
  background: #ffffff;
}

.policy-table thead th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.policy-table tbody td {
  padding: 18px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #334155;
  line-height: 1.55;
}

.policy-table tbody tr:last-child td {
  border-bottom: none;
}

.policy-table tbody tr:hover td {
  background: #fafcff;
}

/* Plan Title & Tagging */
.plan-cell-title {
  font-weight: 700;
  font-size: 16px;
  color: #0f172a;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.plan-cell-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 8px;
  max-width: 480px;
}

.plan-tags-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.plan-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.plan-tag.tag-kyb {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
}

.plan-tag.tag-ai {
  background: #f5f3ff;
  color: #7c3aed;
  border-color: #ddd6fe;
}

/* Price & Quotas */
.price-pill {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.price-pill.free {
  color: #059669;
}

.price-sub {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  display: block;
}

.quota-badge {
  display: inline-block;
  font-weight: 700;
  font-size: 13.5px;
  color: #0f172a;
  white-space: nowrap;
}

.quota-sub {
  display: block;
  font-size: 12px;
  color: #64748b;
  font-weight: normal;
}

.status-badge-active {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* Highlight Informational Callout Box */
.policy-callout {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0284c7;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}

.policy-callout.callout-green {
  border-left-color: #10b981;
  background: #f0fdf4;
}

.policy-callout h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}

.policy-callout p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

.policy-callout p strong {
  color: #0f172a;
}

/* Confirmation Pricing & Top-Up Rate Grid */
.confirms-rate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 22px 0 28px;
}

.confirms-rate-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  transition: all 0.2s ease;
}

.confirms-rate-card:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

.confirms-rate-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
}

.confirms-rate-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

.confirms-rate-price {
  font-size: 16px;
  font-weight: 800;
  color: #0284c7;
  white-space: nowrap;
}

.confirms-rate-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 767px) {
  .confirms-rate-grid {
    grid-template-columns: 1fr;
  }
  .policy-table thead th,
  .policy-table tbody td {
    padding: 12px 14px;
  }
}

/* Korean & Japanese font fallbacks */
html[lang="ko"] body { --font-default: 'Outfit', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; --font-heading: 'Outfit', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; }
html[lang="ja"] body { --font-default: 'Outfit', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', 'Meiryo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; --font-heading: 'Outfit', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', sans-serif; }
