/* Frosted Studio: smoked silver surfaces over charcoal, with ClickProduction orange.
   An additive visual layer only; form semantics and authentication remain unchanged. */
:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171b21;
  background: #171a20;
  color-scheme: light;
  --accent: #ec6b3f;
  --muted: #424a56;
  --line: #a2aab5;
  --auth-ink: #171b21;
  --auth-silver: #c7cbd0;
  --auth-orange: #ec6b3f;
  --auth-focus: #9b3516;
}

body {
  min-width: 280px;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse at 91% 12%, #ec6b3f55 0, #ec6b3f12 22%, transparent 47%),
    radial-gradient(ellipse at 4% 82%, #ec6b3f38 0, transparent 38%),
    radial-gradient(ellipse at 55% 48%, #818e9c3d 0, transparent 57%),
    linear-gradient(125deg, #11161d, #363e49 57%, #20252d);
  background-attachment: fixed;
}

::selection { background: #ec6b3f; color: #171b21; }

.auth-layout {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - 48px);
  max-width: 1480px;
  margin: 24px auto;
  padding: 0 24px;
  grid-template-columns: minmax(340px, 43%) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
}

.auth-story {
  border: 1px solid #dce2ed35;
  border-radius: 26px;
  padding: 38px clamp(30px, 4vw, 58px);
  background: #20262f;
  color: #f2f4f7;
  box-shadow: inset 0 1px 0 #ffffff12, 0 24px 60px #090d1340;
}

.auth-story:after {
  width: 390px;
  height: 390px;
  right: -260px;
  top: 39%;
  border: 1px solid #ec6b3f40;
  box-shadow: 0 0 0 34px #ec6b3f07, 0 0 0 68px #ec6b3f05;
}

.auth-brand { font-size: 21px; letter-spacing: -.65px; gap: 11px; }
.brand-symbol {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  color: #ec6b3f;
  background: #10151d;
  border: 1px solid #ffffff16;
  box-shadow: inset 0 1px 0 #ffffff0a;
}
.brand-symbol span, .brand-dot { color: #ec6b3f; }
.brand-symbol span { position: absolute; right: 5px; bottom: 3px; font-size: 16px; line-height: 1; }
.story-content { padding: 55px 0; }
.eyebrow { color: #f4a381; letter-spacing: 2.1px; }
.story-content h1 {
  max-width: 440px;
  font-size: clamp(40px, 4.1vw, 62px);
  line-height: 1.07;
  letter-spacing: -2.8px;
  font-weight: 650;
  color: #f2f4f7;
}
.story-content > p { color: #b9c1cc; max-width: 345px; font-size: 15px; }
.journey-preview { max-width: 330px; margin-top: 34px; }
.mini-step {
  background: #303741;
  color: #edf0f5;
  border: 1px solid #dce2ed2b;
  border-radius: 13px;
  padding: 15px 17px;
  box-shadow: inset 0 1px 0 #ffffff06, 0 6px 20px #090d1312;
}
.mini-step > span { color: #ffae8a; border-color: #ec6b3f5c; background: #ec6b3f12; }
.mini-step strong { font-size: 12px; }
.mini-step small { color: #b9c3cf; }
.journey-preview > i { color: #ec8b66; line-height: 25px; }
.story-foot { color: #b2bdca; font-size: 9px; line-height: 1.7; }

.auth-panel { min-width: 0; padding: 34px 14px; }
.auth-card {
  position: relative;
  width: min(100%, 448px);
  padding: clamp(26px, 3vw, 40px);
  background: var(--auth-silver);
  color: var(--auth-ink);
  border: 1px solid #e7ebf2a8;
  border-radius: 24px;
  box-shadow: inset 0 1px 0 #f6f8fc60, 0 28px 72px #080c1645;
}
.access-label { color: #343f4c; letter-spacing: 1.7px; font-weight: 700; margin-bottom: 22px; }
.access-label i { width: 7px; height: 7px; background: #b84721; box-shadow: 0 0 0 4px #ec6b3f13; }
.auth-card h2 { font-size: 34px; letter-spacing: -1.25px; font-weight: 650; color: #171b21; }
.auth-intro { color: #424a56; line-height: 1.65; }
.auth-message {
  color: #303d4c;
  background: #b7c3ce;
  border: 1px solid #8d9ba9;
  border-radius: 10px;
  margin: 22px 0 18px;
  padding: 12px 13px;
  overflow-wrap: anywhere;
}
.auth-message.error { color: #702b19; background: #ebc9bc; border-color: #bd8d79; }
.auth-message.success { color: #244c3c; background: #c3d7c9; border-color: #8da795; }
.auth-message:empty { display: none; }

form { margin-top: 27px; }
form > label, .password-label label { color: #252d38; font-size: 12px; font-weight: 650; }
input {
  min-height: 49px;
  padding: 13px 14px;
  border: 1px solid #8e98a5;
  border-radius: 10px;
  color: #171b21;
  background: #e0e3e8;
  caret-color: #9b3516;
  box-shadow: inset 0 1px 2px #171b2105;
}
input::placeholder { color: #5f6875; opacity: 1; }
input:hover:not(:disabled) { border-color: #626e7e; }
input:disabled { color: #57616e; background: #bdc4cd; opacity: 1; }
input:focus { outline: 3px solid var(--auth-focus); outline-offset: 3px; border-color: #9b3516; }
input[aria-invalid="true"] { border: 2px solid #982e1c; }
input:-webkit-autofill {
  -webkit-text-fill-color: #171b21;
  -webkit-box-shadow: 0 0 0 1000px #e0e3e8 inset;
  caret-color: #9b3516;
}
button, a { -webkit-tap-highlight-color: #ec6b3f33; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--auth-focus); outline-offset: 4px; }
.auth-story a:focus-visible { outline-color: #ffb38e; }
.password-label { margin-top: 21px; gap: 12px; flex-wrap: wrap; }
.password-input input { padding-right: 70px; }
.password-input > button {
  color: #384352;
  padding: 7px;
  right: 7px;
  top: 5px;
  min-height: 39px;
  border-radius: 6px;
  font-weight: 600;
}
.password-input > button:hover:not(:disabled) { background: #aab4c15c; }
.text-button { color: #803214; font-weight: 650; min-height: 28px; }
.submit-button {
  min-height: 49px;
  margin-top: 26px;
  padding: 13px 17px;
  background: #ec6b3f;
  color: #1b160f;
  border: 1px solid #aa4423;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 750;
  box-shadow: inset 0 1px 0 #ffc5a052, 0 5px 15px #9438171c;
}
.submit-button:hover:not(:disabled) { background: #f57a50; border-color: #873718; }
.submit-button:active:not(:disabled) { background: #df6036; box-shadow: inset 0 2px 5px #612b1626; }
button:disabled { cursor: not-allowed; opacity: 1; }
.submit-button:disabled { color: #39414b; background: #aeb7c2; border-color: #8994a2; box-shadow: none; }
.text-button:disabled, .password-input > button:disabled { color: #596370; }
.auth-note { color: #46505d; font-size: 12px; line-height: 1.7; margin-top: 23px; }
.auth-foot { color: #495360; border-top-color: #8f99a666; margin-top: 32px; padding-top: 17px; line-height: 1.7; }
.auth-back { color: #803214; font-weight: 600; margin-top: 23px; line-height: 1.8; }
.auth-card .password-help { color: #46505d; }
.compact-auth { grid-template-columns: 1fr; }
.compact-auth .auth-panel { min-height: calc(100dvh - 48px); padding-block: 28px; }
.compact-auth .auth-brand { margin-bottom: 34px; font-size: 20px; }
.compact-auth .brand-symbol { color: #ec6b3f; }
.reset-confirm { margin-top: 23px; }

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .auth-story { background: #191f29d9; backdrop-filter: blur(20px) saturate(115%); -webkit-backdrop-filter: blur(20px) saturate(115%); }
  .auth-card { background: #c7cbd0ed; backdrop-filter: blur(26px) saturate(105%); -webkit-backdrop-filter: blur(26px) saturate(105%); }
  .mini-step { background: #3a414c99; }
}

@media (max-width: 950px) {
  .auth-layout { grid-template-columns: minmax(290px, 40%) minmax(0, 1fr); gap: 22px; padding-inline: 20px; }
  .auth-story { padding: 31px 25px; }
  .auth-brand { font-size: 18px; gap: 9px; }
  .story-content h1 { font-size: 43px; letter-spacing: -1.8px; }
  .story-content > p { font-size: 14px; }
  .auth-panel { padding-inline: 0; }
  .auth-card { padding: 30px 26px; }
  .compact-auth { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .auth-layout { display: block; padding: 0 16px; margin-block: 16px; min-height: calc(100dvh - 32px); }
  .auth-story { padding: 20px 22px; border-radius: 19px; border-bottom: 1px solid #dce2ed35; }
  .auth-story:after, .story-content, .story-foot { display: none; }
  .auth-brand { font-size: 19px; }
  .auth-panel { padding: 26px 0 10px; min-height: auto; align-items: start; }
  .auth-card { border-radius: 21px; width: min(100%, 448px); padding: 31px 27px; }
  .auth-card h2 { font-size: 32px; }
  .access-label { margin-bottom: 21px; }
  .auth-foot { margin-top: 29px; gap: 10px; }
  .compact-auth .auth-panel { min-height: calc(100dvh - 32px); align-items: center; padding: 16px 0; }
}

@media (max-width: 370px) {
  .auth-layout { padding-inline: 10px; }
  .auth-story { padding: 18px; }
  .auth-card { padding: 27px 21px; }
  .auth-card h2 { font-size: 29px; }
  .auth-brand { font-size: 17px; }
  .brand-symbol { width: 34px; height: 34px; }
  .password-label { gap: 0 12px; }
}

@media (prefers-reduced-transparency: reduce) {
  body { background: #242b35; }
  .auth-story { background: #20262f; }
  .auth-card { background: #c7cbd0; }
  .mini-step { background: #303741; }
  .auth-story, .auth-card { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  body { background-attachment: scroll; }
}

@media (forced-colors: active) {
  body, .auth-story, .auth-card, .mini-step { background: Canvas; color: CanvasText; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .auth-story:after { display: none; }
  .auth-story, .auth-card, .mini-step, input, .submit-button { border: 1px solid ButtonText; }
  .story-content h1, .auth-card h2, .story-content > p, .eyebrow, .mini-step small, .mini-step > span, .story-foot { color: CanvasText; }
  .submit-button, .submit-button:disabled { background: ButtonFace; color: ButtonText; }
  button:focus-visible, a:focus-visible, input:focus { outline-color: Highlight; }
}
/* Original ClickProduction logo, shared with the agency website. */
.auth-brand .auth-logo { width: 48px; height: 48px; object-fit: contain; border-radius: 12px; flex: 0 0 48px; }
.auth-brand { display: inline-flex; align-items: center; gap: 12px; }
