/* css/account.css: Unlocked, plans, settings.
   Part 5 of 10 of the app's stylesheet (app.css until Phase 3). Every page loads all the parts, in the
   order of CSS in lib/views/parts.js, so a later part still wins a tie, as further down the one file did. */
/* F5 unlocked */
.okdot {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--pickle);
  border: 3px solid var(--edge);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.ugrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.ucard {
  background: #fff;
  border: 3px solid var(--edge);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--edge);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
}
.ucard:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--edge);
  color: var(--fg);
}
.ucard b {
  font: 900 19px var(--body);
}
.ucard .ic {
  width: 52px;
  height: 52px;
  border: 3px solid var(--edge);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* plans */
.waiting {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 3px solid var(--edge);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 17px;
}
.periods {
  display: flex;
  gap: 8px;
}
.plangrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.plan {
  background: #fff;
  border: 3px solid var(--edge);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--edge);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan.pop {
  background: var(--card);
  box-shadow: 8px 8px 0 var(--edge);
}
.plan .pill {
  align-self: flex-start;
}
.plan h2 {
  font: 400 34px/1 var(--display);
  text-transform: uppercase;
}
.plan .price {
  font: 900 44px/1 var(--body);
}
.plan ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}
.plan .btn {
  margin-top: auto;
}

/* settings */
@font-face {
  font-family: "CP Archivo Black";
  src: url("/static/fonts/ArchivoBlack-Regular.ttf");
}
@font-face {
  font-family: "CP Bebas Neue";
  src: url("/static/fonts/BebasNeue-Regular.ttf");
}
@font-face {
  font-family: "CP Montserrat";
  src: url("/static/fonts/Montserrat-Black.ttf");
}
@font-face {
  font-family: "CP Anton";
  src: url("/static/fonts/Anton-Regular.ttf");
}
main.page.settings {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px;
}
.setnav {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.setnav .opt {
  justify-content: flex-start;
  text-decoration: none;
}
.setnav .opt.on {
  background: var(--edge);
  color: var(--bg);
}
.setbody {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.setsec {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.swatch {
  position: relative;
  cursor: pointer;
}
.swatch input {
  position: absolute;
  opacity: 0;
}
.swatch span:not(.visually-hidden) {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 3px solid var(--edge);
}
.swatch input:checked + span {
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 6px var(--edge);
}
.swatch input:focus-visible + span {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}
.opt.radio input {
  position: absolute;
  opacity: 0;
}
.opt.radio:has(input:checked) {
  background: var(--edge);
  color: var(--bg);
}
.saverow {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.voicerow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.voicerow input,
.voicerow select {
  min-height: 44px;
  padding: 8px 12px;
  border: 2px solid var(--edge);
  border-radius: 10px;
  font: 600 15px var(--body);
  background: #fff;
}
.voicerow input {
  flex: 1 1 200px;
}
.rowl {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 2px solid #eee4d4;
}
.rowl.dim {
  opacity: 0.6;
}
.panel.danger {
  border-color: var(--pen);
}
textarea {
  font: 500 15px/1.5 var(--body);
}

@media (max-width: 700px) {
  .top {
    padding: 12px 16px;
  }
  main.page,
  .signup {
    padding: 28px 16px 48px;
  }
  .display {
    font-size: 44px;
  }
  .signup .pitch h1 {
    font-size: 52px;
  }
  .steps .bar {
    display: none;
  }
  .steps li:not(.on) .lbl {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .steps {
    gap: 6px;
  }
  .thumb {
    width: 104px;
  }
  .previewcol {
    position: static;
  }
}
