*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #2E6B3E;
  --green-mid:   #3E8A52;
  --green-faint: #EAF3EC;
  --text:        #111827;
  --muted:       #6B7280;
  --border:      #E5E7EB;
  --white:       #FFFFFF;
  --bg:          #F9FAF8;
  --radius:      12px;
}

html, body { height: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ===== LAYOUT ===== */
.page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

/* ===== LEFT ===== */
.left {
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(46,107,62,.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(46,107,62,.07) 0%, transparent 55%),
    var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px 52px 36px;
  min-height: 100vh;
}

.left__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.logo-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 20px;
}

.brand {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  margin-top: -8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--green-faint);
  color: var(--green);
  font-size: .75rem;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: .06em;
  text-transform: uppercase;
  width: fit-content;
}

.dot {
  width: 7px;
  height: 7px;
  min-width: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .35; transform: scale(.75); }
}

h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.left__inner p {
  font-size: .97rem;
  color: var(--muted);
  line-height: 1.75;
}

.bottom {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: #9CA3AF;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.bottom__links {
  display: flex;
  gap: 16px;
}

.bottom__links a {
  color: #9CA3AF;
  font-size: .8rem;
  text-decoration: none;
  transition: color .15s;
}
.bottom__links a:hover { color: var(--text); }

/* ===== RIGHT ===== */
.right {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 52px;
  border-left: 1px solid var(--border);
}

.form-card {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.form-sub {
  font-size: .9rem;
  color: var(--muted);
  margin-top: -8px;
}

/* ===== FORM ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}

input, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .93rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  resize: vertical;
}

input:focus, textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,107,62,.1);
}

input::placeholder, textarea::placeholder {
  color: #C4C9D4;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background: var(--green);
  color: var(--white);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(46,107,62,.25);
  transition: background .15s, transform .15s, box-shadow .15s;
  margin-top: 4px;
}

.submit-btn:hover:not(:disabled) {
  background: var(--green-mid);
  box-shadow: 0 4px 16px rgba(46,107,62,.35);
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
}

/* ===== SPINNER ===== */
.spinner {
  width: 18px;
  height: 18px;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== ALERTS ===== */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 500;
}

.alert svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
}

.alert--success {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.alert--error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.hidden { display: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .left {
    min-height: auto;
    padding: 48px 32px 32px;
    border-bottom: 1px solid var(--border);
  }

  .right {
    border-left: none;
    padding: 40px 32px 56px;
  }

  .bottom {
    margin-top: 32px;
  }
}

@media (max-width: 480px) {
  .left  { padding: 36px 24px 28px; }
  .right { padding: 32px 24px 48px; }
}
