/* Base styles */

:root {
  --room-gutter: 9px;
  --room-header-height: 46px;
  --playlist-item-height: 34px;
  --panel-background: #1a1c22;

  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
  background: #101114;
  color: #e8eaee;
  font-size: 14px;
}

*,
::before,
::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 5px;
  min-height: 30px;
  padding: 5px 11px;
}

button:hover:not(:disabled) {
  background: #292c34;
}

button:focus-visible,
input:focus-visible,
summary:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 2px solid #a8b7d4;
  outline-offset: 2px;
}

button:disabled {
  opacity: .32;
  cursor: default;
}

:where(input:not([type=range], [type=file]), select, textarea) {
  background: #292c34;
  color: #e9ebef;
  border: 0;
  border-radius: 5px;
  padding: 9px 10px;
  min-width: 0;
}

input[type=range] {
  accent-color: #c5d3ee;
  cursor: pointer;
}

.rudelguck-app {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

.button-compact {
  font-size: 12px;
  padding: 5px 9px;
  min-height: 28px;
}

.button-primary {
  background: #d2dbee;
  color: #11151e;
  border: 0;
  font-weight: 600;
}

.button-primary:hover:not(:disabled) {
  background: #f0f4fa;
  color: #101319;
}

/* Visibility is controlled by the HTML hidden attribute, including flex and grid panels. */
[hidden] {
  display: none !important;
}

.action-icon {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
