.depth-charge-analysis-section {
    margin-top: 2rem;
    padding: 0;
}

.depth-charge-analysis-section .card {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--bg-lighter);
    min-height: 400px;
    height: 450px;
    display: flex;
    flex-direction: column;
}

.depth-charge-analysis-section .card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.depth-charge-analysis-section .card-header {
    flex-shrink: 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 20px;
}

.depth-charge-analysis-section .card-header h6 {
    color: var(--text-dark);
    font-weight: var(--font-weight-semibold);
    margin: 0;
    font-size: 0.95rem;
}

.depth-charge-analysis-section .card-body {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.depth-charge-chart-container {
    flex: 1;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.depth-charge-chart-container canvas {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
}

.cv-annotation {
    position: absolute;
    top: 10px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    z-index: 10;
}

.depth-charge-loading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: var(--text-secondary);
}

.depth-charge-loading .spinner-border {
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
}

.depth-charge-no-data {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: var(--text-muted);
    text-align: center;
    padding: 2rem;
}

.depth-charge-no-data i {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .depth-charge-analysis-section .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .depth-charge-analysis-section .card {
        min-height: 300px;
        height: 350px;
        margin-bottom: 1rem;
    }
    
    .depth-charge-analysis-section .card-header {
        padding: 12px 16px;
    }
    
    .depth-charge-analysis-section .card-header h6 {
        font-size: 0.85rem;
    }
    
    .cv-annotation {
        font-size: 0.7rem;
        padding: 3px 6px;
        top: 8px;
        right: 12px;
    }
    
    .depth-charge-chart-container {
        padding: 8px;
    }
}

@media (max-width: 576px) {
    .depth-charge-analysis-section .card {
        min-height: 250px;
        height: 300px;
    }
    
    .depth-charge-chart-container {
        padding: 5px;
    }
}

.depth-charge-chart-container .chartjs-render-monitor {
    max-width: 100% !important;
    max-height: 100% !important;
}

.chart-title {
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.depth-charge-chart-container .chartjs-legend {
    font-size: 0.75rem;
}

@media (max-width: 1200px) {
    .depth-charge-analysis-section .card {
        height: 400px;
    }
}

@media (min-width: 1400px) {
    .depth-charge-analysis-section .card {
        height: 500px;
    }
}
