/* Estilos para el formulario moderno - Garantizados para funcionar */

.formulario-moderno {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(16px);
  border-radius: 1rem !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  overflow: hidden;
}

.input-moderno {
  width: 100% !important;
  padding: 0.75rem 1rem !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border: 2px solid #0c4371 !important;
  border-radius: 0.75rem !important;
  color: #0c4371 !important;
  transition: all 0.3s ease !important;
  font-size: 1rem !important;
}

.input-moderno:focus {
  outline: none !important;
  border-color: #0c4371 !important;
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
  color: #1e293b !important;
}

.input-moderno::placeholder {
  color: #0c4371 !important;
  font-style: italic;
}
.font-button {
  font-family: dejavusans-condensed-bold-oblique, "Arial Black", Arial,
    sans-serif !important;
}

.label-moderno {
  font-family: dejavusans-condensed-bold-oblique, "Arial Black", Arial,
    sans-serif !important;
  display: block !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #0c4371 !important;

  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 0.5rem !important;
}

.select-moderno {
  width: 100% !important;
  padding: 0.75rem 1rem !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border: 2px solid #0c4371 !important;
  border-radius: 0.75rem !important;
  color: #64748b !important;

  appearance: none !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 0.5rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.5em 1.5em !important;
  padding-right: 2.5rem !important;
}

.select-moderno:focus {
  outline: none !important;
  border-color: #3b82f6 !important;
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.btn-moderno-primary {
  padding: 1rem 2rem !important;
  background: #fdc84b !important;
  color: white !important;
  font-weight: 700 !important;
  border-radius: 0.75rem !important;
  border: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.btn-moderno-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.btn-moderno-secondary {
  padding: 1rem 2rem !important;
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
  color: white !important;
  font-weight: 600 !important;
  text-decoration: none;
  border-radius: 0.75rem !important;
  border: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.btn-moderno-secondary:hover {
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%) !important;
}

.separador-moderno {
  height: 2px !important;
  background: #0c4371 !important;
  margin: 2rem 0 !important;
  border: none !important;
}

.grid-moderno-2 {
  display: grid !important;
  grid-template-columns: repeat(1, 1fr) !important;
  gap: 1.5rem !important;
}

.grid-moderno-3 {
  display: grid !important;
  grid-template-columns: repeat(1, 1fr) !important;
  gap: 1.5rem !important;
}

@media (min-width: 768px) {
  .grid-moderno-2 {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .grid-moderno-3 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.flex-botones {
  display: flex !important;
  flex-direction: column !important;
  justify-content: end !important;
  gap: 1rem !important;
  margin-top: 2rem !important;
}

@media (min-width: 640px) {
  .flex-botones {
    flex-direction: row !important;
  }
}
.font_titulo {
  color: #114c76;
}
/* Fuentes personalizadas para el título */
.titulo-preinscripcion {
  font-family: dejavusans-condensed-bold-oblique, "Arial Black", Arial,
    sans-serif !important;
  font-size: 1.875rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
  margin-top: 0 !important;

  letter-spacing: 0.05em !important;
  font-style: oblique !important;
  color: #114c76;
}

.subtitulo-preinscripcion {
  font-family: dejavusans-condensed-oblique, "Arial Black", Arial, sans-serif !important;
  font-size: 1.5rem !important;
  opacity: 0.9 !important;
  margin: 0 !important;
  font-weight: 400 !important;
  color: #114c76;
}

/* Responsive para títulos */
@media (max-width: 767px) {
  .titulo-preinscripcion {
    font-size: 1.5rem !important;
  }

  .subtitulo-preinscripcion {
    font-size: 1rem !important;
  }
}
/* Grid de 4 columnas para la sección de colegio */
.grid-moderno-4 {
  display: grid !important;
  grid-template-columns: repeat(1, 1fr) !important;
  gap: 1.5rem !important;
}

@media (min-width: 768px) {
  .grid-moderno-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  .grid-moderno-4 {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Estilos para las tablas modernas */
.table-moderna {
  background: white !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden !important;
}

.table-moderna thead {
  background: #f9fafb !important;
}

.table-moderna th {
  padding: 1rem 0.75rem !important;
  text-align: center !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #374151 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.table-moderna td {
  padding: 0.5rem !important;
  border-bottom: 1px solid #e5e7eb !important;
}

.table-moderna tbody tr:hover {
  background-color: #f9fafb !important;
}

/* Inputs dentro de tablas */
.table-moderna input,
.table-moderna select {
  width: 100% !important;
  padding: 0.5rem 0.75rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.5rem !important;
  transition: all 0.3s ease !important;
}

.table-moderna input:focus,
.table-moderna select:focus {
  outline: none !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* Botones de acción en tablas */
.btn-tabla-eliminar {
  color: #ef4444 !important;
  transition: color 0.3s ease !important;
  cursor: pointer !important;
}

.btn-tabla-eliminar:hover {
  color: #dc2626 !important;
}

/* Botones de importar/exportar */
.btn-importar {
  background: linear-gradient(135deg, #198754 0%, #198754 100%) !important;
  color: white !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.5rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
}

.btn-importar:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.btn-exportar {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  color: white !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.5rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
}

.btn-exportar:hover {
  transform: translateY(-1px) !important;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
}

/* Input file oculto */
.hidden {
  display: none !important;
}
.button-r {
  border-radius: 15px;
}
/* Estilos para Select2 - Para que se vea como los otros selects */
.select2-container--bootstrap-5 .select2-selection {
  width: 100% !important;
  padding: 0.75rem 1rem !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border: 2px solid #0c4371 !important;
  border-radius: 0.75rem !important;
  color: #0c4371 !important;
  transition: all 0.3s ease !important;
  font-size: 1rem !important;
  min-height: auto !important;
  height: 50px !important;
}

.select2-container--bootstrap-5 .select2-selection:focus,
.select2-container--bootstrap-5.select2-container--focus .select2-selection {
  outline: none !important;
  border-color: #0c4371 !important;
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.select2-container--bootstrap-5 .select2-selection__rendered {
  color: #0c4371 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
}

.select2-container--bootstrap-5 .select2-selection__arrow {
  height: 100% !important;
  right: 1rem !important;
}

.select2-container--bootstrap-5 .select2-selection__arrow b {
  border-color: #0c4371 transparent transparent transparent !important;
}

/* Dropdown de Select2 */
.select2-container--bootstrap-5 .select2-dropdown {
  border: 2px solid #0c4371 !important;
  border-radius: 0.75rem !important;
  background: rgba(255, 255, 255, 0.95) !important;
}

.select2-container--bootstrap-5 .select2-results__option {
  color: #0c4371 !important;
  padding: 0.75rem 1rem !important;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted {
  background-color: rgba(12, 67, 113, 0.1) !important;
  color: #0c4371 !important;
}

.bg-formulario {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  width: 100% !important;
  min-height: calc(100vh - 60px) !important;
}

/* Eliminar espacios en blanco del body y html */
body,
html {
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  background-image: url("/asset/image/banner/FONDO-FORMULARIO.png") !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* Asegurar que el contenedor principal no tenga espacios */
.min-h-screen {
  margin: 0 !important;
  padding: 0 !important;
  min-height: calc(100vh - 60px) !important;
  width: 100% !important;
  position: relative !important;
}

/* Eliminar cualquier espacio del contenedor del formulario */
.bg-formulario .max-w-7xl {
  margin: 0 auto !important;
  padding: 1rem !important;
  min-height: calc(100vh - 60px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Asegurar que el formulario esté centrado sin espacios */
.flex.justify-center {
  min-height: calc(100vh - 60px) !important;
  align-items: center !important;
}

/* Reset completo para eliminar espacios */
* {
  box-sizing: border-box !important;
}

/* Contenedor específico sin espacios - respetando el header */
.bg-formulario {
  position: relative !important;
  width: 100% !important;
  min-height: calc(100vh - 60px) !important;
}
.btn-importar1 {
  display: flex;
  align-items: center;
  gap: 8px; /* espacio entre ícono y texto */
  padding: 8px 16px;
  background-color: #0c4371; /* azul */
  color: white;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-importar1:hover {
  background-color: #1e40af; /* azul más oscuro */
}

.icono-importar1 {
  width: 20px;
  height: 20px;
}

.hidden1 {
  display: none;
}
