body {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: auto;
}

.aquarium-container {
    text-align: center;
}

#aquarium-canvas {
    border: 2px solid #333;
    background: linear-gradient(to bottom, #87ceeb, #4682b4);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.controls {
    margin-top: 20px;
}

.controls-container {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.learning-controls {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    flex: 1;
    max-width: 400px;
}

.training-log {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    flex: 1;
    max-width: 400px;
    color: white;
}

.training-log h3 {
    margin-top: 0;
    color: #4caf50;
    font-size: 18px;
}

#log-container {
    max-height: 300px;
    overflow-y: auto;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.4;
}

.log-entry {
    margin: 2px 0;
    padding: 2px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.log-entry:last-child {
    border-bottom: none;
}

#clear-log {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    width: 100%;
}

#clear-log:hover {
    background-color: #d32f2f;
}

.learning-controls h3 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
}

.slider-group {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider-group label {
    min-width: 180px;
    font-weight: bold;
    color: #555;
    font-size: 14px;
}

.slider-group input[type="range"] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
}

.slider-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4caf50;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4caf50;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider-group span {
    min-width: 35px;
    text-align: right;
    font-weight: bold;
    color: #4caf50;
    font-size: 14px;
}

button {
    margin: 0 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
}

button:hover {
    background-color: #45a049;
}
