
/* V5.2 PRO-GRADE DARK THEME WORKSTATION */
.wphilo-pro-workspace { display: flex; flex-wrap: wrap; gap: 20px; background: #121212; color: #e0e0e0; padding: 25px; border-radius: 12px; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; max-width: 1400px; margin: auto; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.wphilo-sidebar { flex: 1; min-width: 340px; display: flex; flex-direction: column; gap: 18px; }
.wphilo-panel { background: #1e1e1e; padding: 20px; border-radius: 8px; border: 1px solid #333; }
.wphilo-panel h3 { margin: 0 0 15px 0; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; color: #fff; border-bottom: 1px solid #444; padding-bottom: 10px; display:flex; align-items:center; gap:8px;}
.wphilo-panel label { font-size: 12px; text-transform: uppercase; color: #aaa; display: flex; justify-content: space-between; margin-top: 12px; letter-spacing: 0.5px;}
.wphilo-panel input[type="number"], .wphilo-panel select { width: 100%; padding: 10px; margin-top: 6px; background: #2a2a2a; border: 1px solid #444; color: #fff; border-radius: 4px; box-sizing: border-box; font-family: monospace; font-size: 14px;}
.wphilo-panel input[type="range"] { width: 100%; margin: 10px 0; accent-color: #00d2ff; }
.wphilo-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.data-tag { background: #333; padding: 2px 6px; border-radius: 4px; color: #00d2ff; font-family: monospace; }

.btn-primary, .btn-success, .btn-secondary, .btn-action { width: 100%; padding: 14px; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-top: 15px; transition: all 0.2s ease; }
.btn-primary { background: linear-gradient(90deg, #0052d4, #4364f7, #6fb1fc); box-shadow: 0 4px 15px rgba(67, 100, 247, 0.4); }
.btn-primary:hover { filter: brightness(1.2); }
.btn-primary:disabled { background: #333; color: #666; box-shadow: none; cursor: not-allowed; }
.btn-success { background: #1db954; } .btn-secondary { background: #555; } .btn-action { background: #ff0055; box-shadow: 0 4px 15px rgba(255, 0, 85, 0.4);}

.cli-terminal { background: #000; color: #0f0; font-family: 'Courier New', Courier, monospace; padding: 12px; border-radius: 4px; font-size: 12px; margin-top: 15px; border: 1px solid #333; min-height: 20px; word-wrap: break-word;}

.wphilo-main { flex: 2; display: flex; gap: 20px; justify-content: space-around; flex-wrap: wrap; }
.canvas-wrapper { display: flex; flex-direction: column; align-items: center; background: #1e1e1e; padding: 15px; border-radius: 8px; border: 1px solid #333; flex: 1; min-width: 300px; }
.canvas-header { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; width: 100%; text-align: center;}
canvas { max-width: 100%; height: auto; background: #000; border-radius: 4px; box-shadow: inset 0 0 20px rgba(255,255,255,0.05); }

/* PLAYER OVERLAY */
.player-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 9999; display: flex; justify-content: center; align-items: center; backdrop-filter: blur(5px);}
.player-box { background: #1e1e1e; padding: 40px; border-radius: 12px; border: 1px solid #333; width: 90%; max-width: 600px; text-align: center; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.8);}
.btn-close { position: absolute; top: 15px; right: 15px; background: none; border: none; color: #aaa; font-size: 20px; cursor: pointer; }
.btn-close:hover { color: #fff; }
.player-title { color: #888; font-size: 14px; letter-spacing: 2px; margin-top: 0; margin-bottom: 30px;}
.player-telemetry { margin-bottom: 20px; }
.player-big-instruction { font-size: 80px; font-family: monospace; color: #fff; line-height: 1; margin: 20px 0 40px 0; text-shadow: 0 0 20px rgba(255,255,255,0.2);}
.player-big-instruction .muted { display: block; font-size: 16px; color: #666; font-family: sans-serif; letter-spacing: 5px; margin-bottom: 10px;}
.player-range { width: 100%; margin-bottom: 30px; accent-color: #ff0055;}
.player-controls-row { display: flex; justify-content: center; gap: 15px; }
.btn-ctrl { background: #333; border: none; padding: 15px 25px; color: #fff; border-radius: 50px; cursor: pointer; font-weight: bold; transition: 0.2s;}
.btn-ctrl:hover { background: #444; }
.btn-ctrl-main { background: #ff0055; border: none; padding: 15px 40px; color: #fff; border-radius: 50px; cursor: pointer; font-weight: bold; font-size: 16px; box-shadow: 0 5px 15px rgba(255,0,85,0.4); transition: 0.2s;}
.btn-ctrl-main:hover { transform: scale(1.05); }
