/* 3D Atom Styles */
.atom-visualizer-container {
    width: 100%;
    height: 300px;
    background: radial-gradient(circle at center, rgba(0, 243, 255, 0.05), transparent 70%);
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 800px;
    position: relative;
    overflow: hidden;
    cursor: grab;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.atom-visualizer-container:active {
    cursor: grabbing;
}

.atom-container {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s linear;
}

.nucleus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #FF5722;
    border-radius: 50%;
    box-shadow: 0 0 20px #FF5722;
    z-index: 20;
    transform-style: preserve-3d;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15); /* Light mode default */
    transform-style: preserve-3d;
}

.electron {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform-origin: 0 0;
}

.electron.inner {
    width: 6px;
    height: 6px;
    background: #2196F3;
    box-shadow: 0 0 5px #2196F3;
}

.electron.valence {
    width: 8px;
    height: 8px;
    background: #E91E63;
    box-shadow: 0 0 10px #E91E63;
    z-index: 10;
}

/* Dark Mode Support (if parent has class 'dark-mode' or similar) */
/* Or just default nice colors */

/* Visualizer Hint */
.visualizer-hint {
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: rgba(0, 0, 0, 0.4);
    font-size: 12px;
    pointer-events: none;
}

.shell-legend {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #666;
}

.shell-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
}
.shell-dot.inner { background: #2196F3; }
.shell-dot.valence { background: #E91E63; }
