:root {
  --bg-page: #e3f4ea;
  --bg-card: #ffffff;
  --bg-card-soft: #e8f6ee;
  --green-main: #1a9f63;
  --green-deep: #0f6b42;
  --green-soft: #d7f2e2;
  --orange-main: #ff7417;
  --orange-hover: #e66000;
  --white: #ffffff;
  --text-heading: #16241d;
  --text-main: #3c4f45;
  --text-muted: #7c9186;
  --border-line: rgba(16, 40, 30, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

body {
  margin: 0; min-height: 100vh;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  background: radial-gradient(circle at top left, #cdedd9, var(--bg-page) 70%);
  display: grid; place-items: center; padding: 24px;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

.login-wrap {
  width: min(768px, 100%);
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  box-shadow: 0 24px 64px rgba(16, 40, 30, 0.12);
}

.login-brand {
  padding: 48px;
  background: linear-gradient(135deg, var(--green-soft) 0%, #ffffff 100%);
  border-right: 1px solid var(--border-line);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}

.mark {
  width: 82.5%; height: auto; align-self: flex-start;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 20px rgba(16, 40, 30, 0.18));
}

.login-brand h1 { font-size: 26px; line-height: 1.1; margin: 0 0 9px; font-weight: 800; color: var(--text-heading); }
.login-brand p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.6; }

.system { margin-top: auto; font-size: 11px; font-weight: 600; display: flex; align-items: center; padding-top: 32px; color: var(--green-main); }
.system span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green-main); margin-right: 10px; box-shadow: 0 0 0 4px var(--green-soft); animation: pulse 2s infinite;}

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(26, 159, 99, 0.35); } 70% { box-shadow: 0 0 0 8px rgba(26, 159, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(26, 159, 99, 0); } }

.login-card { padding: 48px 38px; display: flex; flex-direction: column; justify-content: center; background: var(--bg-card-soft); }
.small { font-size: 10px; letter-spacing: 2px; color: var(--orange-main); font-weight: 800; text-transform: uppercase; }
.login-card h2 { font-size: 26px; margin: 10px 0 20px; color: var(--text-heading); }

label { display: block; font-size: 10px; font-weight: 700; margin: 16px 0 6px; color: var(--text-main); }
label:first-of-type { margin-top: 0; }
.field { position: relative; }
.field svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); fill: none; stroke: var(--text-muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transition: var(--transition); }
.field:focus-within svg { stroke: var(--orange-main); }
.field input { padding-left: 42px; }
input {
  width: 100%; padding: 13px;
  border: 1px solid var(--border-line); border-radius: 11px;
  font-size: 12px; outline: none; background: var(--white);
  color: var(--text-heading); transition: var(--transition);
}
input:focus { border-color: var(--orange-main); box-shadow: 0 0 0 4px rgba(255, 116, 23, 0.14); }

button {
  width: 100%; border: 0; border-radius: 11px; padding: 13px;
  background: linear-gradient(90deg, var(--orange-main), #ff9d00); color: var(--white);
  font-weight: 800; font-size: 13px; cursor: pointer;
  margin-top: 19px; transition: var(--transition);
  box-shadow: 0 8px 24px rgba(255, 116, 23, 0.28);
}
button:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 116, 23, 0.4); }

.error { min-height: 16px; color: #d7263d; font-size: 10px; margin-top: 10px; font-weight: 600; }
footer { margin-top: 20px; color: var(--text-muted); font-size: 10px; text-align: center; }

@media (max-width: 768px) {
  body { padding: 16px; }
  .login-wrap { grid-template-columns: 1fr; border-radius: 24px; min-height: auto; }
  .login-brand { padding: 40px 32px; border-right: none; border-bottom: 1px solid var(--border-line); text-align: center; }
  .mark { margin: 0 auto 16px; width: 60.5%; height: auto; align-self: center; }
  .system { display: none; }
  .login-card { padding: 32px 20px; }
}

input, button, select { font-family: inherit; }
