/* Explain: Styles for financial statistics, filter controls, and transaction cards. */
/* ---------------- Financial statistics ---------------- */
.stat-card {
    position: relative;
    height: 100%;
    padding: 1.75rem 1.5rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius-md);
    transition: border-color .35s ease, background .35s ease, transform .35s ease;
}
.stat-card:hover { border-color: var(--gold-400); background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.stat-card-value {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1.1;
    color: #fff;
}
.stat-card-label { font-size: .84rem; font-weight: 600; letter-spacing: .05em; color: var(--gold-400); margin-top: .75rem; }
.stat-card-note { font-size: .74rem; color: rgba(255, 255, 255, .58); margin-top: .5rem; line-height: 1.6; }

/* ---------------- Filter controls ---------------- */
.filter-bar {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
}
@media (min-width: 768px) {
    .filter-bar { grid-template-columns: 1.5fr 1fr 1fr 1fr; align-items: end; }
}
.filter-field { display: flex; flex-direction: column; }

.is-hidden { display: none !important; }

/* ---------------- Transaction cards ---------------- */
.txn-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.7rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--gold-500);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    transition: transform .35s ease, box-shadow .35s ease;
}
.txn-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.txn-amount { font-family: var(--font-heading); font-size: 1.5rem; color: var(--navy-800); line-height: 1.2; }
.txn-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .82rem;
    padding: .5rem 0;
    border-bottom: 1px dashed var(--border-color);
}
.txn-row:last-of-type { border-bottom: none; }
.txn-row span:first-child { color: var(--text-muted); flex-shrink: 0; }
.txn-row span:last-child { color: var(--navy-700); font-weight: 500; text-align: right; }
.txn-badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .32rem .65rem;
    border-radius: var(--radius-sm);
    background: var(--platinum-100);
    color: var(--navy-700);
    border: 1px solid var(--border-color);
}

/* ---------------- Executive profiles ---------------- */
.exec-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.7rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.exec-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--platinum-300); }
.exec-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--navy-700), var(--navy-900));
    color: var(--gold-400);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: .05em;
    margin-bottom: 1.1rem;
}
.exec-name { font-size: 1.1rem; margin-bottom: .25rem; }
.exec-role { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
.exec-text { font-size: .87rem; color: var(--text-muted); line-height: 1.75; margin-top: .9rem; }

/* ---------------- Legal / regulatory table ---------------- */
.legal-table { width: 100%; border-collapse: collapse; }
.legal-table th,
.legal-table td {
    text-align: left;
    padding: .9rem 1.1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: .88rem;
    vertical-align: top;
}
.legal-table th { width: 34%; font-weight: 600; color: var(--navy-700); background: var(--platinum-100); }
.legal-table td { color: var(--text-color); line-height: 1.7; }
.legal-table tr:last-child th,
.legal-table tr:last-child td { border-bottom: none; }

@media (max-width: 639px) {
    .legal-table,
    .legal-table tbody,
    .legal-table tr,
    .legal-table th,
    .legal-table td { display: block; width: 100%; }
    .legal-table th { border-bottom: none; padding-bottom: .35rem; }
    .legal-table td { padding-top: .2rem; }
}

/* ---------------- Source / reporting label ---------------- */
.source-note { font-size: .76rem; color: var(--text-muted); line-height: 1.7; }
.source-note a { color: var(--gold-600); text-decoration: underline; text-underline-offset: 2px; }