/* Jakes' Model Visualization Tutorial - CSS */
/* Max width: 800px, Font: Courier New */

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

.jakes-header {
    text-align: center;
    margin-bottom: 20px;
}

.jakes-header h2 {
    color: #4ECDC4;
    margin: 0 0 10px 0;
    font-size: 18px;
}

.controls-panel {
    background: #1a1a1a;
    border: 1px solid #4ECDC4;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.controls-panel h3 {
    color: #4ECDC4;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
}

.control-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
    flex-wrap: wrap;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 150px;
}

.control-group label {
    font-size: 12px;
    color: #e0e0e0;
    font-weight: bold;
}

.control-group label span {
    color: #4ECDC4;
    font-weight: normal;
}

.control-group input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4ECDC4;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.control-group input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4ECDC4;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.control-group .value-display {
    color: #4ECDC4;
    font-weight: bold;
    font-size: 11px;
    text-align: center;
}

.btn {
    padding: 8px 16px;
    background: #4ECDC4;
    color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: bold;
    transition: background 0.2s;
}

.btn:hover {
    background: #5EDDD6;
}

.btn:active {
    background: #3DBDB6;
}

.btn.pause {
    background: #F7DC6F;
    color: #000;
}

.btn.pause:hover {
    background: #FFE88A;
}

/* Visualization Panels */
.visualization-panels {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel {
    background: #1a1a1a;
    border: 1px solid #4ECDC4;
    border-radius: 8px;
    padding: 15px;
}

.panel-title {
    text-align: center;
    color: #4ECDC4;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #4ECDC4;
    padding-bottom: 5px;
}

.canvas-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.canvas-container canvas {
    display: block;
    width: 100%;
    height: auto;
}

/* Spatial View Panel */
#spatialCanvas {
    background: #000;
}

/* Phasor Sum Panel */
#phasorCanvas {
    background: #000;
}

/* Time Domain Panel */
#timeCanvas {
    background: #000;
}

/* Info Panel */
.info-panel {
    margin-top: 20px;
    padding: 15px;
    background: #1a1a1a;
    border: 1px solid #4ECDC4;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.6;
}

.info-panel h3 {
    color: #4ECDC4;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 14px;
}

.info-panel p {
    margin: 5px 0;
    color: #e0e0e0;
}

.info-panel .formula {
    color: #F7DC6F;
    font-style: italic;
    margin: 5px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
    .control-row {
        flex-direction: column;
    }
    
    .control-group {
        width: 100%;
    }
}

