/* interview room (used by /room/* and the dashboard) */
.room { max-width:1100px; margin:0 auto; }
.room-status { font-weight:700; color:#64748b; margin:0 0 10px; }
.room-status.live { color:#0f9d68; }
.room-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:14px; }
.room-tile { position:relative; background:#0b1020; border-radius:16px; overflow:hidden; aspect-ratio:16/9; display:grid; place-items:center; box-shadow:0 8px 28px rgba(15,23,42,.25); }
.room-media { position:absolute; inset:0; }
.room-media video { width:100%; height:100%; object-fit:cover; background:#0b1020; }
.room-name { position:absolute; inset-inline-start:12px; bottom:10px; color:#fff; background:rgba(15,23,42,.65); padding:3px 11px; border-radius:99px; font-size:.82rem; z-index:2; }
.room-controls { display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin:18px 0 8px; }
.room-btn { cursor:pointer; border:1px solid #d3d9e6; background:#fff; color:#0f172a; border-radius:99px; padding:11px 20px; font:inherit; font-weight:700; transition:transform .08s,filter .15s; }
.room-btn:hover { filter:brightness(.97); } .room-btn:active { transform:scale(.98); }
.room-btn.off { background:#fdecea; color:#d92d20; border-color:#f4c4bf; }
.room-btn.leave { background:#d92d20; color:#fff; border-color:#d92d20; }
.room-btn.end { background:linear-gradient(135deg,#4f46e5,#7c3aed); color:#fff; border-color:transparent; }
.room-btn:disabled { opacity:.5; cursor:not-allowed; }
.room-note { text-align:center; color:#64748b; font-size:.88rem; margin-top:10px; }
.room-msg { padding:12px 14px; border-radius:10px; margin:12px 0; background:#eef0ff; color:#3730a3; text-align:center; }
.room-msg.err { background:#fdecea; color:#d92d20; } .room-msg.ok { background:#e6f7ef; color:#0f9d68; } .room-msg.warn { background:#fff4e0; color:#b45309; }
.room-msg.hidden, .hidden { display:none; }
@media (prefers-color-scheme: dark) { .room-btn { background:#131a2e; color:#e8ecf6; border-color:#2f3a5c; } .room-status { color:#8c97b3; } .room-note { color:#8c97b3; } .room-msg { background:#1d2447; color:#c7d2fe; } }
