/* Lotka-Volterra (Predator-Prey) Model Simulation - CSS */

.predatorprey-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Courier New', monospace;
    background-color: #000000;
    color: #ffffff;
}

.visual-field-container {
    margin-bottom: 20px;
    background-color: #000;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
}

.visual-field-label {
    color: #888;
    font-size: 12px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

#simulationCanvas {
    background-color: #050505;
    border-radius: 2px;
    cursor: crosshair;
    width: 100%;
    height: 200px;
    display: block;
}

.predatorprey-graphs {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: nowrap;
}

.graph-container {
    flex: 0 0 auto;
    width: 350px;
}

.graph-label {
    color: #cccccc;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.graph-container canvas {
    display: block;
    border: 1px solid #444444;
    border-radius: 4px;
    background-color: #000000;
    width: 100%;
    height: auto;
}

.stats-display {
    background-color: #1a1a1a;
    border: 1px solid #444444;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
    gap: 20px;
    font-family: 'Courier New', monospace;
}

.stats-display div {
    color: #cccccc;
    font-size: 14px;
}

.stats-display span {
    color: #00ffff;
    font-weight: bold;
    font-size: 14px;
}

.predatorprey-controls {
    background-color: #1a1a1a;
    border: 1px solid #444444;
    border-radius: 8px;
    padding: 20px;
    color: #ffffff;
    font-family: 'Courier New', monospace;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

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

.btn-primary {
    background-color: #007bff;
    color: white;
}

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

.btn:hover {
    opacity: 0.9;
}

.btn:active {
    opacity: 0.8;
}

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

.control-row label {
    min-width: 200px;
    color: #cccccc;
    font-size: 13px;
    font-family: 'Courier New', monospace;
    margin: 0;
    white-space: nowrap;
}

.control-row input[type="range"] {
    flex: 1;
    cursor: pointer;
    min-width: 100px;
    -webkit-appearance: none;
    height: 8px;
    background: #555555;
    outline: none;
    border-radius: 4px;
}

.control-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00ffff;
    cursor: pointer;
    border: 2px solid #ffffff;
}

.control-row input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00ffff;
    cursor: pointer;
    border: 2px solid #ffffff;
}

.control-row span {
    min-width: 60px;
    text-align: right;
    color: #00ffff;
    font-weight: bold;
    font-size: 13px;
    font-family: 'Courier New', monospace;
}
