/* Estilos para el formulario de registro */
body {
  background: linear-gradient(135deg, #216142 0%, #1a4d35 50%, #0f2e1f 100%);
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.registro-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(34, 181, 115, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 3rem 2.5rem;
  margin-bottom: 2.5rem;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.registro-card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 12px 24px rgba(34, 181, 115, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.registro-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 2rem;
}

.registro-form-col {
  flex: 1 1 0;
  min-width: 350px;
}

.form-section-title {
  color: #216142;
  font-weight: 700;
  margin-bottom: 2rem;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 0.8rem;
}

.form-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #22B573, #216142);
  border-radius: 2px;
}

.form-section-title i {
  color: #22B573;
}

.form-label { 
  font-weight: 600; 
  color: #2c3e50; 
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.form-control, .form-select, textarea {
  border-radius: 0.8rem;
  font-size: 1rem;
  padding: 0.8rem 1.2rem;
  border: 2px solid #e8f0fe;
  background: #f8fafc;
  transition: all 0.3s ease;
  font-weight: 500;
}

.form-control:focus, .form-select:focus, textarea:focus {
  border-color: #22B573;
  box-shadow: 0 0 0 0.2rem rgba(34, 181, 115, 0.15);
  background: #ffffff;
  transform: translateY(-1px);
}

.form-control:hover, .form-select:hover {
  border-color: #22B573;
  background: #ffffff;
}

.btn-green { 
  background: linear-gradient(135deg, #22B573 0%, #1a9a5c 100%);
  color: #fff; 
  border: none; 
  border-radius: 0.8rem; 
  font-size: 1.1rem; 
  font-weight: 600; 
  letter-spacing: 0.5px;
  padding: 1rem 2.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(34, 181, 115, 0.3);
}

.btn-green:hover { 
  background: linear-gradient(135deg, #1a9a5c 0%, #158a4f 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 181, 115, 0.4);
}

.campo-horizontal {
  display: flex;
  gap: 1rem;
  align-items: end;
}

.campo-horizontal .form-control {
  width: auto;
  flex: 1 1 0;
}

.campo-horizontal .form-control.campo-corto {
  max-width: 80px;
}

.campo-horizontal .form-control.campo-medio {
  max-width: 130px;
}

.campo-horizontal .form-control.campo-largo {
  max-width: 200px;
}

.campo-horizontal .form-control.campo-telefono-caracteristica,
.campo-horizontal .form-control.campo-telefono-numero {
    max-width: 180px;
}

.cuit-separator {
  align-self: center;
  font-weight: 600;
  color: #216142;
  font-size: 1.2rem;
  margin: 0 0.5rem;
}

.boton {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Estilos para el modal de términos y condiciones */
.terminos-modal .modal-content {
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.terminos-modal .modal-title {
  color: #216142;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.terminos-modal .modal-body {
  max-height: 60vh;
  overflow-y: auto;
  font-size: 1rem;
  color: #2c3e50;
  line-height: 1.7;
  padding: 1rem 0;
}

.terminos-content h6 {
  color: #216142;
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.terminos-content h6:first-child {
  margin-top: 0;
}

.terminos-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.terminos-modal .btn-green {
  background: linear-gradient(135deg, #22B573 0%, #1a9a5c 100%);
  color: #fff;
  border: none;
  border-radius: 0.8rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.8rem 2rem;
  transition: all 0.3s ease;
}

.terminos-modal .btn-green:hover {
  background: linear-gradient(135deg, #1a9a5c 0%, #158a4f 100%);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 991px) {
  .registro-form-row {
    flex-direction: column;
    gap: 2rem;
  }
  .registro-form-col {
    min-width: 0;
  }
  .registro-card {
    padding: 2rem 1.5rem;
  }
  .container {
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .registro-card {
    padding: 1.5rem 1rem;
    border-radius: 1rem;
  }
  .form-section-title {
    font-size: 1.2rem;
  }
  .btn-green {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  
  /* Mantener campos CUIT y teléfono alineados horizontalmente en móviles */
  .campo-horizontal {
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .campo-horizontal .form-control {
    max-width: none !important;
    flex: 1;
    min-width: 0;
  }
  
  /* Ajustes específicos para campos de teléfono */
  .campo-horizontal .campo-telefono-caracteristica {
    flex: 0 0 30%;
    min-width: 80px;
  }
  
  .campo-horizontal .campo-telefono-numero {
    flex: 0 0 60%;
    min-width: 120px;
  }
  
  /* Ajustes específicos para campos CUIT */
  .campo-horizontal .cuit2 {
    flex: 0 0 12%;
    min-width: 40px;
    max-width: 50px;
  }
  
  .campo-horizontal .cuit8 {
    flex: 0 0 45%;
    min-width: 80px;
    max-width: 120px;
  }
  
  .campo-horizontal .cuit1 {
    flex: 0 0 12%;
    min-width: 40px;
    max-width: 50px;
  }
  
  .cuit-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #22B573;
    flex: 0 0 8%;
    margin: 0 0.2rem;
    font-size: 1rem;
  }
}

/* Ajustes adicionales para pantallas muy pequeñas */
@media (max-width: 480px) {
  .campo-horizontal {
    gap: 0.3rem;
  }
  
  .campo-horizontal .cuit2 {
    flex: 0 0 10%;
    min-width: 35px;
    max-width: 45px;
  }
  
  .campo-horizontal .cuit8 {
    flex: 0 0 40%;
    min-width: 70px;
    max-width: 100px;
  }
  
  .campo-horizontal .cuit1 {
    flex: 0 0 10%;
    min-width: 35px;
    max-width: 45px;
  }
  
  .cuit-separator {
    flex: 0 0 6%;
    margin: 0 0.1rem;
    font-size: 0.9rem;
  }
  
  .campo-horizontal .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.registro-card {
  animation: fadeInUp 0.6s ease-out;
}

.registro-card:nth-child(2) {
  animation-delay: 0.1s;
}

/* Mejoras en los inputs */
.form-control::placeholder {
  color: #a0aec0;
  font-weight: 400;
}

.invalid-feedback {
  font-size: 0.85rem;
  font-weight: 500;
  color: #e53e3e;
  margin-top: 0.25rem;
}

/* Estilo para el enlace de términos */
#verTerminosLink {
  color: #216142;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

#verTerminosLink:hover {
  color: #22B573;
  border-bottom-color: #22B573;
}

/* Estilos para el modal de éxito */
#exitoModal .modal-content {
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

#exitoModal .modal-title {
  color: #216142;
  font-size: 1.3rem;
}

#exitoModal .modal-body {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2c3e50;
} 