/* Shared CE-TechHub landing-page styles. Loaded only by login.php. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/dm-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/dm-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/dm-sans-700.woff2") format("woff2");
}

:root {
  --blue: #2464e7;
  --blue-dark: #153779;
  --ink: #172440;
  --muted: #7c879b;
  --line: #e8ecf3;
  --canvas: #f6f8fc;
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "DM Sans", Inter, Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #7bb4ff;
  outline-offset: 3px;
}
input:focus {
  outline: 2px solid #99baff;
  outline-offset: 1px;
}
button svg,
a svg {
  flex-shrink: 0;
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2 {
  letter-spacing: -0.035em;
}
button {
  border: 0;
  background: none;
}
small {
  font-size: 13px;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 9px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.primary {
  color: white;
  background: var(--blue);
  border: 1px solid var(--blue);
  box-shadow: 0 3px 5px #2464e714;
}
.primary:hover {
  background: #1552d4;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.7px;
  white-space: nowrap;
}
.brand > span:last-child {
  display: flex;
  flex-direction: column;
}
.brand small {
  font-size: 9px;
  letter-spacing: 1.1px;
  font-weight: 500;
  color: #8491a6;
  margin-top: 4px;
}
.brand-symbol {
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.8px;
  background: #2464e7;
  color: white;
  border-radius: 11px;
  flex-shrink: 0;
  box-shadow: 0 4px 9px #2464e721;
}
.brand-symbol > span {
  position: absolute;
  color: #9fc3ff;
  right: 4px;
  top: 1px;
  font-size: 14px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--blue);
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: white;
}
.login-story {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #edf4ff;
  padding: 45px 50px;
  overflow: hidden;
}
.login-story::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background:
    linear-gradient(180deg, #edf4ff, #edf4ffdd),
    url("/images/embedded.jpg") center/cover;
  z-index: 0;
}
.login-brand {
  position: relative;
  z-index: 1;
}
.login-story-content {
  position: relative;
  z-index: 1;
  margin: auto 0;
  padding: 70px 0;
  max-width: 520px;
}
.login-story-content > .eyebrow {
  font-size: 11px;
  letter-spacing: 2.5px;
  color: #5a86c5;
}
.login-story h1 {
  font-size: clamp(48px, 4.6vw, 70px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -3.5px;
  color: #1f4278;
  margin-top: 24px;
}
.login-story h1 em {
  font-style: normal;
  color: #437ddd;
}
.login-story-content > p {
  font-size: 15px;
  line-height: 1.9;
  color: #7e98bd;
  max-width: 390px;
  margin-top: 26px;
}
.login-topics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 450px;
  margin-top: 35px;
}
.login-topics > span {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffffa6;
  border: 1px solid #d9e6fa;
  box-shadow: 0 3px 8px #6a8abf05;
  padding: 11px 12px;
  border-radius: 8px;
  color: #6687b6;
  font-size: 11px;
}
.login-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  position: relative;
  z-index: 1;
  color: #7b96bc;
  font-size: 11px;
}
.login-footer > span {
  font-size: 10px;
  color: #98aed0;
}
.login-access {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 50px 40px 35px;
}
.login-card {
  width: 100%;
  max-width: 378px;
  margin: auto;
}
.login-icon {
  display: inline-flex;
  background: #edf3ff;
  color: #5c85ce;
  width: 57px;
  height: 57px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  margin-bottom: 27px;
}
.login-card h2 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -1.3px;
}
.login-card > p {
  font-size: 14px;
  color: #91a0b6;
  line-height: 1.7;
  margin-top: 12px;
}
.login-primary {
  width: 100%;
  margin-top: 33px;
  min-height: 49px;
  font-size: 14px;
}
.access-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  color: #99a9c0;
  font-size: 10px;
}
.login-divider {
  position: relative;
  text-align: center;
  border-bottom: 1px solid #e8edf5;
  margin: 38px 0 25px;
  height: 8px;
}
.login-divider > span {
  background: white;
  color: #a2afc2;
  padding: 0 13px;
  position: relative;
  font-size: 11px;
  top: -3px;
}
.demo-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.demo-options > a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #e2e9f4;
  border-radius: 10px;
  padding: 20px 16px;
  color: #829cc1;
  transition:
    border 0.2s,
    background 0.2s;
}
.demo-options > a:hover {
  border-color: #8eafe4;
  background: #f8fbff;
}
.demo-options strong {
  font-size: 14px;
  color: #526e97;
  font-weight: 600;
  margin-top: 15px;
}
.demo-options > a > span {
  font-size: 10px;
  margin-top: 5px;
  color: #a2b0c3;
}
.login-card > p.demo-caption {
  font-size: 10px;
  color: #b1bbcb;
  text-align: center;
  margin-top: 16px;
}
.login-bottom {
  font-size: 10px;
  color: #b3bdcc;
  letter-spacing: 0.2px;
  padding-top: 45px;
}
@media (max-width: 1190px) {
  .brand-symbol {
    height: 36px;
    width: 36px;
  }
  .login-story {
    padding: 35px;
  }
  .login-story h1 {
    font-size: 57px;
  }
  .login-footer {
    flex-direction: column;
    gap: 7px;
  }
}
@media (max-width: 1000px) {
  .login-story h1 {
    font-size: 49px;
    letter-spacing: -2.5px;
  }
  .login-story-content > p {
    font-size: 14px;
  }
  .login-access {
    padding: 40px 27px;
  }
  .login-card h2 {
    font-size: 29px;
  }
  .login-story {
    padding: 30px;
  }
  .login-topics {
    gap: 8px;
  }
  .login-topics > span {
    font-size: 10px;
    padding: 10px;
  }
}
@media (max-width: 760px) {
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-story {
    min-height: auto;
    padding: 27px 30px 33px;
  }
  .login-story-content {
    padding: 46px 0 0;
    max-width: none;
  }
  .login-story h1 {
    font-size: 45px;
    letter-spacing: -2px;
    margin-top: 15px;
    line-height: 1.12;
  }
  .login-story h1 > br {
    display: none;
  }
  .login-story h1 > br::after {
    content: " ";
  }
  .login-story h1 > em {
    display: block;
  }
  .login-story-content > p {
    max-width: 470px;
    font-size: 13px;
    margin-top: 19px;
  }
  .login-topics {
    margin-top: 23px;
    max-width: none;
  }
  .login-footer {
    display: none;
  }
  .login-access {
    padding: 39px 25px 22px;
  }
  .login-icon {
    display: none;
  }
  .login-card {
    max-width: 450px;
  }
  .login-card h2 {
    font-size: 28px;
  }
  .login-card > p {
    font-size: 13px;
  }
  .login-primary {
    margin-top: 25px;
  }
  .login-divider {
    margin-top: 29px;
  }
  .login-bottom {
    padding-top: 35px;
  }
}
@media (max-width: 470px) {
  .login-story {
    padding: 25px;
  }
  .login-story h1 {
    font-size: 38px;
    letter-spacing: -1.9px;
  }
  .login-story-content {
    padding-top: 32px;
  }
  .login-topics > span {
    font-size: 9px;
    padding: 9px;
    gap: 6px;
  }
  .login-topics > span > svg {
    width: 15px;
  }
  .login-topics {
    gap: 7px;
    margin-top: 20px;
  }
  .login-story-content > p {
    font-size: 12px;
    max-width: 320px;
  }
  .login-story-content > .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .login-brand {
    font-size: 21px;
  }
  .login-brand .brand-symbol {
    width: 39px;
    height: 39px;
  }
  .login-card h2 {
    font-size: 26px;
  }
  .login-access {
    padding: 31px 24px 23px;
  }
  .login-card > p {
    font-size: 12px;
  }
  .demo-options > a {
    padding: 18px 14px;
  }
  .demo-options strong {
    font-size: 13px;
  }
  .demo-options > a > span {
    font-size: 9px;
  }
  .login-divider > span {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.demo-options strong {
  font-size: 14px;
}
.demo-options > a > span,
.login-divider > span,
.access-note,
.login-card > p.demo-caption {
  font-size: 13px;
}
.login-card > p,
.login-story-content > p {
  font-size: 16px;
}
.login-card > p,
.login-story-content > p,
.demo-options > a > span,
.access-note {
  color: #718098;
}
@media (max-width: 470px) {
  .login-topics > span {
    font-size: 12px;
  }
  .demo-options > a > span {
    font-size: 12px;
    line-height: 1.6;
  }
}

.credential-form {
  display: grid;
  gap: 17px;
  margin-top: 27px;
}
.credential-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
}
.credential-form input:not([type="hidden"]) {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid #bccbe2;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}
.credential-form button {
  min-height: 49px;
  margin-top: 3px;
}
.login-error {
  padding: 12px 14px;
  border: 1px solid #f0cfcc;
  border-radius: 8px;
  background: #fff5f3;
  color: #973d30;
  font-size: 14px;
  line-height: 1.5;
}
.login-back {
  display: block;
  width: fit-content;
  margin: 24px auto 0;
  color: var(--blue);
  font-size: 13px;
}
.login-back:hover {
  text-decoration: underline;
}
