/* Look Angle Calculation Tutorial - CSS */

.lookangle-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: 100px;
    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 input[type="number"] {
    width: 80px;
    padding: 5px;
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid #555555;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    text-align: center;
}

.control-row select {
    flex: 1;
    min-width: 150px;
    padding: 5px;
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid #555555;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

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

.visualization-container {
    width: 100%;
    margin-bottom: 20px;
}

#threeContainer {
    width: 100%;
    height: 600px;
    border: 1px solid #444444;
    border-radius: 4px;
    background-color: #000000;
    position: relative;
}

.camera-controls {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cam-btn {
    width: 35px;
    height: 30px;
    background-color: rgba(26, 26, 26, 0.9);
    border: 1px solid #555555;
    border-radius: 3px;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, border-color 0.2s;
    padding: 0;
    line-height: 1;
}

.cam-btn:hover {
    background-color: rgba(50, 50, 50, 0.95);
    border-color: #00ff00;
}

.cam-btn:active {
    background-color: rgba(70, 70, 70, 0.95);
    border-color: #00aa00;
}

.info-display {
    background-color: #111111;
    border: 1px solid #444444;
    border-radius: 4px;
    padding: 15px;
    margin-top: 20px;
}

.info-display h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 10px;
    margin-top: 0;
}

.info-display div {
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 5px;
}

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

.warning {
    color: #ff0000;
    font-weight: bold;
}

.section-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #444444;
}

.mode-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
