/* Base Layout Styles — Mobile First */
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
}

/* CSS Variables for Dark Mode (default) */
:root {
  --bg-color: #101010;
  --text-color: #ffffff;
  --card-bg: #1f1f1f;
  --input-bg: #2a2a2a;
  --accent: #007aff;
  --accent-hover: #005ed6;
}

/* Light Mode Overrides */
body.light-mode {
  --bg-color: #f8f8f8;
  --text-color: #111111;
  --card-bg: #ffffff;
  --input-bg: #f0f0f0;
  --accent: #007aff;
  --accent-hover: #005ed6;
}

/* Full width container with padding */
.container {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}

/* Utility Spacing */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* Typography */
.text-center {
  text-align: center;
}

/* Buttons (fallback if not styled elsewhere) */
button {
  font-size: 16px;
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background-color: var(--accent);
  color: #fff;
}

button:hover {
  background-color: var(--accent-hover);
}

/* Responsive Nav Header */
.nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--card-bg);
  padding: 16px;
  border-bottom: 1px solid #222;
}

.nav .nav-left,
.nav .nav-right {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: center;
}

.nav-links a,
.nav-right button {
  display: block;
  margin: 8px 0;
  color: var(--text-color);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.nav-links a:hover,
.nav-right button:hover {
  color: var(--accent);
}

/* Breakpoints */
@media (min-width: 600px) {
  .nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .nav .nav-left,
  .nav .nav-right {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .nav-links a,
  .nav-right button {
    display: inline-block;
    margin: 0 8px;
  }
}

@media (min-width: 900px) {
  .container {
    max-width: 900px;
  }
} 