@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
  --auth-bg: radial-gradient(circle at top left, #1f2a44, #0c111c 55%);
  --auth-card: rgba(255, 255, 255, 0.07);
  --auth-border: rgba(255, 255, 255, 0.1);
  --auth-highlight: #00c9a7;
  --auth-text: #f6f7fb;
}

body.auth-layout {
  margin: 0;
  min-height: 100vh;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  background: var(--auth-bg);
  color: var(--auth-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
}

.auth-shell {
  width: min(480px, 100%);
  display: flex;
  justify-content: center;
}

.auth-panel {
  backdrop-filter: blur(20px);
  background: var(--auth-card);
  border: 1px solid var(--auth-border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  width: 100%;
}

.auth-panel h1 {
  margin: 0 0 8px;
  font-size: 1.75rem;
}

.auth-panel p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 20px;
  font-size: 0.95rem;
}

.auth-panel form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-panel label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.auth-panel input,
.auth-panel select,
.auth-panel textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--auth-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--auth-text);
  font-size: 1rem;
}

.auth-panel input:focus {
  outline: none;
  border-color: var(--auth-highlight);
  box-shadow: 0 0 0 2px rgba(0, 201, 167, 0.25);
}

.auth-panel button {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--auth-highlight);
  color: #04120f;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-panel button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 201, 167, 0.35);
}

.auth-links {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.95rem;
}

.auth-links a {
  color: var(--auth-highlight);
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .auth-panel {
    padding: 28px;
  }
}
