/*
 * Teacher-page blocks (build/teacherExtras.ts): "Share to Google Classroom" +
 * "Copy link", and the grown-up Monday brain break sign-up.
 * Self-contained so it works on teachers.html (own styles) and landing.css pages.
 */
.teacher-extras {
  max-width: 760px;
  margin: 40px auto;
  padding: 0 16px;
  display: grid;
  gap: 20px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1f2937;
}

.classroom-share {
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  border-radius: 16px;
  padding: 18px 20px;
  text-align: center;
}

.classroom-share-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 12px;
}

.classroom-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.classroom-share-btn,
.classroom-share-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.classroom-share-btn {
  background: #15803d;
  color: #fff;
  border: 2px solid #15803d;
}

.classroom-share-btn:hover { background: #166534; }

.classroom-share-copy {
  background: #fff;
  color: #15803d;
  border: 2px solid #15803d;
}

.classroom-share-copy[hidden] { display: none; }

.classroom-share-link {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: #4b5563;
  overflow-wrap: anywhere;
}

.classroom-share-link a { color: #15803d; }

.classroom-share-copied { font-weight: 600; color: #15803d; }

.monday-signup {
  background: linear-gradient(180deg, #fef3c7 0%, #fffbeb 100%);
  border: 3px solid #f59e0b;
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(180, 83, 9, 0.15);
  scroll-margin-top: 90px;
}

.teacher-extras .monday-signup h2 {
  font-size: 1.6rem;
  line-height: 1.3;
  margin: 0 0 6px;
  color: #1f2937;
}

.monday-signup-lede { margin: 0 0 14px; color: #4b5563; }

.monday-signup-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.monday-signup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.monday-signup-row input[type='email'] {
  flex: 1 1 220px;
  max-width: 340px;
  min-height: 48px;
  padding: 10px 16px;
  border: 2px solid #d1d5db;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  background: #fff;
  color: #1f2937;
}

.monday-signup-row input[type='email']:focus {
  outline: 3px solid #f59e0b;
  outline-offset: 1px;
  border-color: #f59e0b;
}

.monday-signup-row button {
  min-height: 48px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: #b45309;
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.monday-signup-row button:hover { background: #92400e; }

.monday-signup-fine {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: #4b5563;
}

.monday-signup-done {
  margin: 12px 0 0;
  font-weight: 700;
  color: #15803d;
}

.monday-signup-done[hidden] { display: none; }

.today-link {
  display: inline-block;
  font-weight: 700;
}

/* On teachers.html's purple hero the default link blue is hard to read. */
.hero .today-link {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
}

.hero .today-link:hover { background: rgba(255, 255, 255, 0.28); }

.monday-signup-row input[type='email'].error {
  border-color: #dc2626;
  outline: 3px solid #fecaca;
}

/* Sign-up placed mid-article (inside .article-container): no extra gutter. */
.teacher-extras--inline {
  margin: 32px 0;
  padding: 0;
}

.teacher-extras--inline .monday-signup p { line-height: 1.5; }
