body { margin: 0; overflow: hidden; background: #000; font-family: 'Rajdhani', sans-serif; }

/* DRAG & DROP OVERLAY */
body.drag-over::after {
    content: 'DROP FILES OR FOLDER';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 255, 255, 0.1);
    border: 4px dashed #00ffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    color: #00ffff;
    text-shadow: 0 0 30px #00ffff;
    letter-spacing: 8px;
    z-index: 9999;
    pointer-events: none;
}
#canvas-container { position: absolute; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 1; }
#video-feed { display: none; }

/* HUD SYSTEM */
#ui-layer { position: absolute; width: 100%; height: 100%; z-index: 10; pointer-events: none; }

.hud-panel {
    position: absolute; pointer-events: auto;
    background: rgba(0, 10, 20, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 15px; border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.top-left { top: 30px; left: 30px; border-left: 4px solid #00ffff; }
.bottom-left { bottom: 30px; left: 30px; border-left: 4px solid #ffd700; }
.right-panel { top: 30px; right: 30px; border-right: 4px solid #ff0044; width: 250px; }
.bottom-center { bottom: 30px; left: 50%; transform: translateX(-50%); width: 500px; border-bottom: 4px solid #00ffff; }

.hidden { opacity: 0; transform: translateX(50px); pointer-events: none; }

/* TEXT */
.hud-title { font-size: 28px; font-weight: 700; color: #fff; letter-spacing: 2px; }
.hud-title-small { font-size: 18px; font-weight: 700; color: #ff0044; letter-spacing: 1px; margin-bottom: 10px; }
.hud-sub { font-size: 12px; color: #00aaff; letter-spacing: 4px; margin-bottom: 10px; }
.stat-row { font-family: 'Courier New', monospace; color: #00ffff; font-size: 14px; margin-top: 5px; }
.stat-val { color: #fff; font-weight: bold; text-shadow: 0 0 10px #00ffff; margin-left: 10px; }

/* CHAT */
#chat-history { height: 100px; overflow-y: auto; margin-bottom: 10px; font-size: 14px; }
.msg { margin-bottom: 4px; }
.msg.user { color: #ffd700; text-align: right; }
.msg.system { color: #00ffff; }

.input-area { display: flex; gap: 10px; }
#chat-input {
    flex: 1; background: rgba(0,0,0,0.5); border: 1px solid #004466; color: #fff;
    padding: 8px; font-family: 'Courier New'; outline: none;
}
.upload-btn {
    width: 35px; height: 35px; border: 1px solid #00ffff; display: flex;
    align-items: center; justify-content: center; color: #00ffff; cursor: pointer;
    font-size: 20px; transition: 0.2s;
}
.upload-btn:hover { background: #00ffff; color: #000; }

/* DATA GRID */
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 12px; font-family: 'Courier New'; }
.data-grid .label { color: #888; }
.data-grid .value { color: #fff; text-align: right; }

/* CURSORS */
.hand-cursor {
    position: absolute; width: 20px; height: 20px; border-radius: 50%;
    transform: translate(-50%, -50%); pointer-events: none; z-index: 50; display: none;
}
.hand-cursor.left { border: 2px solid #ff0044; }
.hand-cursor.right { border: 2px solid #00ffff; }
.grabbing { background: #fff; box-shadow: 0 0 20px #fff; }

/* AUDIO BAR */
#audio-bar {
    width: 120px; height: 6px;
    background: #002233;
    margin-top: 8px;
    border: 1px solid #005577;
    border-radius: 3px;
}
#audio-level {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #ffffff);
    box-shadow: 0 0 15px #00ffff;
    transition: width 0.05s;
    border-radius: 2px;
}

/* STATUS STATES */
.status-idle { color: #666 !important; }
.active-stat { color: #00ff88 !important; text-shadow: 0 0 15px #00ff88 !important; }
