/* Risk level color classes - BLUE/PINK GRADIENT SCHEME */
.risk-low,
.lead-time-legend-color.risk-low {
    background-color:#cfe8ff  !important; /* Light blue - lowest risk */
}

.risk-medium,
.lead-time-legend-color.risk-medium {
    background-color:  #91caff !important; /* Light purple-blue */
}

.risk-high,
.lead-time-legend-color.risk-high {
    background-color:  #f3b3e7 !important; /* Light pink */
}

.risk-very-high,
.lead-time-legend-color.risk-very-high {
    background-color:   #ec4899 !important; /* Darker pink - highest risk */
}

/* Rest of your CSS stays the same... */
.lead-time-heatmap-container {
    padding: 12px;
}

.lead-time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.lead-time-heatmap-card {
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.lead-time-heatmap-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lead-time-range-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 4px;
}

.lead-time-cancellation-rate {
    font-size: 22px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 4px;
}

.lead-time-booking-count {
    font-size: 11px;
    color: #6b7280;
}

.lead-time-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.lead-time-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lead-time-legend-color {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
}

.lead-time-legend-text {
    font-size: 11px;
    color: #4b5563;
    font-weight: 500;
}

.lead-time-summary {
    text-align: center;
    margin-top: 16px;
    padding: 12px;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.lead-time-summary-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.lead-time-summary-value {
    font-size: 16px;
    font-weight: bold;
    color: #1f2937;
}

@media (max-width: 1200px) {
    .lead-time-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .lead-time-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lead-time-legend {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .lead-time-heatmap-container {
        padding: 8px;
    }

    .lead-time-heatmap-card {
        padding: 10px;
    }

    .lead-time-cancellation-rate {
        font-size: 18px;
    }

    .lead-time-summary-value {
        font-size: 14px;
    }
}