:root {
  color-scheme: light;
  --cl-ink: #11231e;
  --cl-muted: #687570;
  --cl-border: #d9e4df;
  --cl-soft: #f3f8f5;
  --cl-green: #0c7a5b;
  --cl-green-dark: #075c45;
  --cl-green-light: #e2f4ed;
  --cl-danger: #b42318;
  --cl-panel: #0a382e;
  --cl-panel-2: #0d5845;
  --cl-shadow: 0 28px 75px rgba(17, 51, 41, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--cl-ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(31, 150, 111, 0.09), transparent 30%),
    linear-gradient(135deg, #f8fbf9 0%, #edf5f1 100%);
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.company-auth-shell {
  width: min(1280px, calc(100% - 48px));
  min-height: calc(100vh - 48px);
  margin: 24px auto;
  display: grid;
  grid-template-columns: minmax(420px, .94fr) minmax(500px, 1.06fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 30px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--cl-shadow);
  backdrop-filter: blur(18px);
}

.company-auth-intro {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 720px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 52px;
  color: white;
  background:
    radial-gradient(circle at 80% 13%, rgba(89, 224, 177, .25), transparent 29%),
    radial-gradient(circle at 12% 92%, rgba(48, 178, 135, .2), transparent 34%),
    linear-gradient(145deg, var(--cl-panel) 0%, var(--cl-panel-2) 100%);
}
.company-auth-intro::before,
.company-auth-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
}
.company-auth-intro::before { width: 430px; height: 430px; top: -230px; right: -170px; }
.company-auth-intro::after { width: 300px; height: 300px; bottom: -160px; left: -120px; }
.company-auth-intro-content { max-width: 520px; }

.company-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #ddfff3;
  font-size: 13px;
  font-weight: 750;
}
.company-security-badge svg { width: 18px; height: 18px; fill: currentColor; }
.company-auth-hero { margin: 64px 0 48px; }
.company-auth-eyebrow {
  margin: 0 0 18px;
  color: #8be8c7;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.company-auth-hero h1 {
  max-width: 500px;
  margin: 0;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: .99;
  letter-spacing: -.05em;
}
.company-auth-hero > p:last-child {
  max-width: 500px;
  margin: 24px 0 0;
  color: rgba(238,255,249,.78);
  font-size: 17px;
  line-height: 1.7;
}
.company-auth-role-list { display: grid; gap: 15px; }
.company-auth-role-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 17px;
  background: rgba(255,255,255,.055);
}
.company-feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: rgba(112, 235, 192, .14);
  color: #8ceac9;
}
.company-feature-icon svg { width: 23px; height: 23px; fill: currentColor; }
.company-auth-role-list strong { display: block; margin-bottom: 4px; font-size: 14px; }
.company-auth-role-list small { display: block; color: rgba(238,255,249,.66); font-size: 12px; line-height: 1.5; }
.company-auth-intro-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 42px;
  color: rgba(238,255,249,.64);
  font-size: 12px;
}
.company-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #60e2b2; box-shadow: 0 0 0 5px rgba(96,226,178,.12); }

.company-login-zone {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 720px;
  padding: 48px 62px;
  background: rgba(255,255,255,.76);
}
.company-login-card {
  width: min(100%, 530px);
  padding: 40px;
  border: 1px solid var(--cl-border);
  border-radius: 24px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 48px rgba(23, 61, 50, .09);
}
.company-login-header { margin-bottom: 24px; text-align: center; }
.company-login-mark {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 17px;
  place-items: center;
  border-radius: 17px;
  background: var(--cl-green-light);
  color: var(--cl-green);
}
.company-login-mark svg { width: 28px; height: 28px; fill: currentColor; }
.company-login-label {
  margin: 0 0 7px;
  color: var(--cl-green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.company-login-header h2 { margin: 0; font-size: 28px; line-height: 1.18; letter-spacing: -.035em; }
.login-description { max-width: 390px; margin: 12px auto 0; color: var(--cl-muted); font-size: 14px; line-height: 1.55; }

.company-staff-notice {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 11px;
  align-items: start;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid #cae4da;
  border-radius: 15px;
  background: #f1faf6;
}
.company-staff-notice > svg { width: 22px; height: 22px; margin: 1px auto 0; fill: var(--cl-green); }
.company-staff-notice strong { display: block; color: var(--cl-green-dark); font-size: 13px; }
.company-staff-notice span { display: block; margin-top: 4px; color: #60736b; font-size: 12px; line-height: 1.45; }

.company-login-form { display: grid; gap: 18px; }
.company-field { display: grid; gap: 8px; }
.company-field > span { color: var(--cl-ink); font-size: 13px; font-weight: 750; }
.company-field > small { color: var(--cl-muted); font-size: 11px; line-height: 1.45; }
.company-input-wrap { position: relative; }
.company-input-wrap > svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 20px;
  height: 20px;
  fill: #87958f;
  transform: translateY(-50%);
  pointer-events: none;
}
.company-input-wrap input {
  width: 100%;
  height: 52px;
  padding: 0 48px 0 46px;
  border: 1px solid #cad7d1;
  border-radius: 13px;
  outline: none;
  background: #fff;
  color: var(--cl-ink);
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.company-input-wrap input::placeholder { color: #9aa6a1; }
.company-input-wrap input:focus { border-color: var(--cl-green); box-shadow: 0 0 0 4px rgba(12,122,91,.1); }
.company-input-wrap input:disabled { background: #f1f5f3; color: #6d7a75; }
.company-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #788681;
  transform: translateY(-50%);
  cursor: pointer;
}
.company-password-toggle:hover { background: var(--cl-soft); color: var(--cl-green); }
.company-password-toggle svg { width: 20px; height: 20px; fill: currentColor; }

.company-two-factor {
  padding: 18px;
  border: 1px solid #cae4da;
  border-radius: 16px;
  background: #f1faf6;
}
.company-two-factor-head { display: grid; grid-template-columns: 38px 1fr; gap: 11px; align-items: start; margin-bottom: 16px; }
.company-two-factor-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #dff2ea; color: var(--cl-green); }
.company-two-factor-icon svg { width: 21px; height: 21px; fill: currentColor; }
.company-two-factor-head strong { display: block; font-size: 13px; }
.company-two-factor-head p { margin: 3px 0 0; color: var(--cl-muted); font-size: 12px; line-height: 1.45; }
.login-secondary-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.login-secondary-actions button {
  padding: 8px 11px;
  border: 1px solid #c2d9d0;
  border-radius: 9px;
  background: white;
  color: var(--cl-green-dark);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.login-secondary-actions button:hover { border-color: var(--cl-green); }
.login-message { min-height: 0; margin: -2px 0 0; color: var(--cl-danger); font-size: 13px; line-height: 1.45; }
.login-message:not(:empty) {
  padding: 11px 12px;
  border: 1px solid #f0d3cf;
  border-radius: 11px;
  background: #fff6f4;
}
.company-login-submit {
  display: flex;
  width: 100%;
  height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--cl-green) 0%, var(--cl-green-dark) 100%);
  box-shadow: 0 12px 25px rgba(12,122,91,.22);
  color: white;
  font-weight: 800;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.company-login-submit:hover { transform: translateY(-1px); box-shadow: 0 15px 31px rgba(12,122,91,.27); }
.company-login-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.company-login-submit svg { width: 20px; height: 20px; fill: currentColor; }
.company-login-footer { display: grid; gap: 12px; margin-top: 25px; text-align: center; }
.company-login-footer p { margin: 0; color: var(--cl-muted); font-size: 12px; }
.company-login-footer a { color: var(--cl-green-dark); font-weight: 750; text-decoration: none; }
.company-login-footer a:hover { text-decoration: underline; }
.company-confidentiality { display: flex; align-items: center; gap: 8px; margin: 19px 0 0; color: #74817c; font-size: 12px; text-align: center; }
.company-confidentiality svg { width: 16px; height: 16px; flex: 0 0 auto; fill: currentColor; }

@media (max-width: 980px) {
  .company-auth-shell { width: min(760px, calc(100% - 32px)); grid-template-columns: 1fr; }
  .company-auth-intro { min-height: auto; padding: 40px; }
  .company-auth-hero { margin: 42px 0 34px; }
  .company-auth-hero h1 { font-size: clamp(38px, 8vw, 54px); }
  .company-auth-role-list { grid-template-columns: repeat(3, 1fr); }
  .company-auth-role-list article { grid-template-columns: 1fr; align-content: start; }
  .company-auth-intro-footer { margin-top: 28px; }
  .company-login-zone { min-height: auto; padding: 48px 34px; }
}

@media (max-width: 680px) {
  .company-auth-shell { width: 100%; min-height: 100vh; margin: 0; border: 0; border-radius: 0; }
  .company-auth-intro { padding: 30px 22px; }
  .company-security-badge { font-size: 11px; }
  .company-auth-hero { margin: 32px 0 27px; }
  .company-auth-hero h1 { font-size: 38px; }
  .company-auth-hero > p:last-child { font-size: 15px; }
  .company-auth-role-list { grid-template-columns: 1fr; }
  .company-auth-role-list article { grid-template-columns: 42px 1fr; }
  .company-auth-intro-footer { display: none; }
  .company-login-zone { padding: 30px 16px 38px; }
  .company-login-card { padding: 28px 20px; border-radius: 20px; }
  .company-login-header h2 { font-size: 24px; }
  .company-confidentiality { align-items: flex-start; padding: 0 12px; line-height: 1.5; }
}

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

.company-login-legal-links{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;margin-top:.65rem;font-size:.82rem}.company-login-legal-links a{color:inherit;font-weight:700;text-decoration:none}.company-login-legal-links a:hover{text-decoration:underline}
