/* ============================================
   SVG Subwoofer Array Diagramme
   ============================================ */

.svg-container {
    width: 100%;
    max-width: 650px;
    margin: 1.5rem auto;
}

.svg-container svg {
    width: 100%;
    height: auto;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.75rem;
    background: #f8f9fa;
}

/* Sub-Gehaeuse */
.sub-front {
    fill: #0d6efd;
    stroke: #0a58ca;
    stroke-width: 2;
}

.sub-rear {
    fill: #dc3545;
    stroke: #b02a37;
    stroke-width: 2;
}

.sub-neutral {
    fill: #0d6efd;
    stroke: #0a58ca;
    stroke-width: 2;
}

.sub-label {
    fill: white;
    font-size: 11px;
    text-anchor: middle;
    dominant-baseline: middle;
    font-weight: 600;
    pointer-events: none;
}

/* Masslinien */
.dimension-line {
    stroke: #6c757d;
    stroke-width: 1;
    stroke-dasharray: 4, 3;
}

.dimension-text {
    fill: #6c757d;
    font-size: 12px;
    text-anchor: middle;
}

/* Delay-Labels */
.delay-label {
    fill: #198754;
    font-size: 12px;
    font-weight: 600;
    text-anchor: middle;
}

/* Audience Marker */
.audience-text {
    fill: #333;
    font-size: 13px;
    text-anchor: middle;
    font-weight: 500;
}

.audience-arrow {
    fill: none;
    stroke: #333;
    stroke-width: 2;
    marker-end: url(#arrowhead);
}

/* Kardioid Pattern */
.pattern-line {
    fill: rgba(13, 110, 253, 0.08);
    stroke: #0d6efd;
    stroke-width: 1.5;
}

/* Arc Path (Curvilinear) */
.arc-path {
    fill: none;
    stroke: #adb5bd;
    stroke-width: 1.5;
    stroke-dasharray: 6, 4;
}

/* Polarity Marker */
.polarity-marker {
    font-size: 14px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: middle;
}

.polarity-plus {
    fill: #0d6efd;
}

.polarity-minus {
    fill: #dc3545;
}

/* Responsive */
@media (max-width: 575.98px) {
    .svg-container svg {
        border-radius: 0.5rem;
    }

    .sub-label {
        font-size: 9px;
    }

    .delay-label,
    .dimension-text {
        font-size: 10px;
    }
}
