/* Revenue Section */
.revenue-section {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
}

.section-header {
    min-width: 250px;
    padding: 0.5rem;
}

.section-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 0.75rem;
    color: #3b82f6;
    font-size: 1.1em;
    opacity: 0.9;
}

.section-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.time-select {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.time-select:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.revenue-display {
    flex: 1;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
}

.revenue-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3b82f6;
    margin-top: 0.25rem;
}

.revenue-chart-container {
    position: relative;
    flex: 1;
    min-height: 200px;
    padding: 1rem;
    background: #fcfcfd;
    border-radius: 12px;
    margin-top: 1rem;
}

.trend-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #f3f4f6;
}

.trend-indicator.positive {
    color: #10b981;
    background: #ecfdf5;
}

.trend-indicator.positive i {
    color: #10b981;
}

.trend-indicator.negative {
    color: #ef4444;
    background: #fef2f2;
}

.trend-indicator.negative i {
    color: #ef4444;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .revenue-section {
        flex-direction: column;
        gap: 1rem;
    }

    .section-header {
        min-width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .revenue-chart-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .revenue-section {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-controls {
        width: 100%;
        justify-content: space-between;
    }

    .revenue-amount {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .time-select {
        width: 100%;
    }

    .revenue-chart-container {
        height: 250px;
        margin: 0;
    }
}