/* Investment-specific summary styles */
.investment-summaries { display: flex; flex-direction: column; gap: 1rem; }
.inv-card { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); padding: 1rem; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.03); color: var(--muted); }
.inv-card-head { display:flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.inv-name { margin: 0; font-size: 1.1rem; color: var(--accent-gold); }
.inv-meta { display:flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.meta-item { font-size: 0.95rem; color: var(--muted-alt); background: rgba(255,255,255,0.01); padding: 6px 10px; border-radius: 6px; }
.inv-transactions { margin-top: 0.8rem; }
.inv-transactions h4 { margin: 0 0 6px 0; font-size: 1rem; color: var(--muted); }
.inv-transactions ul { list-style: none; margin: 0; padding: 0; display: block; }

.tx-row { padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,1); color: var(--muted); display:flex;align-items:center;gap:10px; font-size: small;}
.tx-empty { padding: 6px 0; color: var(--muted-alt); }
.tx-row .tx-date{white-space:nowrap;}
.tx-row .tx-type{margin-left:8px;}
.tx-row .tx-value{margin-left:auto;font-weight:600;white-space:nowrap}
.tx-row .tx-actions{margin-left:12px;display:flex;gap:6px;align-items:center;flex-shrink:0}
.tx-row .tx-actions button{background:transparent;border:none;padding:4px 6px;border-radius:6px;cursor:pointer;font-size:14px}
.tx-row .tx-actions .tx-edit{color:#1a73e8}
.tx-row .tx-actions .tx-delete{color:#d64545}

.inv-odd { background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.01)); }
.inv-even { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); }
.summary-pagination { margin-top: 12px; display:flex; gap:12px; align-items:center; }
.summary-pagination .summary-page { color: var(--accent-gold); text-decoration: none; font-weight: 700; }
#account_total { margin-top: 12px; font-weight: 800; color: var(--muted); }

@media (max-width:700px){
  .inv-card { padding: 0.85rem; }
  .inv-meta { gap: 0.5rem; }
  .inv-name { font-size: 1rem; }
}

/* small header tweaks: show username and subtle highlight for auth link */
.header-username { color: var(--muted-alt); margin-left: 10px; font-weight: 600; opacity: 0.95; }
.button_side.auth { border-left: 1px solid rgba(255,255,255,0.03); padding-left: 12px; }

