* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: #f5f7fb;
  color: #111827;
}

.page {
  min-height: 100vh;
  display: flex;
}

.auth-left {
  width: 45%;
  background: linear-gradient(135deg, #020617, #0e3ea0);
  color: white;
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.auth-title {
  font-size: 44px;
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 18px;
}

.auth-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 460px;
}

.auth-badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 13px;
  margin-bottom: 24px;
}

.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.card {
  width: 100%;
  max-width: 430px;
  background: white;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 24px 70px rgba(15,23,42,0.12);
  border: 1px solid #e5e7eb;
}

.card h1 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.card p {
  margin: 0 0 26px;
  color: #6b7280;
  line-height: 1.6;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 8px;
}

input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  font-size: 15px;
  outline: none;
  margin-bottom: 16px;
}

input:focus {
  border-color: #0e3ea0;
  box-shadow: 0 0 0 4px rgba(14,62,160,0.10);
}

button {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 14px;
  background: #0e3ea0;
  color: white;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

button:hover {
  background: #0b327f;
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.alert {
  display: none;
  padding: 12px 14px;
  border-radius: 14px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.alert.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.auth-links {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.auth-links a {
  color: #0e3ea0;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.muted {
  color: rgba(255,255,255,0.56);
  font-size: 13px;
}

@media (max-width: 900px) {
  .page {
    flex-direction: column;
  }

  .auth-left {
    width: 100%;
    padding: 36px 24px;
    gap: 40px;
  }

  .auth-title {
    font-size: 34px;
  }

  .auth-right {
    padding: 24px;
  }

  .card {
    padding: 26px;
  }
}
