/* Safety Models Styles */

.model-container {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-glow);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

svg {
    max-width: 100%;
    height: auto;
    cursor: pointer;
    user-select: none;
}

.node:hover {
    filter: brightness(1.1) drop-shadow(0 0 5px var(--accent));
}

.toggle-btn-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.info-panel {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-left: 4px solid var(--accent);
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 100px;
    border-radius: 0 4px 4px 0;
}

/* Mode Switcher */
.mode-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

/* Draggable Styles */
.layer-bank {
    border: 2px dashed var(--text-secondary);
    padding: 10px;
    min-height: 100px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-radius: 8px;
}

.layer-slot {
    fill: rgba(255, 255, 255, 0.05);
    stroke: var(--text-secondary);
    stroke-dasharray: 5,5;
}

.layer-filled {
    stroke: none;
}

/* Animation */
.particle {
    pointer-events: none;
}
