/* Grade Calculator Styles */

.grade-diagram-container {
    min-height: 160px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grade-diagram-container svg {
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.15));
    max-width: 100%;
    height: auto;
}

.ground-line {
    stroke: #8b7355;
    stroke-width: 3;
}

.elevation-marker {
    fill: #dc3545;
}

.label-text {
    fill: #495057;
    font-size: 10px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Dark mode support */
[data-bs-theme="dark"] .grade-diagram-container {
    background: linear-gradient(135deg, #1a1d23 0%, #2d3748 100%);
}

[data-bs-theme="dark"] .ground-line {
    stroke: #9a8570;
}

[data-bs-theme="dark"] .elevation-marker {
    fill: #fc8181;
}

[data-bs-theme="dark"] .label-text {
    fill: #cbd5e0;
}

