/* Hebbian Learning Simulation Styles */

#hebbianContainer {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    font-family: 'Courier New', monospace;
}

#hebbianCanvas {
    display: block;
    max-width: 800px;
    width: 100%;
    background-color: #0a0a0a;
    border: 2px solid #333;
    cursor: crosshair;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Canvas container for timer overlay */
#hebbianContainer > div[style*="position: relative"] {
    text-align: center;
    margin: 0 auto;
    display: block;
    width: 800px;
    max-width: 800px;
    box-sizing: border-box;
}

/* Canvas container for timer overlay */
#hebbianContainer > div:first-of-type {
    text-align: center;
    margin-bottom: 20px;
}

#hebbianContainer > div:nth-of-type(2) {
    position: relative;
    display: block;
    width: 800px;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
}

.control-panel {
    background-color: #2a2a2a;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    border: 1px solid #444;
    width: 800px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.control-panel h3 {
    font-family: 'Courier New', monospace;
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
}

.control-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.control-row label {
    font-family: 'Courier New', monospace;
    color: #ccc;
    min-width: 150px;
    font-size: 14px;
}

.control-row input[type="range"] {
    flex: 1;
    height: 6px;
    background: #444;
    border-radius: 3px;
    outline: none;
}

.control-row input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background: #4a9eff;
    border-radius: 50%;
    cursor: pointer;
}

.control-row input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #4a9eff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.control-row span {
    font-family: 'Courier New', monospace;
    color: #fff;
    min-width: 60px;
    text-align: right;
    font-size: 14px;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

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

.btn-primary {
    background-color: #4a9eff;
    color: white;
}

.btn-primary:hover {
    background-color: #3a8eef;
}

.btn-secondary {
    background-color: #666;
    color: white;
}

.btn-secondary:hover {
    background-color: #777;
}

.info-display {
    margin-top: 15px;
    padding: 15px;
    background-color: #1a1a1a;
    border-radius: 4px;
    border: 1px solid #333;
}

.info-display div {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    margin-bottom: 5px;
    color: #ccc;
}

.info-display span {
    color: #4a9eff;
    font-weight: bold;
}

