/* View: chroma-key — Page-specific styles */

.retro-container {
    background: #001100;
    color: #00ff41;
    font-family: 'Courier New', monospace;
    padding: 20px;
    border: 2px solid #00ff41;
    border-radius: 8px;
    margin: 10px;
}

.control-section {
    background: #002200;
    border: 1px solid #00aa22;
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
}

.section-title {
    color: #00ff88;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.color-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
}

.color-display {
    width: 60px;
    height: 60px;
    border: 2px solid #00ff41;
    border-radius: 4px;
}

.color-values {
    font-size: 14px;
    line-height: 1.4;
}

.rgb-legend {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    justify-content: center;
}

.legend-item {
    padding: 8px 16px;
    border: 2px solid;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    background: #001100;
}

.legend-item.red {
    border-color: #ff4444;
    color: #ff4444;
}

.legend-item.green {
    border-color: #44ff44;
    color: #44ff44;
}

.legend-item.blue {
    border-color: #4444ff;
    color: #4444ff;
}

.legend-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.legend-item.active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px currentColor;
}

.canvas-container {
    position: relative;
    display: inline-block;
    border: 2px solid #00ff41;
    border-radius: 4px;
    margin: 5px;
}

.canvas-label {
    position: absolute;
    top: -25px;
    left: 0;
    background: #001100;
    color: #00ff88;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #00aa22;
    border-radius: 3px;
}

.tolerance-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.tolerance-value {
    color: #00ff88;
    font-weight: bold;
    min-width: 30px;
}

.instructions {
    background: #003300;
    border: 1px dashed #00aa22;
    padding: 10px;
    margin: 10px 0;
    font-size: 12px;
    line-height: 1.4;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin: 10px 0;
}

.stat-item {
    background: #002200;
    border: 1px solid #00aa22;
    padding: 8px;
    text-align: center;
    border-radius: 3px;
}

.stat-label {
    font-size: 10px;
    color: #00aa44;
}

.stat-value {
    font-size: 14px;
    font-weight: bold;
    color: #00ff88;
}
