/*
 * Sign-up page (register.php).
 *
 * Loaded after main6.css and reuses the site's palette: the translucent
 * overlay panels with #303030 hairlines, white Helvetica on the hazard-stripe
 * background, the gold of the sidebar buttons (#ccad6c with a #947113 edge),
 * the profile page's #d3b06b links and the #ffcc2f menu hover.
 * Everything is scoped under .pvr / #pv-register so nothing leaks.
 */

.pvr {
  --pvr-gold: #d3b06b;
  --pvr-gold-button: #ccad6c;
  --pvr-gold-deep: #947113;
  --pvr-gold-bright: #ffcc2f;
  --pvr-line: #303030;
  --pvr-muted: #a8a8a8;
  --pvr-ok: #6fd67a;
  --pvr-bad: #ff8a80;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: stretch;
  font-family: Helvetica, Verdana, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #fff;
  text-align: left;
}

/* main6.css centres the logo; the other pages show it on the left with the
   menu on the same row, so match them. */
#pv-register #top-wrapper #logo { float: left; text-align: left; }

.pvr p { margin: 0; }
.pvr a { color: var(--pvr-gold); }
.pvr a:hover { color: var(--pvr-gold-bright); }

.pvr-panel {
  padding: 30px;
  border: 1px solid var(--pvr-line);
  border-radius: 8px;
  background: url(../images/sharedimgs/overlay-transparency.png) top left;
  box-sizing: border-box;
  min-width: 0;
}
.pvr-pitch { flex: 1 1 480px; }
.pvr-form { flex: 1 1 320px; }

/* ---- Pitch -------------------------------------------------------------- */

.pvr-kicker {
  margin-bottom: 10px !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pvr-gold);
}
.pvr-title {
  margin: 0 0 14px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}
.pvr-lede {
  margin-bottom: 28px !important;
  font-size: 16px;
  line-height: 1.5;
  color: #e6e6e6;
}

.pvr-benefits {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pvr-benefits li { display: flex; gap: 14px; align-items: flex-start; }
.pvr-benefits svg { flex: none; margin-top: 1px; color: var(--pvr-gold); }
.pvr-benefit__title {
  margin-bottom: 3px !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
.pvr-benefit__text { font-size: 14px; color: var(--pvr-muted); }
.pvr-bonus { color: var(--pvr-gold-bright); }

.pvr-quote {
  margin: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #555;
  border-radius: 10px;
}
.pvr-quote img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--pvr-gold);
  object-fit: cover;
}
.pvr-quote blockquote { margin: 0 0 4px; font-size: 14px; font-style: italic; }
.pvr-quote figcaption { font-size: 12px; color: var(--pvr-muted); }

/* ---- Form --------------------------------------------------------------- */

.pvr-form h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}
.pvr-signin { margin-bottom: 22px !important; font-size: 13px; color: var(--pvr-muted); }
.pvr-signin a { font-weight: 700; }

.pvr-alert {
  margin-bottom: 18px !important;
  padding: 10px 14px;
  border: 1px solid #931111;
  border-left: 8px solid #931111;
  border-radius: 5px;
  background: rgba(147, 17, 17, 0.35);
  font-size: 13px;
}

.pvr-form form { display: flex; flex-direction: column; gap: 16px; }
.pvr-field { display: flex; flex-direction: column; gap: 6px; }
.pvr-field label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.pvr-field input {
  width: 100%;
  box-sizing: border-box;
  height: 44px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 16px; /* 16px stops iOS zooming into the field */
  color: #000;
  background: #fff;
  border: 1px solid #474747;
  border-radius: 5px;
}
.pvr-field input::placeholder { color: #767676; }
.pvr-field input:focus { outline: 2px solid var(--pvr-gold-bright); outline-offset: 1px; }
.pvr-field input.is-valid { border: 2px solid #4caf50; }
.pvr-field input.is-invalid { border: 2px solid #e53935; }

.pvr-note { font-size: 12px; color: var(--pvr-muted); }
.pvr-note.is-ok { color: var(--pvr-ok); }
.pvr-note.is-error { color: var(--pvr-bad); }

.pvr-password { position: relative; }
.pvr-password input { padding-right: 64px; }
.pvr-show {
  position: absolute;
  right: 2px;
  top: 0;
  height: 44px;
  padding: 0 12px;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #6b5412;
  cursor: pointer;
}

.pvr-submit {
  margin-top: 6px;
  height: 46px;
  border: 0;
  border-left: 8px solid var(--pvr-gold-deep);
  border-radius: 5px;
  background: var(--pvr-gold-button);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  cursor: pointer;
}
.pvr-submit:hover { background: #d9bd80; }
.pvr-submit:focus { outline: 2px solid var(--pvr-gold-bright); outline-offset: 2px; }

.pvr-legal { font-size: 11px; color: var(--pvr-muted); text-align: center; }

/* ---- Phones -------------------------------------------------------------
 * The rest of the site is a fixed 975px layout; on this page let the frame
 * shrink so the form fits a phone without sideways scrolling.
 */
@media (max-width: 760px) {
  #pv-register #site-wrapper,
  #pv-register #top-wrapper,
  #pv-register #middle-wrapper,
  #pv-register #bottom-wrapper,
  #pv-register #bottom-menu {
    width: auto;
  }
  #pv-register #site-wrapper { padding: 0 12px; }
  #pv-register #top-wrapper { height: auto; overflow: hidden; }
  #pv-register #top-wrapper #logo { float: none; }
  #pv-register #logo img { max-width: 70%; height: auto; }
  #pv-register #top-wrapper #top-menu { float: none; }
  #pv-register #top-wrapper #top-menu ul { padding-top: 8px; }
  #pv-register #bottom-wrapper { height: auto; }

  .pvr-panel { padding: 20px 16px; }
  .pvr-pitch { order: 2; }  /* form first on a phone */
  .pvr-title { font-size: 28px; }
  .pvr-lede { font-size: 15px; margin-bottom: 20px !important; }
}
