/* Long Short-Term Memory (LSTM) Network Tutorial - CSS */

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

.lstm-displays {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.network-container {
    width: 100%;
}

.graph-label {
    color: #cccccc;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}

.network-container canvas {
    display: block;
    margin: 0 auto;
    border: 1px solid #444444;
    border-radius: 4px;
    background-color: #000000;
}

.math-panel {
    background-color: #111111;
    border: 1px solid #444444;
    border-radius: 4px;
    padding: 15px;
}

.math-label {
    color: #cccccc;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.math-display {
    background-color: #000000;
    border: 1px solid #333333;
    border-radius: 4px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #cccccc;
    white-space: pre-wrap;
    min-height: 100px;
    max-height: 200px;
    overflow-y: auto;
}

.graph-container {
    width: 100%;
}

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

.lstm-controls {
    background-color: #111111;
    border: 1px solid #444444;
    border-radius: 4px;
    padding: 20px;
}

.control-section {
    margin-bottom: 25px;
}

.control-section:last-child {
    margin-bottom: 0;
}

.section-label {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid #444444;
    padding-bottom: 10px;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.btn-primary {
    background-color: #0066cc;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #0052a3;
}

.btn-secondary {
    background-color: #444444;
    color: #ffffff;
}

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

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

.control-row:last-child {
    margin-bottom: 0;
}

.control-row label {
    min-width: 150px;
    color: #cccccc;
    font-size: 14px;
}

.control-row input[type="range"] {
    flex: 1;
    height: 5px;
    background: #333333;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

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

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

.control-row span {
    min-width: 60px;
    color: #ffffff;
    font-size: 14px;
    text-align: right;
    font-weight: bold;
}

.control-row input[type="text"] {
    font-family: 'Courier New', monospace;
}

.stats-display {
    background-color: #1a1a1a;
    border: 1px solid #444444;
    border-radius: 4px;
    padding: 15px;
    margin-top: 25px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.stats-display div {
    margin-bottom: 8px;
    color: #cccccc;
}

.stats-display div:last-child {
    margin-bottom: 0;
}

.stats-display span {
    color: #ffffff;
    font-weight: bold;
}
