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

:root {
  --bg-color: #0a0a0a;
  --text-color: #ffffff;
  --accent-color: #e0223a;
  --card-bg: #151515;
  --border-color: #2a2a2a;
  --muted-text: #8a8a8a;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Chakra Petch', sans-serif;
  line-height: 1.6;
}

/* ===== Top bar ===== */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 30px;
  border-bottom: 1px solid var(--border-color);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.brand span {
  font-size: 16px;
  font-weight: 500;
}

.auth-bar {
  display: flex;
  align-items: center;
  gap: 20px;
}

.signup-hint {
  font-size: 12px;
  color: var(--muted-text);
  margin: 0;
}

.link-text {
  color: var(--accent-color);
  cursor: pointer;
}

/* ===== Saved activities panel ===== */
#loggedInBar {
  position: relative;
}

.saved-panel {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 10px 14px;
  min-width: 200px;
  z-index: 5;
}

.saved-panel-header {
  font-size: 11px;
  color: var(--muted-text);
  margin-bottom: 6px;
}

.saved-list {
  list-style: none;
  font-size: 12px;
  max-height: 220px;
  overflow-y: auto;
}

.saved-list li {
  padding: 3px 0;
  color: var(--text-color);
}

/* ===== Buttons ===== */
.btn-accent {
  background: var(--accent-color);
  color: var(--bg-color);
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.btn-accent:hover {
  background: #b81c30;
}

.btn-outline-accent {
  background: none;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

.btn-outline-accent:hover {
  background: rgba(224, 34, 58, 0.1);
}

/* ===== Activity section ===== */
.activity-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 40px 20px;
}

.activity-card {
  background: var(--card-bg);
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  padding: 32px 28px;
  text-align: center;
  width: 100%;
  max-width: 420px;
}

.activity-type {
  color: var(--muted-text);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.activity-card h2 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
}

.activity-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--muted-text);
}

.activity-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.save-hint {
  color: #666;
  font-size: 11px;
  margin-top: 12px;
}

/* ===== Auth screens (Login / Sign up) ===== */
.auth-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.auth-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 36px 32px;
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.logo-large {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.auth-card h2 {
  font-size: 18px;
  font-weight: 500;
}

.auth-subtitle {
  color: var(--muted-text);
  font-size: 12px;
  margin-bottom: 20px;
}

.auth-card label {
  display: block;
  text-align: left;
  font-size: 11px;
  color: var(--muted-text);
  margin-bottom: 6px;
}

.auth-card input {
  width: 100%;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 9px 12px;
  color: var(--text-color);
  font-family: 'Chakra Petch', sans-serif;
  margin-bottom: 14px;
}

.auth-card input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.switch-auth {
  font-size: 12px;
  color: var(--muted-text);
  margin-top: 16px;
}

/* Hide elements class */
.hidden {
  display: none;
}