/* Drawdown Statistics Component Styles */

/* Container */
.drawdown-stats-container {
    width: 100%;
}

/* Metrics Row - Desktop: horizontal layout */
.drawdown-metrics-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

/* Metric Card */
.drawdown-metric-card {
    text-align: center;
    padding: 12px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 0; /* Allow flex items to shrink */
    flex: 1 1 0; /* Equal distribution, no base size */
    max-width: 100%;
}

.drawdown-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .drawdown-metrics-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .drawdown-metric-card {
        width: 100% !important;
        margin-bottom: 0;
    }
    
    .drawdown-stats-container {
        padding: 15px !important;
    }
}

/* Tablet Responsive Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .drawdown-metrics-row {
        gap: 8px;
    }
    
    .drawdown-metric-card {
        padding: 10px;
    }
}

/* Small Desktop - 4 metrics layout */
@media (min-width: 1025px) {
    .drawdown-metrics-row {
        gap: 10px;
    }
}

