/* Waiting-list additions. styles.css is left exactly as it is, so that uploading the full site later brings back
   its own styles untouched (the platform caches non-HTML files for a day). */

.waitlist-form {
  display: grid;
  gap: 14px;
  max-width: 440px;
  margin-top: 6px;
}

.waitlist-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
}

.waitlist-form input[type="text"],
.waitlist-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.waitlist-form input:focus-visible {
  outline: 3px solid rgba(255, 77, 22, 0.3);
  border-color: var(--orange);
}

.waitlist-form .btn {
  width: 100%;
  cursor: pointer;
  font-family: inherit;
}

.waitlist-form .btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}

/* The bot trap: out of sight and out of the tab order, but still in the page for a bot to fill in. */
.waitlist-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist-status {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #b3261e;
}

.waitlist-status:empty {
  display: none;
}

.waitlist-small {
  margin: 14px 0 0;
  max-width: 440px;
  font-size: 13px;
  color: var(--muted);
}

.waitlist-thanks {
  max-width: 440px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: rgba(255, 247, 241, 0.94);
  border: 1px solid #ffd9c8;
}

.waitlist-thanks h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.2;
}

.waitlist-thanks p {
  margin: 0;
  color: #2c3540;
}

/* "Kommer snart" in the price box on the membership page, where the number used to be. */
.price.soon,
.plus-price .price.soon {
  font-size: 40px;
  line-height: 1.1;
}

/* "Kom på ventelisten" is longer than the labels it replaced ("Start gratis", "Bliv Plus medlem"). Where a button sits
   in a narrow box, let the label wrap instead of pushing the box wider than the screen. */
.plus-price .btn,
.card .btn.full {
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  padding-top: 10px;
  padding-bottom: 10px;
}

@media (max-width: 760px) {
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* Courses overview: without the price box the three course cards share the whole row, as one column on a phone. */
@media (min-width: 761px) {
  .overview-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
