:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #111111;
  --muted: #5f6368;
  --accent: #202124;
  --radius-lg: 16px;
  --max-width: 960px;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* generic container for centered content */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* sections */
.section {
  padding: 32px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 48px 0;
  }
}

/* card style (we’ll use for chat box) */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* primary button */
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.button-primary:hover {
  opacity: 0.9;
}

/* TAB BAR (Google-ish) */
.tab-nav {
  display: flex;
  gap: 16px;
  padding: 0 16px;
  margin-top: 8px;
  border-bottom: 1px solid #e0e0e0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: #5f6368;
  text-decoration: none;
  white-space: nowrap;
}

.tab-link--active {
  color: #202124;
}

.tab-link--active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background-color: #202124;
  border-radius: 999px;
}

@media (min-width: 768px) {
  .tab-nav {
    justify-content: center;
    gap: 32px;
    padding: 0 48px;
  }

  .tab-link {
    padding: 14px 0;
    font-size: 15px;
  }
}
