/* Вход в кабинет KONROD — макет. */

:root {
  --brand: #00746A;
  --brand-700: #00574F;
  --brand-800: #0B3C3A;
  --brand-50: #E6F4F1;
  --ink: #1D2C39;
  --muted: #71808C;
  --muted-2: #94A2AC;
  --line: #E1E8EB;
  --white: #FFFFFF;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2 { margin: 0; letter-spacing: -0.025em; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.login-shell {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  min-height: 100vh;
}

/* ---------------------------------- слева -------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 52px 56px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(720px 420px at 88% 8%, rgba(111, 211, 197, 0.24), transparent 62%),
    radial-gradient(560px 380px at 6% 96%, rgba(0, 0, 0, 0.22), transparent 65%),
    linear-gradient(158deg, var(--brand-800) 0%, var(--brand) 58%, #02544D 100%);
}

/* орбиты — отсылка к знаку */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  pointer-events: none;
}
.hero::before { width: 560px; height: 560px; right: -190px; top: -150px; }
.hero::after { width: 860px; height: 860px; right: -330px; top: -300px; }

.hero__top { position: relative; z-index: 1; }
.hero__logo {
  width: 168px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.hero__body { position: relative; z-index: 1; max-width: 460px; }

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 800;
}

.hero__lead {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 42ch;
}

.hero__list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.hero__list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.94);
}
.hero__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6FD3C5;
  box-shadow: 0 0 0 4px rgba(111, 211, 197, 0.16);
  flex: none;
}

.hero__foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}
.hero__foot a { color: rgba(255, 255, 255, 0.85); }
.hero__foot a:hover { color: #fff; text-decoration: underline; }

/* ---------------------------------- справа ------------------------------- */

.panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 56px 40px;
  background: var(--white);
}

.panel__card { width: 100%; max-width: 372px; }

.panel h2 { font-size: 27px; font-weight: 800; }
.panel__lead { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

.form { display: grid; gap: 14px; margin-top: 28px; }

.field { display: grid; gap: 6px; }
.field > span:first-child {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.field input[type="text"],
.field input[type="password"] {
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 116, 106, 0.12);
}

.field__wrap { position: relative; display: block; }
.field__wrap input { padding-right: 44px; }
.field__eye {
  position: absolute;
  top: 50%; right: 6px;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--muted-2);
  cursor: pointer;
}
.field__eye:hover { color: var(--brand-700); background: var(--brand-50); }
.field__eye[aria-pressed="true"] { color: var(--brand); }

.field--row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 2px;
}
.field--row input { width: 15px; height: 15px; accent-color: var(--brand); }
.field--row span { font-size: 13.5px; color: var(--muted); font-weight: 400; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
}
.btn--primary {
  margin-top: 6px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 116, 106, 0.22);
}
.btn--primary:hover { background: var(--brand-700); }
.btn--block { width: 100%; }

.form__error {
  margin-top: 4px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #FCEDEC;
  color: #A63B33;
  font-size: 13px;
}

.form__note {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted-2);
  line-height: 1.5;
}

.panel__bottom {
  max-width: 372px;
  font-size: 12px;
  color: var(--muted-2);
  text-align: center;
  line-height: 1.5;
}

/* ---------------------------------- адаптив ------------------------------ */

@media (max-width: 980px) {
  .login-shell { grid-template-columns: 1fr; }
  .hero { padding: 32px 24px 28px; gap: 26px; }
  .hero__body { max-width: none; }
  .hero h1 { font-size: 30px; }
  .hero__lead { font-size: 14.5px; }
  .hero__list { margin-top: 20px; gap: 9px; }
  .hero__foot { display: none; }
  .panel { padding: 34px 22px 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

.form__error--ok { background: #E9F6EF; color: #1F7A4D; }

