/**
 * Estilos modernos para MyTCashflowTimeline
 */
.my-cashflow-timeline-wrapper {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 25px;
}

.my-cashflow-timeline-wrapper .timeline-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

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

.my-cashflow-timeline-wrapper .timeline-title i {
    color: #3b82f6;
}

.my-cashflow-timeline-wrapper .timeline-subtitle {
    font-size: 12px;
    color: #94a3b8;
}

.my-cashflow-timeline-wrapper .timeline-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.my-cashflow-timeline-wrapper .timeline-day-card {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    min-height: 120px;
}

.my-cashflow-timeline-wrapper .timeline-day-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

/* Destaque para o dia de HOJE */
.my-cashflow-timeline-wrapper .timeline-day-card.today-highlight {
    background: #eff6ff;
    border: 1.5px solid #3b82f6;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.12);
}

.my-cashflow-timeline-wrapper .day-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 6px;
}

.my-cashflow-timeline-wrapper .day-name {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
}

.my-cashflow-timeline-wrapper .day-date {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.my-cashflow-timeline-wrapper .today-badge {
    background: #3b82f6;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.my-cashflow-timeline-wrapper .day-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.my-cashflow-timeline-wrapper .flow-row {
    display: flex;
    flex-direction: column;
    font-size: 10px;
}

.my-cashflow-timeline-wrapper .flow-label {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
}

.my-cashflow-timeline-wrapper .flow-in .flow-label i {
    color: #10b981;
}

.my-cashflow-timeline-wrapper .flow-in .flow-val {
    color: #059669;
    font-weight: 600;
    font-size: 11.5px;
}

.my-cashflow-timeline-wrapper .flow-out .flow-label i {
    color: #ef4444;
}

.my-cashflow-timeline-wrapper .flow-out .flow-val {
    color: #dc2626;
    font-weight: 600;
    font-size: 11.5px;
}

.my-cashflow-timeline-wrapper .day-card-footer {
    text-align: center;
    margin-top: auto;
    padding-top: 4px;
}

.my-cashflow-timeline-wrapper .flow-saldo-pill {
    display: block;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.my-cashflow-timeline-wrapper .flow-saldo-pill.saldo-pos {
    background: #dcfce7;
    color: #15803d;
}

.my-cashflow-timeline-wrapper .flow-saldo-pill.saldo-neg {
    background: #fee2e2;
    color: #b91c1c;
}
