/* 3D轨迹可视化组件样式 */

.trajectory-viewer-card {
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.trajectory-viewer-card canvas {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
    outline: none;
}

.trajectory-controls {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    /* border: 1px solid #ddd; */
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 12px;
    backdrop-filter: blur(10px);
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.15); */
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
}

.trajectory-controls h5 {
    margin: 0;
    font-size: 13px;
    color: #2196F3;
    font-weight: bold;
    border-right: 2px solid #2196F3;
    padding-right: 15px;
    margin-right: 0;
}

.trajectory-item {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.trajectory-item:hover {
    background: rgba(33, 150, 243, 0.1);
}

.trajectory-item input[type="checkbox"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.trajectory-item label {
    cursor: pointer;
    flex: 1;
    user-select: none;
    font-size: 12px;
}

.color-indicator {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,0.2);
}
