/* ---------- Payment progress stepper ---------- */
.mstepper { border: 1px solid var(--divider); border-radius: 12px; padding: 12px 16px; margin-bottom: 24px; background: #fff; }
.ms-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.ms-head b { font-size: 16px; font-weight: 700; }
.ms-head span { font-size: 14px; color: var(--muted); }
.ms-bar { height: 8px; border-radius: 999px; background: rgba(71,133,129,.12); overflow: hidden; margin: 12px 0; }
.ms-bar span { display: block; height: 100%; background: var(--pl); border-radius: 999px; transition: width .4s; }
.ms-steps { display: flex; }
.ms-step { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px; }
.ms-step + .ms-step::before { content: ""; position: absolute; top: 12px; left: calc(-50% + 20px); right: calc(50% + 20px); border-top: 1px solid #bdbdbd; }
.ms-circ { width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,.38); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.ms-step.active .ms-circ { background: var(--primary); color: #EDE9DC; }
.ms-step.done .ms-circ { background: none; color: var(--primary); }
.ms-label { margin-top: 16px; font-size: 14px; color: rgba(0,0,0,.6); }
.ms-step.active .ms-label, .ms-step.done .ms-label { color: var(--primary); font-weight: 500; }

/* ---------- Floating selection bar ---------- */
.sbar {
  position: fixed; left: calc(var(--aw) + 24px); right: calc(24px + 1vw); bottom: calc(24px + 1vw); background: #fff; z-index: 12;
  border: 1px solid rgba(71,133,129,.24); border-radius: 12px; padding: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  box-shadow: 0 5px 5px -3px rgba(0,0,0,.2), 0 8px 10px 1px rgba(0,0,0,.14), 0 3px 14px 2px rgba(0,0,0,.12); animation: slideup .2s ease-out;
}
.sbar-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.sbar-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--pl); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sbar-left b { font-size: 16px; font-weight: 700; display: block; }
.sbar-left small { font-size: 14px; color: var(--muted); }
.sbar-mid { display: flex; gap: 32px; }
.sbar-mid small { display: block; font-size: 14px; color: var(--muted); }
.sbar-mid b { font-size: 20px; font-weight: 700; }

/* ---------- Dashboard ---------- */
.dash { display: flex; flex-direction: column; gap: 24px; }
.dash-grid { display: grid; grid-template-columns: minmax(280px, 3fr) minmax(0, 7fr); gap: 24px; align-items: stretch; }
.resume { background: #81c2bd; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 24px; color: #fff; }
.rp-block { border-bottom: 1px solid #fff; padding-bottom: 8px; }
.rp-block.second { margin-top: -15px; }
.rp-label { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 18px; font-weight: 600; text-align: center; }
.rp-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--pl); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rp-amount { font-size: 32px; font-weight: 700; text-align: center; margin-top: 8px; }
.rp-cur { font-size: 22px; font-weight: 700; text-align: center; margin-top: -10px; }
.rp-cap { font-size: 13px; text-align: center; margin-top: -12px; }
.resume .lbtn { align-self: center; }

.conv { background: #fbf8f2; border: 1px solid #e8e3d8; border-radius: 20px; padding: 24px; box-shadow: 0 8px 24px rgba(31,59,57,.08); min-width: 0; }
.cv-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.cv-title { display: flex; gap: 16px; align-items: center; }
.cv-title .c44 { width: 44px; height: 44px; border-radius: 50%; background: #197a72; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cv-title h3 { font-size: 18px; font-weight: 600; color: #1f4d49; }
.cv-title p { font-size: 13px; color: #435c59; }
.cv-upd { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #435c59; }
.cv-upd .ic { color: #197a72; }
.cv-inputs { display: grid; grid-template-columns: 1fr 40px 1fr; gap: 12px; margin-top: 24px; }
.cv-lab { font-size: 12px; font-weight: 600; color: #1f3b39; margin-bottom: 6px; display: block; }
.cv-box { height: 56px; background: #fff; border: 1px solid #c8d4d1; border-radius: 12px; padding: 0 16px; display: flex; align-items: center; gap: 12px; }
.cv-box:focus-within { border-color: #197a72; box-shadow: 0 0 0 3px rgba(25,122,114,.12); }
.cv-chip { min-width: 82px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #1f3b39; border-right: 1px solid #e1e6e4; padding-right: 12px; height: 32px; }
.cv-sym { font-size: 18px; font-weight: 600; color: #1f3b39; }
.cv-box input { flex: 1; min-width: 0; border: 0; outline: none; text-align: right; font-size: 18px; font-weight: 600; color: #1f3b39; background: transparent; }
.cv-out { flex: 1; min-width: 0; text-align: right; font-size: 18px; font-weight: 600; color: #197a72; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cv-preset { border: 1px solid #dce3e0; background: #fff; color: #435c59; border-radius: 999px; padding: 4px 12px; font: inherit; font-size: 11px; font-weight: 500; cursor: pointer; }
.cv-preset.on { background: #197a72; border-color: #197a72; color: #fff; }
.cv-swap { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #d5ddda; color: #197a72; display: flex; align-items: center; justify-content: center; cursor: pointer; margin-top: 34px; padding: 0; }
.cv-swap:hover { background: #f0f5f3; }
.cv-strip { margin-top: 20px; background: #f0f2ed; border-radius: 12px; padding: 16px; display: grid; grid-template-columns: 1fr 1px 1fr; gap: 16px; align-items: center; }
.cv-strip .div { background: #d7ddda; align-self: stretch; }
.cv-rate { display: flex; align-items: center; gap: 12px; }
.cv-rate .c40 { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #197a72; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cv-rate small { display: block; font-size: 11px; font-weight: 600; color: #435c59; }
.cv-rate b { font-size: 16px; font-weight: 600; color: #197a72; }
.cv-ref { font-size: 11px; color: #435c59; }
.cv-ref b { color: #1f3b39; }
.cv-save { margin-top: 16px; background: #fff; border: 1px solid #8fb7b2; border-radius: 12px; padding: 16px; display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 12px; align-items: stretch; }
.cv-save-intro { display: flex; gap: 12px; align-items: center; }
.cv-save-intro .c44 { width: 44px; height: 44px; border-radius: 50%; background: #e1f0ed; color: #197a72; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cv-save-intro b { display: block; font-size: 14px; font-weight: 600; color: #197a72; }
.cv-save-intro small { font-size: 11px; color: #435c59; line-height: 1.4; display: block; }
.cv-cell { border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.cv-cell small { font-size: 11px; color: #435c59; }
.cv-cell b { font-size: 18px; font-weight: 600; color: #1f3b39; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-cell span { font-size: 10px; color: #5d706d; }
.cv-cell.bank { background: #fbfaf7; border: 1px solid #e4e5df; }
.cv-cell.tru { background: #eff8f6; border: 1px solid #b9d6d2; }
.cv-cell.tru b { color: #197a72; }
.cv-cell.sav { background: #197a72; color: #fff; }
.cv-cell.sav small, .cv-cell.sav b, .cv-cell.sav span { color: #fff; }
.cv-disc { display: flex; gap: 6px; align-items: center; margin-top: 14px; font-size: 11px; color: #5d706d; }

.tsec { background: #fbf6e9; border-radius: 16px; padding: 24px; }
.tsec-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 24px; flex-wrap: wrap; }
.tsec-title { display: flex; gap: 12px; align-items: center; }
.tsec-title .c40 { width: 40px; height: 40px; border-radius: 50%; background: var(--pl); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tsec-title h1 { font-size: 22px; font-weight: 600; color: var(--pl); }
.tsec-title p { font-size: 14px; color: var(--muted); }
.tsec-actions { display: flex; gap: 12px; }
.ltable { width: 100%; border-collapse: collapse; }
.ltable th { background: var(--pl); color: #fff; font-size: 16px; font-weight: 400; padding: 3.2px 16px; text-align: center; white-space: nowrap; }
.ltable th:first-child { border-radius: 10px 0 0 10px; }
.ltable th:last-child { border-radius: 0 10px 10px 0; }
.ltable th .ic { vertical-align: middle; }
.ltable td { color: var(--pl); font-size: 14px; text-align: center; padding: 10px 16px; border-bottom: 1px solid #acb0b0; }
.ltable tbody tr { cursor: pointer; }
.ltable tbody tr:hover td { background: #d5d8d8; }
.ltable .empty { cursor: default; color: var(--muted); padding: 32px; }
