/* Hodgkin-Huxley Action Potential Simulation Styles */

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

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

#voltageGraphCanvas {
    display: block;
    max-width: 800px;
    width: 100%;
    background-color: #1a1a1a;
    border: 2px solid #333;
    margin-top: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.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;
}

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

.preset-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 15px;
}

.preset-select {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    padding: 8px 12px;
    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #444;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    min-width: 250px;
}

.preset-select:hover {
    border-color: #4a9eff;
}

.preset-select:focus {
    border-color: #4a9eff;
    box-shadow: 0 0 5px rgba(74, 158, 255, 0.3);
}

.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-primary:disabled {
    background-color: #666;
    cursor: not-allowed;
}

.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;
}

.control-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-family: 'Courier New', monospace;
}

.control-row label {
    color: #ccc;
    font-size: 13px;
    min-width: 200px;
    text-align: left;
}

.control-row input[type="range"] {
    flex: 1;
    margin: 0 15px;
    height: 6px;
    background: #333;
    border-radius: 3px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.control-row input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-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 {
    color: #4a9eff;
    font-weight: bold;
    min-width: 60px;
    text-align: right;
    font-size: 13px;
}

