/* Beam Load Calculator Styles */

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

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

.beam-fill {
    fill: #6c757d;
}

.support-line {
    stroke: #212529;
    stroke-width: 2;
}

.support-fill {
    fill: #495057;
}

.load-arrow {
    stroke: #dc3545;
    stroke-width: 2.5;
    fill: none;
}

.load-distributed {
    stroke: #dc3545;
    stroke-width: 1.5;
}

.dimension-line {
    stroke: #052c65;
    stroke-width: 1.5;
    stroke-dasharray: 3, 3;
}

.dimension-text {
    fill: #052c65;
    font-size: 12px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

.deflection-curve {
    stroke: #0d6efd;
    stroke-width: 1.5;
    stroke-dasharray: 4, 2;
    fill: none;
}

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

[data-bs-theme="dark"] .beam-fill {
    fill: #a0aec0;
}

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

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

[data-bs-theme="dark"] .load-arrow {
    stroke: #fc8181;
}

[data-bs-theme="dark"] .load-distributed {
    stroke: #fc8181;
}

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

[data-bs-theme="dark"] .dimension-text {
    fill: #90cdf4;
}

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

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

