/* 1D Schrödinger Equation Simulation - CSS */

.schrodinger-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Courier New', monospace;
}

.schrodinger-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: #2a2a2a;
    border-radius: 6px;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.control-group label {
    color: #00ffff;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
}

.button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    width: 100%;
    flex-basis: 100%;
}

.btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Courier New', monospace;
}

.btn-primary {
    background: #00ffff;
    color: #1a1a1a;
}

.btn-primary:hover {
    background: #00cccc;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #444;
    color: #00ffff;
}

.btn-secondary:hover {
    background: #555;
    transform: translateY(-1px);
}

.btn-preset {
    background: #333;
    color: #ff00ff;
    border: 1px solid #ff00ff;
    padding: 6px 12px;
    font-size: 12px;
}

.btn-preset:hover {
    background: #444;
    transform: translateY(-1px);
}

.schrodinger-canvas-container {
    display: flex;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 20px;
}

.schrodinger-3d-container {
    display: flex;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 20px;
    position: relative;
}

.camera-btn {
    transition: all 0.2s;
}

.camera-btn:hover {
    background: rgba(0, 255, 255, 0.2) !important;
    border-color: #00ffff !important;
    transform: scale(1.1);
}

.camera-btn:active {
    transform: scale(0.95);
}

#schrodingerCanvas {
    display: block;
    border: 1px solid #444;
    border-radius: 4px;
    cursor: crosshair;
}

#schrodingerCanvas:hover {
    border-color: #00ffff;
}

.info-text {
    text-align: center;
    color: #aaa;
    font-size: 13px;
    padding: 10px;
}

.info-text p {
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .schrodinger-container {
        padding: 15px;
    }
    
    .schrodinger-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .control-group {
        width: 100%;
        justify-content: space-between;
    }
    
    .button-group {
        width: 100%;
    }
    
    .btn {
        flex: 1;
    }
    
    #schrodingerCanvas {
        width: 100%;
        height: auto;
    }
}

