:root {
    --bg: #f3f8f4;
    --panel: #ffffff;
    --panel-soft: #f8fcf9;
    --text: #14211a;
    --muted: #66756c;
    --line: #dbe7df;
    --green: #0f8d49;
    --green-dark: #0a6a37;
    --shadow: 0 20px 48px rgba(15, 60, 33, 0.10);
    --radius: 28px;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html,
  body {
    margin: 0;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background:
      radial-gradient(circle at top left, rgba(15,141,73,0.08), transparent 26%),
      radial-gradient(circle at bottom right, rgba(15,141,73,0.06), transparent 24%),
      var(--bg);
    color: var(--text);
  }
  
  button,
  input {
    font: inherit;
  }
  
  .login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
  }
  
  .login-left {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.82));
  }
  
  .brand-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  
  .brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--green), #20b35d);
    box-shadow: 0 14px 30px rgba(15, 141, 73, 0.24);
  }
  
  .brand-top {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  
  .brand-text h1 {
    margin: 0;
    font-size: 28px;
  }
  
  .hero-copy {
    max-width: 620px;
  }
  
  .eyebrow {
    margin: 0 0 10px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  
  .hero-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -1.4px;
  }
  
  .hero-text {
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.7;
  }
  
  .benefits-list {
    display: grid;
    gap: 16px;
  }
  
  .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(219,231,223,0.95);
  }
  
  .benefit-item p {
    margin: 0;
    color: var(--text);
    font-weight: 600;
    line-height: 1.5;
  }
  
  .benefit-dot {
    width: 12px;
    height: 12px;
    margin-top: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green), #20b35d);
    flex: 0 0 12px;
  }
  
  .login-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
  }
  
  .login-card {
    width: 100%;
    max-width: 520px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: var(--shadow);
  }
  
  .card-head {
    margin-bottom: 24px;
  }
  
  .card-head h2 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.08;
  }
  
  .card-subtext {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
  }
  
  .login-form {
    display: grid;
    gap: 18px;
  }
  
  .field {
    display: flex;
    flex-direction: column;
  }
  
  .field label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
  }
  
  .field input {
    width: 100%;
    padding: 15px 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    outline: none;
  }
  
  .field input:focus {
    border-color: #9bd3af;
    box-shadow: 0 0 0 3px rgba(15, 141, 73, 0.08);
  }
  
  .password-wrap {
    position: relative;
  }
  
  .password-wrap input {
    padding-right: 82px;
  }
  
  .toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--green-dark);
    font-weight: 800;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 10px;
  }
  
  .form-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
  }
  
  .checkbox-label input {
    width: auto;
  }
  
  .forgot-link,
  .card-footer a {
    color: var(--green-dark);
    font-weight: 700;
    text-decoration: none;
  }
  
  .forgot-link:hover,
  .card-footer a:hover {
    text-decoration: underline;
  }
  
  .btn {
    padding: 15px 18px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    font-weight: 800;
    font-size: 16px;
  }
  
  .btn-primary {
    background: linear-gradient(135deg, var(--green), #20b35d);
    color: #fff;
    box-shadow: 0 14px 30px rgba(15, 141, 73, 0.20);
  }
  
  .form-message {
    min-height: 22px;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
  }
  
  .form-message.error {
    color: #b93838;
  }
  
  .form-message.success {
    color: var(--green-dark);
  }
  
  .card-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
  
  .card-footer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
  }
  
  @media (max-width: 1080px) {
    .login-shell {
      grid-template-columns: 1fr;
    }
  
    .login-left {
      padding: 28px 22px 12px;
    }
  
    .login-right {
      padding: 22px;
    }
  
    .hero-copy h2 {
      font-size: 40px;
    }
  
    .hero-text {
      font-size: 17px;
    }
  }
  
  @media (max-width: 640px) {
    .login-card {
      padding: 24px 18px;
      border-radius: 22px;
    }
  
    .card-head h2 {
      font-size: 28px;
    }
  
    .hero-copy h2 {
      font-size: 34px;
    }
  
    .form-row {
      align-items: flex-start;
      flex-direction: column;
    }
  }