:root {
  --primary-color: #0f172a;
  --text-color: #fff;
  --input-bg: #1e293b;
  --input-border: #334155;
  --btn-bg: #2563eb;
  --btn-hover: #1d4ed8;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: white;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.signup-container {
  width: 75%;
  max-width: 1000px;
  background-color: #1e293b;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
}

p.description {
  text-align: center;
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

/* Two-column layout for wider screens */
form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

/* Full-width for smaller screens */
@media (max-width: 700px) {
  form {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  color: #e2e8f0;
}

input, select, textarea {
  padding: 10px 12px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  background-color: var(--input-bg);
  color: var(--text-color);
  font-size: 1rem;
}

input::placeholder, textarea::placeholder {
  color: #94a3b8;
}

textarea {
  resize: vertical;
}

/* Centered button - takes full width of container but aligned center */
button {
  grid-column: span 2;
  padding: 12px;
  background-color: var(--btn-bg);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
  justify-self: center;
  width: 50%;
}

@media (max-width: 700px) {
  button {
    grid-column: span 1;
    width: 80%;
  }
}

button:hover {
  background-color: var(--btn-hover);
}

.footer-text {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 1.5rem;
  color: #94a3b8;
}

.footer-text a {
  color: #60a5fa;
  text-decoration: none;
}

.footer-text a:hover {
  text-decoration: underline;
}
