/* Registro page specific styles - matching login design */
.hero-registro {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  margin-top: 0;
}

.hero-registro .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-registro h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: white;
}

.hero-registro p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.main-content {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: #f9fafb;
}

.register-container {
  max-width: 500px;
  width: 100%;
}

.register-form {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2.5rem;
}

.register-form h2 {
  margin: 0 0 1.5rem 0;
  font-size: 1.8rem;
  color: #374151;
  text-align: center;
}

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

.form-group label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600;
  color: #374151;
}

.form-group input {
  width: 100%;
  padding: .875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: .75rem;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.password-strength {
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  display: none;
}

.password-strength.weak {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  display: block;
}

.password-strength.medium {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fed7aa;
  display: block;
}

.password-strength.strong {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.checkbox-input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.checkbox-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

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

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

button[type="submit"] {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: 0;
  border-radius: .75rem;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  margin-bottom: 1.5rem;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.divider {
  text-align: center;
  margin: 2rem 0;
  position: relative;
  color: var(--gray-500);
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-200);
}

.divider span {
  background: white;
  padding: 0 1rem;
}

.btn-google {
  width: 100%;
  background: white;
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn-google:hover {
  border-color: var(--gray-300);
  background: var(--gray-50);
}

.register-links {
  text-align: center;
  margin-top: 2rem;
}

.register-links p {
  color: #6b7280;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.register-links a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.register-links a:hover {
  text-decoration: underline;
}

.error-message {
  background: #fef2f2;
  color: #dc2626;
  padding: 1rem;
  border-radius: .75rem;
  border: 1px solid #fecaca;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.success-message {
  background: #f0fdf4;
  color: #16a34a;
  padding: 1rem;
  border-radius: .75rem;
  border: 1px solid #bbf7d0;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-registro {
    padding: 80px 0 60px;
  }
  
  .hero-registro h1 {
    font-size: 2.25rem;
  }
  
  .hero-registro p {
    font-size: 1rem;
  }
  
  .register-form {
    padding: 2rem;
  }
  
  .main-content {
    padding: 1rem;
  }
}
