/* Kasa / Banka ekrani — Fynex Kasa Banka mockup'i */
@layer views {
  .acct-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .acct-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
  }
  .acct-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -24px rgba(37, 40, 90, .5);
  }
  .acct-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .acct-name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .acct-balance { font-size: 22px; }
  .acct-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(22, 24, 43, .06);
    padding-top: 8px;
    font-size: var(--text-xs);
    color: var(--faint);
  }
  .acct-arrow { color: #C2C5D4; font-size: 14px; font-weight: 600; }

  .mov-list { display: flex; flex-direction: column; }
  .mov-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line-soft);
  }
  .mov-row:last-child { border-bottom: 0; }
  .mov-title { font-size: 13px; font-weight: 600; }
  .mov-meta { font-size: var(--text-xs); color: var(--faint); margin-top: 1px; }
  .mov-amount { font-size: 13px; font-weight: 700; }
  .mov-amount.in { color: var(--success); }

  .empty-glyph {
    width: 16px;
    height: 12px;
    border: 2px solid var(--label);
    border-radius: 3px;
    display: block;
    position: relative;
  }
  .empty-glyph::before {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    top: 2px;
    height: 2px;
    background: var(--label);
    border-radius: 2px;
  }

  /* kpi-grid kirilimlari ortak katmanda (components.css) — K4 */
  @media (max-width: 1024px) {
    .acct-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 640px) {
    .acct-grid { grid-template-columns: 1fr; }
  }
}
