/* base.css: reset + typography + generic elements */

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: #f5f5f7;
  color: #111827;
  line-height: 1.5;
}

a {
  color: #0f766e;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

button {
  font-family: inherit;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 2px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.primary-button {
  background: #020617;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.15s ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.35);
  background: #020314;
}

.primary-button:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}
/* Minimal shared styles for the course pages */

.watch-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.watch-list li {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.watch-caption {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.week-note-block {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.week-note-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #111827;
}

.week-note-textarea {
  width: 100%;
  min-height: 96px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  background: #fff;
}

.week-note-textarea:focus {
  outline: 2px solid #f58234;
  outline-offset: 1px;
}
