:root {
  --red: #d60012;
  --red-dark: #93000c;
  --ink: #20262c;
  --muted: #65717d;
  --line: #d8e1e9;
  --blue-dark: #1e384d;
  --steel: #eef3f7;
  --graphite: #252b31;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: linear-gradient(120deg, rgba(30, 56, 77, .94) 0%, rgba(37, 43, 49, .96) 42%, rgba(244,247,250,.96) 42.2%, #fff 100%), #f4f7fa;
  display: grid;
  place-items: center;
  padding: 28px;
}
.shell {
  width: min(1120px, 100%);
  min-height: 680px;
  display: grid;
  grid-template-columns: .78fr 1fr;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 70px rgba(30, 56, 77, .22);
}
.brand {
  padding: 44px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.55)), repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 78px), repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 78px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.brand img {
  width: 240px;
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.32));
}
.brand h1 {
  margin: 72px 0 12px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: 0;
}
.brand p {
  margin: 0;
  max-width: 390px;
  color: rgba(255,255,255,.76);
  line-height: 1.5;
}
.line {
  width: 68px;
  height: 4px;
  margin: 28px 0;
  background: var(--red);
  border-radius: 999px;
}
.brand-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}
.brand-footer a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-weight: 800;
}
.brand-footer a:hover { color: #fff; }
.access {
  padding: 48px;
  display: grid;
  align-content: center;
  gap: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.98)), linear-gradient(45deg, transparent 0 48%, rgba(30, 56, 77, .045) 48% 52%, transparent 52% 100%);
}
.lang {
  justify-self: end;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.mail-icon {
  width: 72px;
  height: 54px;
  border: 4px solid var(--red);
  border-radius: 8px;
  position: relative;
  margin: 0 auto 12px;
}
.mail-icon::before,
.mail-icon::after {
  content: "";
  position: absolute;
  top: 13px;
  width: 36px;
  height: 4px;
  background: var(--red);
  border-radius: 999px;
}
.mail-icon::before { left: 4px; transform: rotate(34deg); transform-origin: right center; }
.mail-icon::after { right: 4px; transform: rotate(-34deg); transform-origin: left center; }
.title {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.title h2 {
  margin: 0;
  font-size: 42px;
  color: var(--blue-dark);
  letter-spacing: 0;
}
.title p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}
.notice,
.note {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fbfdfe;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.notice.success { border-left-color: #087a4f; color: #087a4f; background: #ecfdf5; }
.notice.error { border-left-color: var(--red); color: var(--red-dark); background: #fff5f5; }
.login-box {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.login-box label {
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}
.login-box input[type="email"],
.login-box input[type="password"],
.password-row input {
  width: 100%;
  height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.password-row {
  display: grid;
  grid-template-columns: 1fr 62px;
  gap: 8px;
}
.eye {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 900;
  cursor: pointer;
}
.row {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
.row a {
  color: var(--red-dark);
  text-decoration: none;
  font-weight: 800;
}
.remember {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px !important;
}
.remember input { width: 16px; height: 16px; }
.primary {
  min-height: 56px;
  border: 0;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  box-shadow: 0 14px 26px rgba(214, 0, 18, .22);
  cursor: pointer;
}
.mini-footer {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
}
.mini-footer a {
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 800;
}
.mini-footer a:hover { color: var(--red-dark); }
@media (max-width: 880px) {
  body { padding: 0; display: block; }
  .shell { min-height: 100vh; grid-template-columns: 1fr; border-radius: 0; }
  .brand { padding: 28px; min-height: 300px; }
  .brand h1 { margin-top: 42px; font-size: 30px; }
  .access { padding: 34px 20px; }
  .lang { justify-self: start; }
  .title h2 { font-size: 34px; }
}
