.dashboard-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: #f1f5f9;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    margin: 22px 0 12px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dashboard-section-header .section-title-wrap {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-section-header .section-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-badge.badge-realizado {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.section-badge.badge-previsto {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.section-badge.badge-bancos {
    background: #ede9fe;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.section-badge.badge-agenda {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.section-badge.badge-graficos {
    background: #f3e8ff;
    color: #7e22ce;
    border: 1px solid #e9d5ff;
}

.dashboard-filter-card {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 5px;
}

.my-financial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    border: 1.5px solid #cbd5e1;
    position: relative;
    overflow: hidden;
    transition: all 0.22s ease-in-out;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 130px;
}

.my-financial-card.clickable {
    cursor: pointer;
}

.my-financial-card.clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.my-financial-card .card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.my-financial-card .card-title-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #475569;
}

.my-financial-card .card-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.2s ease;
    border: 1px solid transparent;
}

.my-financial-card:hover .card-icon-wrap {
    transform: scale(1.08);
}

.my-financial-card .card-value-wrap {
    margin-bottom: 8px;
}

.my-financial-card .card-value-number {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    color: #0f172a;
    letter-spacing: -0.5px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.my-financial-card .card-footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid #f1f5f9;
}

.my-financial-card .card-footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.my-financial-card .card-badge {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.my-financial-card .badge-positive {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.my-financial-card .badge-negative {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.my-financial-card .badge-warning {
    background-color: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.my-financial-card .badge-neutral {
    background-color: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.my-financial-card .card-subtitle-text {
    font-size: 11.5px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.my-financial-card .card-action-indicator {
    color: #94a3b8;
    font-size: 12px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.my-financial-card:hover .card-action-indicator {
    color: #0284c7;
    transform: translateX(3px);
}

/* Barra de progresso opcional */
.my-financial-card .card-progress-track {
    height: 5px;
    background-color: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0;
}

.my-financial-card .card-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
}

/* ==========================================================================
   TEMAS DE CORES PARA OS CARDS (BORDA SUPERIOR DE DESTAQUE + ÍCONES VIBRANTES)
   ========================================================================== */

/* Tema Success (Verde - Receitas) */
.my-financial-card.theme-success {
    border-top: 4px solid #10b981;
}
.my-financial-card.theme-success .card-icon-wrap {
    background: #dcfce7;
    color: #15803d;
    border-color: #bbf7d0;
}
.my-financial-card.theme-success .card-value-number {
    color: #047857;
}

/* Tema Danger (Vermelho - Saídas e Inadimplência) */
.my-financial-card.theme-danger {
    border-top: 4px solid #ef4444;
}
.my-financial-card.theme-danger .card-icon-wrap {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fecaca;
}
.my-financial-card.theme-danger .card-value-number {
    color: #b91c1c;
}

/* Tema Primary (Azul Royal - Resultado) */
.my-financial-card.theme-primary {
    border-top: 4px solid #3b82f6;
}
.my-financial-card.theme-primary .card-icon-wrap {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #bfdbfe;
}
.my-financial-card.theme-primary .card-value-number {
    color: #1e3a8a;
}

/* Tema Warning (Laranja/Âmbar - A Pagar 30d) */
.my-financial-card.theme-warning {
    border-top: 4px solid #f59e0b;
}
.my-financial-card.theme-warning .card-icon-wrap {
    background: #fef3c7;
    color: #b45309;
    border-color: #fde68a;
}
.my-financial-card.theme-warning .card-value-number {
    color: #92400e;
}

/* Tema Info (Ciano/Azul Céu - A Receber 30d) */
.my-financial-card.theme-info {
    border-top: 4px solid #06b6d4;
}
.my-financial-card.theme-info .card-icon-wrap {
    background: #cffafe;
    color: #0e7490;
    border-color: #a5f3fc;
}
.my-financial-card.theme-info .card-value-number {
    color: #155e75;
}

/* Tema Purple (Violeta/Roxo - Saldo em Contas) */
.my-financial-card.theme-purple {
    border-top: 4px solid #8b5cf6;
}
.my-financial-card.theme-purple .card-icon-wrap {
    background: #ede9fe;
    color: #6d28d9;
    border-color: #ddd6fe;
}
.my-financial-card.theme-purple .card-value-number {
    color: #581c87;
}
