/* ---------- Registration ---------- */
/* Hide subheader on admin pages */
.subheader {
  display: none;
}



.register-section .section-subtitle {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.95);
}

.register-card {
  margin-top: 1.5rem;
  padding: 1.9rem 2rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(234, 179, 8, 0.16), transparent 55%),
    #020617;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.register-form {
  color: rgba(248, 250, 252, 0.96);
}

/* Alerts */

.alert {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.6);
  color: #bbf7d0;
}

.alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.6);
  color: #fecaca;
}

/* Group titles */

.register-group-title {
  padding-top: 1.4rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #fff !important;
}

/* Grid layout */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.4rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-field-wide {
  grid-column: 1 / -1;
}

/* Labels & inputs */

.field-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 0.95);
}

.field-input {
  border-radius: 0.7rem;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: rgba(248, 250, 252, 0.96);
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  outline: none;
  width: 100%;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.field-input:focus {
  border-color: var(--gold, #facc15);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.55);
  background: rgba(15, 23, 42, 1);
}

.field-input::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.field-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox rows */

.form-checkbox {
  margin-top: 0.9rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: rgba(226, 232, 240, 0.9);
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
}

/* Button row */

.register-actions {
  margin-top: 1.6rem;
}

/* High-contrast primary button */
.register-section .btn.btn-primary,
.register-section .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: none;
  outline: none;
  background: var(--gold, #facc15);
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.register-section .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
  background: #eab308;
}

.form-hint {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.95);
}

/* Responsive */

@media (max-width: 768px) {
  .register-card {
    padding: 1.5rem 1.4rem;
    border-radius: 1.2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
