/* --------------------------------------------------
   GLOBAL RESET & BASE
-------------------------------------------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fafafa;
  color: #111;
  line-height: 1.6;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* --------------------------------------------------
   HEADER / TITLE
-------------------------------------------------- */

h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

h2 {
  font-size: 1.4rem;
  font-weight: 400;
  color: #555;
  text-align: center;
  margin-bottom: 2rem;
}

/* --------------------------------------------------
   NAVIGATION BAR
-------------------------------------------------- */

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 2.5rem;
}

nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  color: #0070f3;
  transition: color 0.2s ease, opacity 0.2s ease;
}

nav a:hover {
  color: #0051b3;
  opacity: 0.85;
}

nav a.active {
  color: #000;
  border-bottom: 2px solid #0070f3;
  padding-bottom: 4px;
}

/* --------------------------------------------------
   PAGE LAYOUT
-------------------------------------------------- */

section {
  margin-bottom: 3rem;
}

/* --------------------------------------------------
   SCROLL LIST / CARDS
-------------------------------------------------- */

.scroll-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.scroll-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.25rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.scroll-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.scroll-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.scroll-card p {
  color: #555;
}

/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */

button {
  background: #0070f3;
  color: white;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease, opacity 0.2s ease;
}

button:hover {
  background: #0051b3;
  opacity: 0.9;
}

/* --------------------------------------------------
   FORMS
-------------------------------------------------- */

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

textarea {
  resize: vertical;
}

/* --------------------------------------------------
   OPERATOR CONSOLE PANELS
-------------------------------------------------- */

.panel {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.panel h3 {
  margin-bottom: 1rem;
}

/* --------------------------------------------------
   FOOTER (OPTIONAL)
-------------------------------------------------- */

footer {
  text-align: center;
  color: #777;
  margin-top: 4rem;
  font-size: 0.9rem;
}