/* Matches the Work Bestie site: system font, black on white, generous spacing. */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #111;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* Sign-in */
.centered {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 380px;
}

.card h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }

.lead { font-size: 16px; color: #666; line-height: 1.6; margin-bottom: 28px; }

.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }

.field input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px; /* 16px or iOS zooms the page when the field is focused */
  border: 1.5px solid #e5e5e5;
  border-radius: 12px;
  background: #fafafa;
  outline: none;
}

.field input:focus { border-color: #111; }

button[type="submit"] {
  width: 100%;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #111;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

button[type="submit"]:disabled { opacity: 0.55; cursor: default; }

.error { margin-top: 14px; font-size: 15px; color: #b42318; line-height: 1.5; }

.footnote { margin-top: 28px; font-size: 14px; color: #999; line-height: 1.6; }

/* Library */
header { padding: 20px 0; border-bottom: 1px solid #eee; margin-bottom: 40px; }
.bar { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 18px; font-weight: 700; color: #111; text-decoration: none; }

.link {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  font-family: inherit;
  color: #666;
  cursor: pointer;
}

.link:hover { color: #111; }

.greeting { font-size: 17px; color: #555; line-height: 1.6; margin-bottom: 40px; }

.group { margin-bottom: 48px; }
.group h2 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.blurb { font-size: 15px; color: #888; margin-bottom: 20px; }

.videos { list-style: none; }
.videos li + li { border-top: 1px solid #f0f0f0; }

.video-link {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 4px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 17px;
  color: #111;
  text-align: left;
  cursor: pointer;
}

.video-link:hover { color: #555; }
.num { font-size: 14px; color: #bbb; font-variant-numeric: tabular-nums; }

/* Player */
.back { margin-bottom: 20px; }
#now-playing { font-size: 20px; font-weight: 700; margin-bottom: 16px; }

video {
  width: 100%;
  border-radius: 12px;
  background: #000;
  display: block;
}

@media (max-width: 600px) {
  .card h1 { font-size: 24px; }
  .group h2 { font-size: 20px; }
  header { margin-bottom: 28px; }
}
