/* ============================================================
   BOMI — Fee Schedule page-only styles
   feeschedule.css  (loaded after bomi.css)
   ============================================================ */

/* ── Intro note ── */
.fee-intro {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.8rem;
  padding: 0.9rem 1.1rem;
  background: rgba(200,168,75,0.05);
  border-left: 2px solid rgba(200,168,75,0.35);
  border-radius: 0 2px 2px 0;
  letter-spacing: 0.02em;
}


/* ── Accordion ── */
.fee-section {
  margin-bottom: 0.7rem;
  scroll-margin-top: 80px;
}

.fee-card {
  background: rgba(14,42,69,0.5);
  border: 1px solid rgba(200,168,75,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: border-color var(--transition);
}

.fee-card:hover {
  border-color: rgba(200,168,75,0.22);
}

.fee-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition);
  border-bottom: 1px solid transparent;
}

.fee-card.open .fee-card-header {
  border-bottom-color: rgba(200,168,75,0.1);
}

.fee-card-header:hover {
  background: rgba(26,122,138,0.08);
}

.fee-icon {
  font-size: 1.2rem;
  width: 38px;
  height: 38px;
  background: rgba(26,122,138,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(26,122,138,0.25);
  flex-shrink: 0;
}

.fee-card-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
  flex: 1;
  line-height: 1.3;
}

.fee-card-header .fee-subtitle {
  font-size: 0.7rem;
  color: var(--muted);
  font-style: italic;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  display: block;
  margin-top: 0.15rem;
}

.toggle-icon {
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.fee-card.open .toggle-icon {
  transform: rotate(45deg);
}

/* ── Accordion body ── */
.fee-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1);
}

.fee-card.open .fee-card-body {
  max-height: 2000px;
}

.fee-card-body-inner {
  padding: 1.2rem 1.4rem 1.5rem;
}

/* ── Fee table ── */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
}

.fee-table thead th {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  padding: 0.55rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(200,168,75,0.2);
  background: rgba(200,168,75,0.04);
}

.fee-table thead th:last-child { text-align: right; }

.fee-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background var(--transition);
}

.fee-table tbody tr:last-child { border-bottom: none; }
.fee-table tbody tr:hover { background: rgba(26,122,138,0.07); }

.fee-table tbody td {
  padding: 0.65rem 0.9rem;
  color: var(--muted);
  vertical-align: top;
  line-height: 1.5;
}

.fee-table tbody td:first-child {
  color: var(--text);
  font-weight: 400;
}

.fee-table tbody td:last-child { text-align: right; }

/* Row-span label cell */
.fee-table td.label-cell {
  color: var(--text);
  border-right: 1px solid rgba(200,168,75,0.08);
  vertical-align: top;
}

/* Sub-item rows (for multi-value cells) */
.fee-table td.sub-label {
  color: var(--muted);
  font-size: 0.74rem;
}

/* Amount badge */
.amt {
  display: inline-block;
  background: rgba(26,122,138,0.15);
  border: 1px solid rgba(26,122,138,0.28);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 2px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Requirement bullet list (account opening section) */
.req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0;
}

.req-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.req-list li::before {
  content: '›';
  color: var(--teal);
  font-size: 1rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.req-group {
  margin-bottom: 1rem;
}

.req-group h4 {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* MG rate table — tiered pricing */
.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
}

.tier-table thead th {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(200,168,75,0.2);
  background: rgba(200,168,75,0.04);
}

.tier-table thead th:last-child { text-align: right; }

.tier-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: background var(--transition);
}

.tier-table tbody tr:last-child { border-bottom: none; }
.tier-table tbody tr:hover { background: rgba(26,122,138,0.07); }

.tier-table tbody td {
  padding: 0.5rem 0.8rem;
  color: var(--muted);
}

.tier-table tbody td:last-child {
  text-align: right;
  color: var(--white);
  font-weight: 600;
}


/* ── Responsive ── */
@media (max-width: 600px) {
  .fee-table thead th,
  .fee-table tbody td,
  .tier-table thead th,
  .tier-table tbody td {
    padding: 0.5rem 0.5rem;
  }
}
