/* Concrete Calculator Styles */

.concrete-diagram {
    min-height: 200px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    padding: 20px;
    position: relative;
}

.concrete-diagram svg {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.dimension-line {
    stroke: #052c65;
    stroke-width: 1.5;
    marker-end: url(#arrowhead);
}

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

.concrete-surface {
    fill: #b8bcc4;
    stroke: #6c757d;
    stroke-width: 2;
}

.concrete-side {
    fill: #9ba3ad;
    stroke: #6c757d;
    stroke-width: 2;
}

.concrete-top {
    fill: #d4d8dd;
    stroke: #6c757d;
    stroke-width: 2;
}

.support-point {
    fill: #495057;
    stroke: #212529;
    stroke-width: 2;
}

.ground-line {
    stroke: #495057;
    stroke-width: 3;
    stroke-dasharray: 5,5;
}

.annotation-arrow {
    stroke: #dc3545;
    stroke-width: 2;
    fill: none;
    marker-end: url(#arrow-red);
}

.annotation-text {
    fill: #dc3545;
    font-size: 10px;
    font-weight: 600;
}

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

[data-bs-theme="dark"] .concrete-surface {
    fill: #4a5568;
    stroke: #a0aec0;
}

[data-bs-theme="dark"] .concrete-side {
    fill: #2d3748;
    stroke: #a0aec0;
}

[data-bs-theme="dark"] .concrete-top {
    fill: #718096;
    stroke: #a0aec0;
}

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

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

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

