.signup-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
}

@media (max-width: 900px) {
  .signup-container {
    grid-template-columns: 1fr;
  }
}

/* Panels (cards) share similar styling: rounded corners, subtle
   gradients, and a backdrop blur to distinguish them from the
   background. */
.info-card,
.signup-card {
  background: linear-gradient(180deg, rgba(18, 26, 22, 0.92), rgba(15, 21, 18, 0.92));
  border: 1px solid var(--ring, #1a2a23);
  border-radius: 1rem;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  padding: 1.5rem;
}

/* Heading styles for the cards */
.info-card h2,
.signup-card h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Paragraphs and lists in the info card use muted colours and
   comfortable spacing */
.info-card p,
.info-card li {
  color: var(--muted, #a7b5ad);
  line-height: 1.6;
}

.info-card ul {
  padding-left: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* Lead text beneath the signup card heading */
.signup-card .lead {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--muted, #a7b5ad);
  text-align: left;
}

/* Signup form field wrapper */
.signup-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

/* Labels are uppercase with subtle letter spacing */
.signup-label {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.signup-card input[type="text"],
.signup-card input[type="email"],
.signup-card input[type="password"],
.signup-card textarea {
  border-radius: 0.6rem;
  border: 1px solid var(--ring, #1a2a23);
  background: rgba(16, 22, 19, 0.92);
  color: var(--ink, #e6efe9);
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  font-family: inherit;
}

.signup-card textarea {
  min-height: 6rem;
  resize: vertical;
}

/* Highlight fields on focus with a subtle outline */
.signup-card input:focus,
.signup-card textarea:focus {
  outline: 2px solid var(--focus, #9cc5b1);
  outline-offset: 1px;
}

.captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.captcha-row img {
  border: 1px solid var(--ring, #1a2a23);
  border-radius: 0.6rem;
  width: 180px;
  height: 48px;
}

.captcha-row button {
  padding: 0.5rem 0.75rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(180deg, #1e2e26, #132019);
  color: var(--ink, #e6efe9);
  border: 1px solid var(--ring, #1a2a23);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.captcha-row button:hover {
  background: linear-gradient(180deg, #25382f, #1a2a23);
  color: #fff;
}

.captcha-row button:active {
  transform: translateY(1px);
}

/* Error message styling beneath fields */
.signup-error {
  color: var(--red, #ff6b6b);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* Actions container for the submit button */
.signup-actions {
  text-align: left;
  margin-top: 0.5rem;
}

.signup-submit {
  padding: 0.8rem 1.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #132019, #0d1613);
  color: var(--link, #a0d1bd);
  font-weight: 700;
  font-family: "Rajdhani", sans-serif;
  text-transform: uppercase;
  border: 1px solid var(--ring, #1a2a23);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: filter 0.15s ease-out, transform 0.15s ease-out;
}

.signup-submit:hover {
  filter: brightness(1.6);
  transform: translateY(-1px);
}

.signup-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Back link styling */
.back-link {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.back-link a {
  color: var(--link, #a0d1bd);
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
}

/* Banner for success and error messages. Hidden by default;
   show via JavaScript. */
.signup-banner {
  display: none;
  border-radius: 0.75rem;
  border: 1px solid var(--ring, #1a2a23);
  padding: 1rem;
  margin-bottom: 1rem;
  font-family: "Titillium Web", sans-serif;
}

/* Variant colours for success and error banners */
.signup-banner.signup-banner--success {
  background: rgba(20, 50, 34, 0.65);
  color: var(--brand, #cfe2d7);
}

.signup-banner.signup-banner--error {
  background: rgba(60, 18, 18, 0.65);
  color: #f5c2c2;
}

.signup-banner h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.signup-banner ul {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  padding-left: 1.25rem;
}

.signup-banner li {
  margin-bottom: 0.25rem;
}

.signup-banner .small {
  font-size: 0.85rem;
  color: var(--muted, #a7b5ad);
  margin-top: 0.5rem;
}