:root {
  --green: #1f6f43;
  --green-dark: #154d32;
  --gold: #d7a846;
  --ink: #1b241d;
  --muted: #667066;
  --line: #dfe8dd;
  --paper: #fbfbf7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
}

.auth-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 36px;
  background: #eef5e7;
}

.auth-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 45, 28, 0.05), rgba(15, 45, 28, 0.74));
}

.auth-caption {
  position: relative;
  z-index: 1;
  max-width: 420px;
  color: #fff;
}

.auth-caption h1 {
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: 0;
}

.auth-caption p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.auth-card {
  width: min(100%, 430px);
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 28px;
  text-decoration: none;
}

.auth-logo img {
  width: 92px;
  height: auto;
  display: block;
}

.auth-card h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
}

.auth-card > p {
  margin: 0 0 26px;
  color: var(--muted);
  line-height: 1.55;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  font-weight: 700;
  font-size: 14px;
}

.field input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  font-size: 15px;
  background: #fff;
}

.field input:focus {
  outline: 2px solid rgba(31, 111, 67, 0.18);
  border-color: var(--green);
}

.auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 6px 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.auth-actions label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.auth-button {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: var(--green);
}

.auth-button:hover {
  background: var(--green-dark);
}

.auth-switch {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
}

.auth-switch a,
.auth-actions a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.auth-note {
  display: none;
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid #bcd8bd;
  border-radius: 6px;
  background: #f0f8ed;
  color: #275d35;
  line-height: 1.45;
}

@media (max-width: 820px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 280px;
    padding: 24px;
  }

  .auth-caption h1 {
    font-size: 32px;
  }

  .auth-panel {
    padding: 28px 18px 40px;
  }
}
