.registro-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #0f172a;
}

.registro-container {
  width: min(820px, 100%);
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.registro-header {
  margin-bottom: 20px;
}

.registro-header h1 {
  margin: 0 0 6px;
  color: #e5e7eb;
  font-size: 28px;
}

.registro-header p {
  margin: 0;
  color: #9ca3af;
}

.registro-alert {
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 10px 12px;
  font-size: 14px;
}

.registro-alert.success {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
}

.registro-alert.error {
  color: #f87171;
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  color: #9ca3af;
}

.field input,
.field select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #1f2937;
  background: #0b1220;
  color: #e5e7eb;
  padding: 11px 12px;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.checkbox-field label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
}

.checkbox-field .terms-link {
  color: #22c55e;
  font-weight: 600;
  text-decoration: underline;
}

.checkbox-field .terms-link:hover {
  color: #4ade80;
}

.terms-note {
  color: #94a3b8;
  font-size: 12px;
}

.btn-registro {
  margin-top: 18px;
  width: 100%;
  border: none;
  border-radius: 10px;
  background: #22c55e;
  color: #022c22;
  font-weight: 700;
  padding: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-registro:hover {
  filter: brightness(1.05);
}

.btn-registro:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: saturate(0.7);
}

.registro-footer {
  margin-top: 16px;
  text-align: center;
}

.registro-footer a {
  color: #22c55e;
  text-decoration: none;
}

.registro-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .registro-main {
    padding: 14px;
  }

  .registro-container {
    padding: 18px;
  }

  .registro-header h1 {
    font-size: 24px;
  }

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