/* Voting System OBS dock */
:root {
  --gold: #fbd07c;
  --lime: #f7f779;
  --bg: #12120e;
  --panel: #1a1a14;
  --text: #f5f5f0;
  --muted: #9a9a88;
  --border: #333328;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(160deg, #0a0a08, #1a1810);
  color: var(--text);
  min-height: 100vh;
  padding: 12px;
}

.dock {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dock-header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  background: linear-gradient(90deg, var(--gold), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dock-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--muted);
}

.dock-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #888;
}

.dock-status.connected .dot { background: #4ade80; }
.dock-status.disconnected .dot { background: #f87171; }
.dock-status.connecting .dot { background: var(--gold); }

.dock-section {
  background: rgba(26, 26, 20, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dock-section.compact { padding: 8px 10px; }
.dock-section.row,
.row {
  display: flex;
  gap: 8px;
}
.dock-section.row > div,
.row > * { flex: 1; min-width: 0; }
.row.tight input { font-size: 0.8rem; }

label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
}

input[type="text"],
input[type="number"],
input[type="password"],
textarea,
select {
  width: 100%;
  background: #0e0e0a;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 8px 10px;
  font: inherit;
}

textarea { resize: vertical; min-height: 90px; }

.dock-actions {
  display: flex;
  gap: 8px;
}

.dock-actions button {
  flex: 1;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  border-radius: 8px;
  padding: 10px 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
}

.dock-actions button.primary {
  background: linear-gradient(135deg, var(--gold), var(--lime));
  color: #1a1a10;
  border: none;
}

.dock-actions button:hover { filter: brightness(1.08); }

.dock-tally {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text);
  min-height: 48px;
  white-space: pre-wrap;
}

.hint {
  font-size: 0.7rem;
  color: var(--muted);
}
