/* HOLDERVEST - hubungkan rekening & penarikan. Mobile-first.
   Dimuat setelah app-holdervest.css dan deposit-holdervest.css (kerangka, .hv-in, .hv-panel, .hv-steps). */

/* ── Kartu rekening ────────────────────────────────────────────────── */
.hv-accounts { display: grid; gap: 10px; margin-top: 16px; }
.hv-account { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(255, 214, 180, .5); border-radius: 16px; background: linear-gradient(180deg, rgba(118, 32, 0, .38), rgba(150, 44, 0, .24)); transition: border-color .2s ease, box-shadow .25s ease; }
label.hv-account { cursor: pointer; }
.hv-account input { position: absolute; opacity: 0; pointer-events: none; }
.hv-account__logo { display: grid; place-items: center; flex: none; width: 52px; height: 52px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 6px 14px rgba(70, 18, 0, .35); color: #ea580c; font-size: 26px; }
.hv-account__logo img { width: 100%; height: 40px; object-fit: contain; }
.hv-account__body { flex: 1; min-width: 0; }
.hv-account__body strong { display: block; font-size: 15.5px; font-weight: 600; overflow-wrap: anywhere; }
.hv-account__body span { display: block; margin-top: 2px; font-size: 14px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.hv-account__body small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--hv-soft); overflow-wrap: anywhere; }
.hv-account__check { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border: 1.5px solid rgba(255, 226, 200, .7); border-radius: 50%; color: transparent; font-size: 17px; transition: background-color .2s ease, color .2s ease, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.hv-account.is-selected, .hv-account:has(input:checked) { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 190, 130, .3), 0 0 22px rgba(255, 150, 70, .4); }
.hv-account.is-selected .hv-account__check, .hv-account:has(input:checked) .hv-account__check { border-color: #ffd9b8; background: linear-gradient(150deg, #ff9345, #ea580c); color: #fff; transform: scale(1.08); }
.hv-account:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }

.hv-more { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 12px 4px 0; font-size: 14px; text-decoration: none; color: #ffd9b0; }
.hv-more .hv-icon { font-size: 18px; transition: transform .2s ease; }
.hv-more:hover .hv-icon { transform: translateX(4px); }

/* ── Langkah bernomor di kepala panel ──────────────────────────────── */
.hv-stepno { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 1px solid rgba(255, 226, 200, .75); border-radius: 11px; background: linear-gradient(150deg, #ff9a4d, #ea580c); box-shadow: 0 0 16px rgba(255, 150, 70, .55); font-size: 16px; font-weight: 600; }

/* ── Pilihan cepat nominal ─────────────────────────────────────────── */
.hv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hv-chips button { min-height: 38px; padding: 6px 14px; border: 1px solid rgba(255, 214, 180, .5); border-radius: 999px; background: rgba(118, 32, 0, .34); color: #fff; font-family: inherit; font-size: 13.5px; font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .2s ease, transform .15s ease, color .2s ease; }
.hv-chips button:hover { background: rgba(255, 255, 255, .14); }
.hv-chips button:active { transform: scale(.95); }
.hv-chips button.is-selected { border-color: #fff; background: #fff; color: #ea580c; font-weight: 600; }
.hv-chips button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.hv-limit { margin-top: 10px; font-size: 13px; color: var(--hv-soft); transition: color .2s ease; }
.hv-limit.is-error { color: #ffd0d0; }
.hv-limit.is-ok { color: #b6ffd3; }

.hv-terms-box { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 12px 14px; border: 1px solid rgba(255, 214, 180, .4); border-radius: 14px; background: rgba(118, 32, 0, .3); font-size: 13px; line-height: 1.5; color: var(--hv-soft); }
.hv-terms-box .hv-icon { flex: none; margin-top: 1px; font-size: 20px; color: #ffc58f; }
.hv-terms-box strong { display: block; font-weight: 500; color: #fff; }

/* ── Rincian ───────────────────────────────────────────────────────── */
.hv-breakdown { display: grid; margin-top: 14px; }
.hv-breakdown > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed rgba(255, 224, 200, .28); font-size: 14px; color: var(--hv-soft); }
.hv-breakdown strong { font-weight: 500; text-align: right; color: #fff; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.hv-breakdown > div:last-child { border-bottom: 0; padding-top: 14px; font-size: 15px; color: #fff; }
.hv-breakdown > div:last-child strong { font-size: 24px; font-weight: 600; color: #b6ffd3; text-shadow: 0 0 18px rgba(120, 240, 170, .4); }
.hv-breakdown strong.is-bump { animation: hv-key .25s ease; }

.hv-app--narrow .hv-app__wrap > .hv-btn { width: 100%; height: 58px; margin-top: 16px; font-size: 17px; }
.hv-app--narrow .hv-app__wrap > form > .hv-btn { width: 100%; height: 58px; margin-top: 16px; font-size: 17px; }
.hv-app__wrap form > .hv-btn > span:first-child { flex: 1; text-align: center; }
.hv-app__wrap form > .hv-card + .hv-card { margin-top: 14px; }
.hv-btn--fire[disabled] { opacity: .55; cursor: not-allowed; }
.hv-btn--fire[disabled]::after { display: none; }

/* ── Form rekening ─────────────────────────────────────────────────── */
.hv-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hv-seg input { position: absolute; opacity: 0; pointer-events: none; }
.hv-seg span { display: flex; align-items: center; justify-content: center; gap: 9px; height: 48px; border: 1px solid rgba(255, 214, 180, .5); border-radius: 12px; background: rgba(118, 32, 0, .3); font-size: 14.5px; cursor: pointer; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .2s ease; }
.hv-seg span .hv-icon { font-size: 20px; stroke-width: 1.6; }
.hv-seg span:hover { transform: translateY(-1px); }
.hv-seg input:checked + span { border-color: #fff; background: linear-gradient(180deg, #fff, #ffe7d4); color: #ea580c; font-weight: 600; box-shadow: 0 0 0 3px rgba(255, 190, 130, .35), 0 8px 22px rgba(255, 130, 40, .5); }
.hv-seg input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

.hv-in select { flex: 1; min-width: 0; height: 100%; padding: 0 44px 0 8px; border: 0; outline: 0; -webkit-appearance: none; appearance: none; background: none; color: #fff; font-family: inherit; font-size: 16px; cursor: pointer; }
.hv-in select option { background: #7a2503; color: #fff; }
.hv-in { position: relative; }
.hv-in > .hv-in__chevron { position: absolute; right: 16px; min-width: 0; padding: 0; font-size: 20px; color: #fff; pointer-events: none; }
.hv-in__logo { width: 32px; height: 32px; padding: 3px; border-radius: 8px; background: #fff; object-fit: contain; }

.hv-shield-note { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.hv-shield-note img { flex: none; width: 54px; filter: drop-shadow(0 8px 12px rgba(70, 18, 0, .5)); }
.hv-shield-note strong { display: block; font-size: 15px; font-weight: 600; }
.hv-shield-note small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--hv-soft); }
