:root {
  --bg-primary: #313338;
  --bg-secondary: #2b2d31;
  --bg-tertiary: #1e1f22;
  --text-normal: #dbdee1;
  --text-muted: #949ba4;
  --brand: #5865F2;
  --brand-hover: #4752c4;
  --danger: #da373c;
  --success: #23a559;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'gg sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-normal);
  height: 100vh;
  overflow: hidden;
}

.hidden {
  display: none !important;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: var(--bg-tertiary);
}

.card {
  background-color: var(--bg-primary);
  padding: 32px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  width: 400px;
}

.logo {
  width: 64px;
  margin-bottom: 20px;
}

.btn-primary {
  background-color: var(--brand);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s;
  margin-top: 20px;
}

.btn-primary:hover {
  background-color: var(--brand-hover);
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-normal);
  border: none;
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
}

#app-container {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 240px;
  background-color: var(--bg-secondary);
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  height: 48px;
  padding: 12px 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
}

.sidebar-header h3 {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-normal);
}

.users-list {
  flex: 1;
  padding: 16px 8px;
  overflow-y: auto;
}

.user-item {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  border-radius: 4px;
  margin-bottom: 2px;
}

.user-item.host {
  color: var(--success);
}

.user-item:hover {
  background-color: rgba(78, 80, 88, 0.3);
}

.user-avatar-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 10px;
}

.sidebar-footer {
  height: 52px;
  background-color: var(--bg-tertiary);
  padding: 0 8px;
  display: flex;
  align-items: center;
}

.user-info {
  display: flex;
  align-items: center;
}

.user-info img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 8px;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bg-tertiary);
}

.status-indicator {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  background-color: var(--text-muted);
}

.dot.active {
  background-color: var(--success);
}

.dot.waiting {
  background-color: #faa61a;
}

.hyperbeam-wrapper {
  flex: 1;
  position: relative;
  background-color: #000;
  display: flex;
}

.screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-primary);
  z-index: 10;
}

.highlight {
  color: var(--brand);
  font-size: 48px;
  font-weight: bold;
}

.subtext {
  color: var(--text-muted);
  margin-top: 10px;
}

#hyperbeam-container {
  flex: 1;
  width: 100%;
  height: 100%;
}
