/* Estilos adicionales para el registro */
.registro-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--background-light) 0%, var(--white) 100%);
  padding: 100px 20px 20px;
}

.registro-form {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
  width: 100%;
  max-width: 600px;
}

.registro-form h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-description {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--background-light);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-terms {
  margin-bottom: 2rem;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkbox-container input {
  margin-right: 10px;
  margin-top: 2px;
}

.checkbox-container a {
  color: var(--primary-color);
  text-decoration: none;
}

.checkbox-container a:hover {
  text-decoration: underline;
}

.btn-full {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

.form-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--background-light);
}

.form-footer p {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.form-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

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

/* Página de éxito */
.success-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--background-light) 0%, var(--white) 100%);
  padding: 20px;
}

.success-card {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  color: #00b894;
  margin-bottom: 1.5rem;
}

.success-card h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.success-message {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.codigo-container {
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.codigo-container h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.codigo-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.codigo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  font-family: "Courier New", monospace;
  background: white;
  padding: 10px 20px;
  border-radius: 10px;
  border: 2px solid var(--primary-color);
}

.btn-copy {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-copy:hover {
  background: var(--accent-color);
}

.next-steps {
  text-align: left;
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.next-steps h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.next-steps ol {
  color: var(--text-dark);
  line-height: 1.8;
}

.next-steps li {
  margin-bottom: 0.5rem;
}

.whatsapp-section {
  background: #e8f5e8;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.whatsapp-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.whatsapp-section p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  margin-bottom: 1.5rem;
}

.btn-whatsapp:hover {
  background: #128c7e;
  transform: translateY(-2px);
}

.mensaje-preview {
  text-align: left;
  margin-top: 1rem;
}

.mensaje-preview p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.mensaje-texto {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  border-left: 4px solid #25d366;
  font-style: italic;
  color: var(--text-dark);
}

.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .registro-form,
  .success-card {
    padding: 2rem;
  }

  .codigo {
    font-size: 1.5rem;
  }

  .action-buttons {
    flex-direction: column;
  }
}
