/* Slope Calculator Styles */

.slope-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;
}

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

.slope-line {
    stroke: #495057;
    stroke-width: 3;
    fill: none;
}

.dimension-line {
    stroke: #0d6efd;
    stroke-width: 1.5;
    stroke-dasharray: 3, 3;
}

.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"] .slope-diagram-container {
    background: linear-gradient(135deg, #1a1d23 0%, #2d3748 100%);
}

[data-bs-theme="dark"] .slope-line {
    stroke: #cbd5e0;
}

[data-bs-theme="dark"] .dimension-line {
    stroke: #63b3ed;
}

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

