/* SPDX-FileCopyrightText: 2026 Pexip AS */
/* SPDX-License-Identifier: Apache-2.0 */

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f5f7;
  color: #1d1d1f;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-top: 2rem;
}
h1 { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.5rem; }
.room-label { font-size: 0.9rem; color: #555; margin-bottom: 1.5rem; }
#status-area {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: #f0f4ff;
  min-height: 3rem;
  display: flex;
  align-items: center;
}
#status-area.error { background: #fff0f0; color: #b00; }
#status-area.ok { background: #f0fff4; color: #050; }
#status-area.warn { background: #fffbf0; color: #660; }
button {
  width: 100%;
  padding: 0.85rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
button:disabled { opacity: 0.4; cursor: not-allowed; }
#enable-btn { background: #0064a4; color: #fff; }
#disable-btn { background: #e5e5ea; color: #1d1d1f; margin-top: 0.75rem; }
.hidden { display: none !important; }
.help { font-size: 0.82rem; color: #888; margin-top: 1rem; line-height: 1.5; }
