/* The identity check of a bank account (/js/bank-identity.js): the optional one-line offer for higher limits, the
   verification link and its copy field, our review, and what a verified account shows on the deposit pages. Loaded
   after /css/dash.css and /css/bank-deposit.css, whose cards, pills, steps and notes it builds on. */

/* The offer: one closed line with an Optional tag and an arrow, which opens the details. */
.ycp .card.sk-more { padding: 0; overflow: hidden; }
.sk-more-h { display: flex; align-items: center; gap: 11px; width: 100%; padding: 13px 20px; border: 0; background: none; color: var(--text); font: inherit; font-size: 14.5px; font-weight: 500; text-align: left; cursor: pointer; }
.sk-more-h:focus-visible { outline: 2px solid #9B7BFF; outline-offset: -2px; }
.sk-more-h .sk-more-ic { flex: none; color: #C9B8FF; }
.sk-more-h .sk-more-t { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; }
.sk-opt { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; line-height: 1.4; color: #D8CCFF; background: rgba(155, 123, 255, .16); border: 1px solid rgba(155, 123, 255, .45); }
.sk-more-h .sk-more-ch { flex: none; color: var(--muted); transition: transform .15s; }
.sk-more.open .sk-more-h .sk-more-ch { transform: rotate(180deg); }
.sk-more.open .sk-more-h { border-bottom: 1px solid var(--line-2); }
.sk-more-body { padding: 16px 20px 20px; }
.ycp .sk-more p.sk-lead { margin: 0 0 14px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.ycp .sk-more p.sk-lead b { color: var(--text); font-weight: 600; }
.ycp p.sk-partner { margin: 0 0 14px; }
.sk-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.sk-compare > div { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); }
.sk-compare > div.on { border-color: rgba(155, 123, 255, .45); background: rgba(155, 123, 255, .08); }
.sk-compare > div:only-child { grid-column: 1 / -1; }
.sk-compare dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.sk-compare dd { margin: 5px 0 0; font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.4; }
.sk-compare dd span { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.sk-points { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.sk-points li { display: flex; gap: 9px; align-items: flex-start; margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.sk-points li [data-icon] { flex: none; margin-top: 2px; color: #9B7BFF; }
.sk-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sk-bank { max-width: 460px; margin-bottom: 16px; }

/* The identity card: getting the link, the link, our review, the answer. */
.sk-id .steps { margin-bottom: 18px; }
.ycp .sk-id .txt { margin: 0 0 14px; }
.ycp .sk-id .hint.sk-today { margin: 14px 0 0; }
.ycp .sk-id .f-err, .ycp .sk-more .f-err { margin: 12px 2px 0; }
.sk-id .f-err:empty, .sk-more .f-err:empty { display: none; }
.sk-wait { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; border: 1px solid rgba(110, 168, 255, .22); background: rgba(110, 168, 255, .07); }
.sk-wait + .rows { margin-top: 14px; }
.sk-spin { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(110, 168, 255, .25); border-top-color: #6EA8FF; animation: sk-spin 1s linear infinite; }
@keyframes sk-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sk-spin { animation: none; } }
.ycp .sk-wait p { margin: 0; }
.ycp .sk-wait .sk-wait-t { font-size: 15px; font-weight: 600; color: var(--text); }
.ycp .sk-wait .sk-wait-s { margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.sk-go { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 14px; border: 1px solid rgba(155, 123, 255, .35); background: rgba(155, 123, 255, .06); }
.ycp .sk-go .txt { margin: 0; }
.sk-go .btn { align-self: flex-start; }
.ycp .sk-go .note { margin: 0; }
.ycp .sk-id .copy.sk-copy { margin: 0; }
.ycp .sk-id > .copy.sk-copy { margin: 0 0 14px; }
.sk-dot { color: var(--muted-2); margin: 0 4px; }
.sk-done { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.ycp .sk-done .step-title { margin: 0 0 4px; }
.ycp .sk-done .txt { margin: 0 0 12px; }
.sk-pair { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.sk-pair-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); }
.sk-pair-row .opt-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--text-2); background: var(--surface-3); }
.sk-pair-t { flex: 1; min-width: 150px; display: flex; flex-direction: column; gap: 2px; }
.sk-pair-t b { font-size: 14px; font-weight: 600; color: var(--text); }
.sk-pair-t span { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.sk-pair-a { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sk-id .rows dd .linkish { display: inline; }

/* Inside the "Verify your bank account" card (an account added with the identity check alone): no card of its own. */
.sk-id.sk-inline { padding: 0; border: 0; background: none; box-shadow: none; }

/* The Bank accounts suite: the card sits above the account's tiles. */
.bs .card.sk-more, .bs .card.sk-id { margin-bottom: 14px; }

/* The name step of a customer who may add a bank account with the identity check alone. */
.sk-route .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 18px; }

/* A verified account on the deposit form. */
.ycp p.sk-first { margin: 0 0 14px; }
.sk-idpill { margin-left: 8px; }
/* The Deposit page of the suite: a verified account shows only the limits it has, so the cards share the row. */
.lv-b.sk-lv { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.bs .sum-from + .rows + p.sk-first, .bs p.sk-first { margin-top: 14px; }

@media (max-width: 750px) {
  .sk-more-h { padding: 13px 14px; gap: 9px; font-size: 13px; }
  .sk-more-body { padding: 14px 16px 16px; }
  .sk-compare { grid-template-columns: minmax(0, 1fr); }
  .sk-route .opts { grid-template-columns: minmax(0, 1fr); }
  .sk-go .btn, .sk-done .btn, .sk-actions .btn { width: 100%; align-self: stretch; }
  .sk-go .copy .btn { width: auto; align-self: center; }
  .copy.sk-copy > span { font-size: 12.5px; }
  .sk-pair-a { width: 100%; }
  .sk-pair-a .btn { flex: 1; }
}
