/* ==========================================================================
   Finances Page Styles (Club → Finances)
   ========================================================================== */

/* Finances Header */
.finances-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

/* TV Money Section */
.tv-money-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--app-tv-money-1) 0%, var(--app-accent-bright) 100%);
    color: var(--app-ink-on-accent);
    margin-bottom: 24px;
}

.tv-money-card__icon {
    font-size: 3.5rem;
    line-height: 1;
    flex-shrink: 0;
    color: var(--app-tv-gold);
}

.tv-money-card__body {
    flex: 1;
    min-width: 0;
}

.tv-money-card__value {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 6px;
}

.tv-money-card__info {
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 0;
}

/* Balance Chart — a plain line on the page, short enough to glance past */
.balance-chart {
    position: relative;
    height: 100px;
    width: 100%;
}

@media (min-width: 768px) {
    .balance-chart {
        height: 180px;
    }
}

/* ─── The bank: loans and savings (#454) ──────────────────────────────────── */

/* Label above, figure below, so a long label and a long number never collide
   at 390px — a two-column grid would have to break one of them. */
.finances-figures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px 24px;
    margin-bottom: 12px;
}

.finances-figures dt {
    font-weight: 400;
    opacity: 0.75;
    font-size: 0.9rem;
}

.finances-figures dd {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.finances-amount-form {
    max-width: 420px;
}

.finances-amount-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.finances-amount-actions .btn {
    flex: 1 1 auto;
}
