/* Drywall Calculator Styles */

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

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

.wall-fill {
    fill: #f8f9fa;
    stroke: #495057;
    stroke-width: 2;
}

.sheet-outline {
    fill: none;
    stroke: #dc3545;
    stroke-width: 1.5;
    stroke-dasharray: 4, 4;
}

.screw-point {
    fill: #6c757d;
}

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

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

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

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

[data-bs-theme="dark"] .wall-fill {
    fill: #4a5568;
    stroke: #cbd5e0;
}

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

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

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

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

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

