/* Styles pour DividendsTab optimisé - Version allégée sans cards imbriquées */

.dividends-container {
    background: transparent;
    padding: 0;
}

/* En-tête et filtres compacts */
.dividends-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.filters-row {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin: 0;
}

/* Total en évidence */
.total-summary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.total-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

.total-amount {
    font-size: 1.75rem;
    font-weight: 700;
}

/* État vide */
.empty-dividends {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.6;
}

.empty-dividends h3 {
    margin: 0 0 12px 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
}

.empty-dividends p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Contenu principal sans cards */
.dividends-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.chart-section,
.table-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.section-title {
    margin: 0 0 20px 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.chart-wrapper,
.table-wrapper {
    min-height: 300px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .dividends-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .total-summary {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .total-amount {
        font-size: 1.5rem;
    }

    .filters-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select {
        width: 100% !important;
    }
}