/* Area Calculator Styles */

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

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

.shape-fill {
    fill: #90cdf4;
    opacity: 0.6;
}

.shape-stroke {
    stroke: #0d6efd;
    stroke-width: 2.5;
}

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

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

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

[data-bs-theme="dark"] .shape-fill {
    fill: #4299e1;
    opacity: 0.7;
}

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

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

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

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

