/* VCCS member-access surface. This is intentionally separate from the
   authenticated member shell so sign-in has its own clear first impression. */
body.vccs-auth-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(60rem 42rem at 92% -18%, rgba(45, 103, 190, .30), transparent 60%),
    radial-gradient(40rem 28rem at -12% 104%, rgba(70, 143, 239, .24), transparent 64%),
    #040d1c;
  color: #f7f9ff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.vccs-auth-page .vccs-auth-header {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 22px clamp(20px, 4vw, 68px);
}

.vccs-auth-page .vccs-auth-home,
.vccs-auth-page .vccs-auth-back {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #f8f9fc;
  font-size: 13px;
  font-weight: 740;
  text-decoration: none;
}

.vccs-auth-page .vccs-auth-home img { width: 43px; height: 43px; object-fit: contain; }
.vccs-auth-page .vccs-auth-home span { font-size: 19px; letter-spacing: -.035em; }
.vccs-auth-page .vccs-auth-home b { color: #79bdff; }
.vccs-auth-page .vccs-auth-back { color: #b8c8dd; }
.vccs-auth-page .vccs-auth-back:hover,
.vccs-auth-page .vccs-auth-back:focus-visible { color: #b8deff; }

.vccs-auth-main {
  display: grid;
  min-height: calc(100vh - 92px);
  align-items: center;
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: clamp(16px, 3vw, 42px) clamp(20px, 4vw, 68px) clamp(44px, 6vw, 82px);
}

.vccs-auth-layout {
  display: grid;
  grid-template-columns: minmax(350px, .92fr) minmax(420px, 1.08fr);
  overflow: hidden;
  width: 100%;
  min-height: min(720px, calc(100vh - 180px));
  border: 1px solid rgba(194, 216, 247, .18);
  border-radius: 28px;
  background: rgba(6, 22, 44, .76);
  box-shadow: 0 35px 110px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.vccs-auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 610px;
  padding: clamp(42px, 6vw, 84px);
  background: linear-gradient(135deg, rgba(8, 27, 54, .96), rgba(5, 18, 37, .92));
}

.vccs-auth-panel h1 {
  margin: 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.3vw, 62px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .98;
}

.vccs-auth-panel > p {
  max-width: 34rem;
  margin: 16px 0 34px;
  color: #bdcbe0;
  font-size: 15px;
  line-height: 1.7;
}

.vccs-auth-page .stacked-form { display: grid; gap: 19px; }
.vccs-auth-page .stacked-form label { display: grid; gap: 8px; color: #e6edf8; font-size: 12px; font-weight: 750; }
.vccs-auth-page .stacked-form label small { color: #9fb1ca; font-size: 11px; font-weight: 550; }
.vccs-auth-page .stacked-form input {
  min-height: 55px;
  border: 1px solid rgba(155, 187, 230, .30);
  border-radius: 10px;
  padding: 0 15px;
  background: rgba(26, 59, 102, .38);
  color: #ffffff;
  font: 15px Inter, "Segoe UI", Arial, sans-serif;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.vccs-auth-page .stacked-form input::placeholder { color: #8ea3c2; }
.vccs-auth-page .stacked-form input:focus { outline: 0; border-color: #62adff; background: rgba(31, 70, 120, .55); box-shadow: 0 0 0 4px rgba(98, 173, 255, .18); }

.vccs-auth-page .vccs-auth-submit {
  min-height: 57px;
  margin-top: 4px;
  border: 1px solid rgba(173, 217, 255, .48);
  border-radius: 10px;
  padding: 0 18px;
  background: linear-gradient(135deg, #9cd4ff, #367fde);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), 0 15px 29px rgba(0, 0, 0, .20);
  color: #101b2b;
  cursor: pointer;
  font: 800 15px Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: -.01em;
}
.vccs-auth-page .vccs-auth-submit:hover,
.vccs-auth-page .vccs-auth-submit:focus-visible { filter: brightness(1.06); transform: translateY(-1px); }

.vccs-auth-page .vccs-auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 20px;
  margin-top: 27px;
  border-top: 1px solid rgba(188, 214, 247, .18);
  padding-top: 23px;
  color: #bdcbe0;
  font-size: 13px;
}
.vccs-auth-page .vccs-auth-links a { color: #8dc4ff; font-weight: 760; text-decoration: none; }
.vccs-auth-page .vccs-auth-links a:hover,
.vccs-auth-page .vccs-auth-links a:focus-visible { color: #b8deff; }

.vccs-auth-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 27px 0 0;
  color: #93a8c3;
  font-size: 11px;
  line-height: 1.55;
}
.vccs-auth-privacy::before { width: 11px; height: 13px; border: 1px solid #78bdff; border-radius: 3px; content: ""; }

.vccs-auth-visual {
  position: relative;
  isolation: isolate;
  min-height: 510px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 20, 41, .94) 0%, rgba(5, 20, 41, .56) 33%, rgba(4, 14, 28, .08) 70%),
    linear-gradient(0deg, rgba(4, 14, 28, .54), transparent 48%),
    url("vccs/vccs-hero.png") center / cover;
}
.vccs-auth-visual::before {
  position: absolute;
  z-index: 1;
  inset: auto -10% -24% auto;
  width: min(52vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(142, 200, 255, .34);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(142, 200, 255, .05), 0 0 70px rgba(50, 117, 220, .19);
  content: "";
}
.vccs-auth-visual-copy {
  position: absolute;
  z-index: 2;
  right: clamp(28px, 5vw, 74px);
  bottom: clamp(30px, 5vw, 74px);
  left: clamp(28px, 5vw, 74px);
  max-width: 310px;
  border-left: 2px solid #79bdff;
  padding-left: 17px;
}
.vccs-auth-visual-copy strong,
.vccs-auth-visual-copy span { display: block; }
.vccs-auth-visual-copy strong { color: #acd8ff; font-size: 11px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.vccs-auth-visual-copy span { margin-top: 8px; color: #ffffff; font: 500 clamp(25px, 2.8vw, 40px)/1.07 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }

.vccs-auth-page .flash { margin-bottom: 20px; border-radius: 11px; }
.vccs-auth-page .auth-card { width: min(100%, 560px); margin: auto; }

@media (max-width: 900px) {
  .vccs-auth-layout { grid-template-columns: 1fr; min-height: 0; }
  .vccs-auth-visual { min-height: 280px; order: -1; }
  .vccs-auth-panel { max-width: none; }
}

@media (max-width: 600px) {
  .vccs-auth-page .vccs-auth-header { min-height: 76px; padding: 16px 20px; }
  .vccs-auth-page .vccs-auth-home img { width: 34px; height: 34px; }
  .vccs-auth-page .vccs-auth-home span { font-size: 16px; }
  .vccs-auth-page .vccs-auth-back { font-size: 12px; }
  .vccs-auth-main { min-height: auto; padding: 10px 14px 34px; }
  .vccs-auth-layout { border-radius: 20px; }
  .vccs-auth-visual { min-height: 210px; }
  .vccs-auth-panel { padding: 34px 24px 30px; }
  .vccs-auth-panel h1 { font-size: 43px; }
  .vccs-auth-panel > p { margin-bottom: 26px; font-size: 14px; }
  .vccs-auth-page .vccs-auth-links { align-items: flex-start; flex-direction: column; }
}
