* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top left, #dcfce7 0, transparent 32%),
    linear-gradient(135deg, #f8fafc 0%, #eefcf3 100%);
  color: #0f172a;
}
.auth-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  height: 72px;

  display: flex;
  align-items: center;

  padding: 0 32px;

  z-index: 100;

  background:
    rgba(255,255,255,0.72);

  backdrop-filter: blur(16px);

  border-bottom:
    1px solid rgba(226,232,240,0.7);
}

.auth-header a {
  text-decoration: none;
  color: inherit;
}

.auth-page {
  padding-top: 72px;
}
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.auth-brand {
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo span {
  color: #22c55e;
}

.auth-brand h1 {
  font-size: 52px;
  line-height: 1.05;
  max-width: 620px;
  margin: 0 0 24px;
  letter-spacing: -2px;
}

.auth-brand p {
  font-size: 18px;
  color: #475569;
  max-width: 520px;
  line-height: 1.6;
}

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

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
}

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

.auth-card .subtitle {
  margin: 0 0 28px;
  color: #64748b;
  line-height: 1.5;
}

label {
  display: block;
  margin: 18px 0 8px;
  font-weight: 700;
  font-size: 14px;
}

input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  font-size: 15px;
  outline: none;
}

input:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

button {
  width: 100%;
  margin-top: 24px;
  padding: 15px 18px;
  border: none;
  border-radius: 14px;
  background: #22c55e;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  background: #16a34a;
}

.auth-links {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

a {
  color: #16a34a;
  font-weight: 700;
  text-decoration: none;
}

.error {
  margin-top: 16px;
  color: #dc2626;
  font-weight: 700;
}

.success {
  margin-top: 16px;
  color: #16a34a;
  font-weight: 700;
}

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

  .auth-brand {
    padding: 32px 24px 0;
  }

  .auth-brand h1 {
    font-size: 34px;
  }

  .auth-brand p {
    font-size: 16px;
  }

  .auth-panel {
    padding: 24px;
  }

  .auth-card {
    padding: 28px;
  }
}
