/* bear.css - Universal CSS file */

:root {
  --font: "Segoe UI", Roboto, Helvetica, sans-serif;
  --bg: #f9f9fb;
  --text: #111;
  --accent: #2979ff;
  --border: #ddd;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  padding: 2rem;
  line-height: 1.6;
  max-width: 800px;
  margin: auto;
}

h1, h2, h3 {
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

button {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
  box-shadow: var(--shadow);
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #1c54b2;
}

textarea,
input[type="text"],
input[type="email"],
input[type="password"],
select {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

code {
  background: #eee;
  padding: 0.2em 0.4em;
  border-radius: 4px;
}

@media (max-width: 600px) {
  body {
    padding: 1rem;
  }

  button {
    width: 100%;
  }
}
