:root {
  color-scheme: light;
  --login-ink: #142653;
  --login-muted: #65738d;
  --login-blue: #0a66c2;
  --login-line: #d9e1ec;
  --login-orange: #ff6900;
}

* { box-sizing: border-box; }
body {
  min-width: 320px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--login-ink);
  background:
    radial-gradient(ellipse at 50% 12%, rgba(255, 255, 255, .95), transparent 47%),
    linear-gradient(135deg, #eef3f9 0%, #f7f9fc 48%, #edf3fa 100%);
  font-family: "DM Sans", "Trebuchet MS", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button,input { font: inherit; }
.login-header {
  width: min(1180px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.login-brand { width: 136px; display: block; }
.login-brand img { display: block; width: 100%; height: auto; }
.login-header-actions { display:flex; flex:0 0 auto; align-items:center; gap:24px; }
.login-header-actions .language-switch { color:#53627d; font-size:12px; }
.login-header-actions .language-switch summary { min-height:36px; }
.login-header-actions .language-options { right:auto; left:0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: #53627d; font-size: 13px; font-weight: 600; }
.back-link span { color: var(--login-blue); font-size: 18px; line-height: 1; }
.back-link:hover,.login-footer a:hover { color: var(--login-blue); }
.login-main { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 18px 28px; }
.login-panel {
  width: min(100%, 438px);
  padding: 31px 34px 27px;
  border: 1px solid rgba(215, 224, 236, .9);
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 50px rgba(20, 44, 86, .09), 0 2px 7px rgba(20, 44, 86, .035);
  animation: panel-arrive .38s ease-out both;
}
.login-heading { text-align: center; }
.linkedin-icon {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  color: #fff;
  background: var(--login-blue);
  font: 800 22px/1 Arial, sans-serif;
  letter-spacing: -2px;
}
.login-mark { display: block; width: 112px; height: auto; margin: 0 auto; }
.login-eyebrow { margin: 15px 0 5px; color: #71809a; font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.login-heading h1 { margin: 0; color: var(--login-ink); font: 800 27px/1.2 Manrope, "DM Sans", sans-serif; }
.login-heading > p:last-child { margin: 7px auto 0; max-width: 310px; color: var(--login-muted); font-size: 13px; line-height: 1.5; }
.remembered-account { min-height: 62px; display: grid; grid-template-columns:48px minmax(0,1fr) 28px; align-items: center; gap: 12px; margin: 20px 0 17px; }
.remembered-account[hidden],.email-field[hidden],.other-account[hidden] { display:none; }
.account-avatar { width:48px; height:48px; display:grid; place-items:center; overflow:hidden; border-radius:8px; color:#fff; background:linear-gradient(145deg,#08a6a6,#087c81); font-size:16px; font-weight:700; }
.account-avatar img { width:100%; height:100%; object-fit:cover; }
.account-identity { min-width:0; display:grid; gap:2px; }
.account-identity strong { overflow:hidden; color:#28364b; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.account-identity span { color:#647187; font-size:11px; }
.account-menu { width:28px; height:32px; padding:0; border:0; border-radius:4px; color:#69758a; background:transparent; font-size:15px; font-weight:700; letter-spacing:0; cursor:pointer; }
.account-menu:hover { background:#f0f4f8; }
.email-field { display:flex; flex-direction:column; }
.linkedin-login {
  width: 100%;
  min-height: 46px;
  margin-top: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--login-blue);
  border-radius: 6px;
  color: #fff;
  background: var(--login-blue);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.linkedin-login:hover { background: #004182; transform: translateY(-1px); }
.linkedin-icon { width: 21px; height: 21px; border-radius: 2px; color: var(--login-blue); background: #fff; font-size: 17px; }
.form-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0 18px; color: #8591a5; font-size: 10px; }
.form-divider::before,.form-divider::after { content: ""; height: 1px; flex: 1; background: #e5eaf1; }
.login-form { display: flex; flex-direction: column; }
.login-form > label,.email-field > label,.password-label-row label { color: #263858; font-size: 12px; font-weight: 700; }
.login-form input[type="email"],.password-field input {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid #aebbd0;
  border-radius: 5px;
  outline: none;
  color: #203455;
  background: #fff;
  font-size: 13px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.login-form input::placeholder { color: #98a3b4; }
.login-form input:focus { border-color: var(--login-blue); box-shadow: 0 0 0 2px rgba(10, 102, 194, .13); }
.login-form > input { margin: 7px 0 15px; }
.email-field > input { margin: 7px 0 15px; }
.password-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.text-button { padding: 0; border: 0; color: var(--login-blue); background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.text-button:hover { text-decoration: underline; }
.password-field { position: relative; margin-top: 7px; }
.password-field input { padding-right: 64px; }
.password-toggle { position: absolute; top: 0; right: 0; min-height: 43px; padding: 0 12px; border: 0; color: var(--login-blue); background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.remember-option { margin: 15px 0 17px; display: inline-flex; align-items: center; gap: 8px; color: #586782; font-size: 11px; cursor: pointer; }
.remember-option input { width: 15px; height: 15px; margin: 0; accent-color: var(--login-blue); }
.submit-button { min-height: 46px; border: 0; border-radius: 6px; color: #fff; background: #0a66c2; font-size: 14px; font-weight: 800; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.submit-button:hover { background: #004182; transform: translateY(-1px); }
.form-message { min-height: 0; margin: 0; color: #8c4a08; font-size: 11px; line-height: 1.45; text-align: center; }
.form-message:not(:empty) { margin-top: 12px; padding: 9px 10px; border-radius: 5px; background: #fff7e8; }
.signup-prompt { margin: 21px 0 0; color: #65738d; font-size: 12px; text-align: center; }
.signup-prompt a { color: var(--login-blue); font-weight: 800; }
.other-account { display:block; margin:18px auto 0; padding:4px 0; border:0; color:var(--login-blue); background:transparent; font-size:12px; font-weight:700; cursor:pointer; }
.other-account:hover { text-decoration:underline; }
.login-footer { width:100%; min-height:74px; margin:0; padding:14px 24px 16px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; color:#66758d; background:rgba(255,255,255,.72); text-align:center; font-size:11px; line-height:1.45; }
.footer-brand { display:block; color:#43536e; font-weight:700; white-space:nowrap; }
.footer-brand span { font-weight:500; }
.footer-links { width:min(100%,1080px); display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:5px 16px; }
.footer-links a { white-space:normal; }
.footer-links a:hover { color:var(--login-blue); }
.login-footer .language-switch { font-size:10px; }
@keyframes panel-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 520px) {
  .login-header { width: calc(100% - 32px); min-height: 68px; }
  .login-brand { width: 112px; }
  .login-header-actions { gap:12px; }
  .login-header-actions .language-switch { font-size:11px; }
  .back-link { gap: 5px; font-size: 11px; }
  .login-main { justify-content: flex-start; padding: 18px 14px 24px; }
  .login-panel { padding: 25px 21px 22px; }
  .login-heading h1 { font-size: 24px; }
  .login-footer { min-height:0; gap:8px; padding:15px 16px 18px; }
  .footer-links { max-width:380px; column-gap:12px; row-gap:7px; font-size:10px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }