/* Doppler Effect and Propagation Delay Simulation - CSS */

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

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

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

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

.control-row label {
    color: #cccccc;
    font-size: 14px;
    min-width: 120px;
    text-align: right;
}

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

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

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

.control-row select {
    flex: 1;
    min-width: 150px;
    padding: 6px 8px;
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid #555555;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.2s, border-color 0.2s;
}

.control-row select:hover {
    background-color: #333333;
    border-color: #666666;
}

.control-row select:focus {
    background-color: #333333;
    border-color: #00ff00;
}

.control-row select option {
    background-color: #2a2a2a;
    color: #ffffff;
    padding: 8px;
}

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

.control-row button {
    padding: 8px 16px;
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid #555555;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.control-row button:hover {
    background-color: #3a3a3a;
}

.control-row button:active {
    background-color: #1a1a1a;
}

.visualization-container {
    background-color: #000000;
    border: 1px solid #444444;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 20px;
    position: relative;
}

#dopplerCanvas {
    display: block;
    width: 100%;
    max-width: 800px;
    height: 500px;
    background-color: #000000;
}

.info-display {
    background-color: #111111;
    border: 1px solid #444444;
    border-radius: 4px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    color: #ffffff;
}

.info-display h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #00ff00;
    font-size: 16px;
}

.info-display div {
    margin-bottom: 8px;
    font-size: 14px;
}

.info-display span {
    color: #00ff00;
    font-weight: bold;
}

.section-label {
    color: #00ff00;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 15px;
}

.section-label:first-child {
    margin-top: 0;
}
