/**
 * Estilos modernos e de alto contraste para MyTBankBalanceGrid
 */
.my-bank-balance-wrapper {
    margin-bottom: 25px;
}

.my-bank-balance-wrapper .bb-section-header {
    margin-bottom: 12px;
}

.my-bank-balance-wrapper .bb-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.my-bank-balance-wrapper .bb-section-title i {
    color: #4f46e5;
}

.my-bank-balance-wrapper .bb-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 15px;
}

.my-bank-balance-wrapper .bb-account-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 18px;
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.22s ease;
    min-height: 125px;
}

.my-bank-balance-wrapper .bb-account-card.clickable {
    cursor: pointer;
}

.my-bank-balance-wrapper .bb-account-card.clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    border-color: #6366f1;
}

/* Card Consolidado Geral (Destaque Premium) */
.my-bank-balance-wrapper .bb-total-consolidated {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #ffffff;
    border: 1.5px solid #312e81;
    box-shadow: 0 4px 18px rgba(30, 27, 75, 0.35);
}

.my-bank-balance-wrapper .bb-total-consolidated .bb-type-pill {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.my-bank-balance-wrapper .bb-total-consolidated .bb-card-icon {
    color: #a5b4fc;
    font-size: 16px;
}

.my-bank-balance-wrapper .bb-total-consolidated .bb-account-name {
    color: #c7d2fe;
}

.my-bank-balance-wrapper .bb-total-consolidated .bb-account-balance {
    color: #ffffff !important;
}

.my-bank-balance-wrapper .bb-total-consolidated .bb-account-detail {
    color: #a5b4fc;
}

/* Topo do card */
.my-bank-balance-wrapper .bb-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.my-bank-balance-wrapper .bb-type-pill {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.my-bank-balance-wrapper .bb-card-icon-link {
    font-size: 12px;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.my-bank-balance-wrapper .bb-account-card:hover .bb-card-icon-link {
    color: #4f46e5;
}

/* Corpo do card */
.my-bank-balance-wrapper .bb-card-body {
    margin-bottom: 6px;
}

.my-bank-balance-wrapper .bb-account-name {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.my-bank-balance-wrapper .bb-account-balance {
    font-size: 21px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.4px;
    line-height: 1.2;
}

.my-bank-balance-wrapper .bb-account-balance.positive {
    color: #059669;
}

.my-bank-balance-wrapper .bb-account-balance.negative {
    color: #dc2626;
}

/* Rodapé do card */
.my-bank-balance-wrapper .bb-card-bottom {
    font-size: 11.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    border-top: 1px solid #f1f5f9;
    padding-top: 5px;
}
