:root {
  --impelat-navy: #00234b;
  --impelat-orange: #ed8936;
  --impelat-orange-hover: #dd6b20;
  --surface: #f7f9fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  background: var(--surface);
  color: #191c1e;
  font-family: "Hanken Grotesk", sans-serif;
}

.login-shell {
  display: flex;
  width: 100%;
  height: 100vh;
}

.login-hero {
  position: relative;
  display: flex;
  width: 50%;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  color: #fff;
  background: var(--impelat-navy);
}

.graphic-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .86;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(0, 35, 75, .70) 0%, rgba(0, 35, 75, 1) 100%),
    url("https://lh3.googleusercontent.com/aida-public/AB6AXuDpzfhnTF66VHHK_McZ9JhuB-yJjEOlGsI3C-NifW_NincAYLnJqValI5FMWEQmZZOhk6Lgou0TvkkTSb-8A8FkbZwHphEiAS0H2DtkrEJov4xXnamIoxloyd6e4dT0e7RKBwxxiDTi4jBVJ7j-uFZvTNdTBxdhWex87aVGrbRtM7J5Y8UBhm3sfRkw5dnSYX5u6G4RrrZNq-zdRBGnnccRqzKdszSkAKUftjzlWLYpmQXuJweHYyHDvkePnXSyh-0BnYbuj7iRTw") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.hero-content h1 {
  max-width: 620px;
  margin: 0 0 24px;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.hero-content h1 span {
  color: var(--impelat-orange);
}

.hero-content ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, .96);
  font-size: 18px;
  font-weight: 300;
  list-style: none;
}

.hero-content li {
  display: flex;
  align-items: center;
}

.material-symbols-outlined {
  margin-right: 8px;
  color: var(--impelat-orange);
  font-size: 24px;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.login-panel {
  position: relative;
  display: flex;
  width: 50%;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: var(--surface);
}

.login-stack {
  width: min(100%, 448px);
}

.login-card {
  width: 100%;
  padding: 40px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 30px rgb(0 0 0 / 12%);
}

.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
  text-align: center;
}

.logo-ring {
  display: flex;
  width: 96px;
  height: 96px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  overflow: hidden;
  border: 2px solid #f3f4f6;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 8%);
}

.logo-ring img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.logo-section h2 {
  margin: 0 0 4px;
  color: var(--impelat-navy);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.logo-section p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

.login-form {
  display: grid;
  gap: 22px;
}

.field {
  display: grid;
  gap: 4px;
}

.field label,
.remember span {
  color: #374151;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: 0;
  background: #f9fafb;
  color: #191c1e;
  font: inherit;
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field input:focus {
  border: 2px solid var(--impelat-orange);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 6%);
}

.field input::placeholder {
  color: #6b7280;
}

.options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 2px;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--impelat-orange);
}

.remember span {
  color: #4b5563;
  font-size: 10px;
}

.options-row a {
  color: var(--impelat-orange);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.options-row a:hover {
  color: var(--impelat-orange-hover);
}

.login-form button {
  display: inline-flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--impelat-orange);
  box-shadow: 0 10px 18px rgb(237 137 54 / 24%);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  transition: background .15s ease, transform .15s ease;
}

.login-form button:hover {
  background: var(--impelat-orange-hover);
}

.login-form button:active {
  transform: translateY(1px);
}

.login-form button svg {
  width: 20px;
  height: 20px;
  margin-left: 8px;
  transition: transform .15s ease;
}

.login-form button:hover svg {
  transform: translateX(4px);
}

.login-error {
  margin: -8px 0 18px;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 13px;
  font-weight: 600;
}

.login-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #f9fafb;
  color: #4b5563;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}

.dot::before {
  position: absolute;
  display: inline-flex;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  animation: ping 1.4s cubic-bezier(0, 0, .2, 1) infinite;
  background: #4ade80;
  content: "";
  opacity: .75;
}

.dot span {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.version {
  color: #9ca3af;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.placeholder-body {
  overflow: auto;
}

.placeholder {
  display: grid;
  min-height: 100vh;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 40px;
  text-align: center;
}

.placeholder img {
  width: 88px;
}

.placeholder h1 {
  margin: 0;
  color: var(--impelat-navy);
}

.placeholder p {
  max-width: 560px;
  margin: 0;
  color: #43474e;
}

.placeholder a {
  color: var(--impelat-orange);
  font-weight: 700;
}

@keyframes ping {
  75%, 100% {
    opacity: 0;
    transform: scale(2);
  }
}

@media (max-width: 767px) {
  body {
    overflow: auto;
  }

  .login-shell {
    display: block;
    min-height: 100vh;
  }

  .login-hero {
    display: none;
  }

  .login-panel {
    width: 100%;
    min-height: 100vh;
    padding: 24px;
  }

  .login-card {
    padding: 32px 24px;
  }
}
