.unified-background-section {
  background: linear-gradient(135deg, #0c1220 0%, #1a202c 25%, #2d3748 50%, #1a202c 75%, #0c1220 100%);
    position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.unified-background-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.2) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(46, 49, 146, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 80%),
    radial-gradient(circle at center, rgba(14, 165, 233, 0.08) 0%, transparent 80%);
  z-index: 1;
    pointer-events: none;
}

.unified-background-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(46, 49, 146, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 60% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

.reportes-progreso-section {
  background: transparent;
  padding: 40px 40px 80px 40px;
  color: white;
  position: relative;
}

.reportes-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.reportes-progreso-section .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.reportes-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  text-align: center;
  margin: 0 auto 40px auto;
  color: #ffffff;
  /* letter-spacing: 0.12em; */
  text-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
  position: relative;
  display: block;
  width: 100%;
  z-index: 2;
  line-height: 1.1;
}

.reportes-description {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.reportes-search-container {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  box-shadow: none;
}

.search-bar {
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.15) 0%, 
    rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  border: 1px solid rgba(96, 213, 248, 0.4);
  border-radius: 25px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 4px 16px rgba(96, 213, 248, 0.2),
    0 0 20px rgba(96, 213, 248, 0.1);
}

.search-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(96, 213, 248, 0.1), transparent);
  transition: left 0.6s ease;
}

.search-bar:focus-within {
  border-color: rgba(96, 213, 248, 0.9);
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.25) 0%, 
    rgba(255, 255, 255, 0.15) 100%);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow: 
    0 12px 40px rgba(96, 213, 248, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(96, 213, 248, 0.2);
  transform: translateY(-2px);
}

.search-bar:focus-within::before {
  left: 100%;
}

.search-bar i {
  font-size: 1rem;
  color: rgba(96, 213, 248, 0.9);
  margin-right: 0.75rem;
  text-shadow: 
    0 0 20px rgba(96, 213, 248, 0.6),
    0 0 40px rgba(96, 213, 248, 0.3);
  transition: all 0.3s ease;
}

.search-bar:focus-within i {
  color: rgba(96, 213, 248, 1);
  text-shadow: 
    0 0 25px rgba(96, 213, 248, 0.8),
    0 0 50px rgba(96, 213, 248, 0.4);
  transform: scale(1.1);
}

.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.25rem 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.search-bar input::placeholder {
  color: #cbd5e1;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.search-btn {
  background: linear-gradient(135deg, #60D5F8 0%, #0EA5E9 50%, #3B82F6 100%);
  border: 1px solid rgba(96, 213, 248, 0.3);
  border-radius: 18px;
  padding: 0.625rem 1.25rem;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 0.75rem;
  box-shadow: 
    0 6px 20px rgba(96, 213, 248, 0.4),
    0 3px 12px rgba(0, 0, 0, 0.2),
    0 0 15px rgba(96, 213, 248, 0.2);
    display: flex;
    align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  min-width: 100px;
  height: 40px;
}

.search-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.search-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0EA5E9 0%, #60D5F8 50%, #3B82F6 100%);
  border-color: rgba(96, 213, 248, 0.5);
  box-shadow: 
    0 10px 30px rgba(96, 213, 248, 0.5),
    0 6px 20px rgba(0, 0, 0, 0.3),
    0 0 25px rgba(96, 213, 248, 0.3);
}

.search-btn:hover::before {
  left: 100%;
}

.search-btn:active {
  transform: translateY(0px);
  transition: all 0.1s ease;
}

.empresas-reportes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
  padding: 1rem 0;
}

.empresa-reporte-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: none;
  border-radius: 30px;
  padding: 1.5rem;
  margin: 0;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  animation: fadeInUp 0.6s ease-out;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.empresa-reporte-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.05) 0%, 
      transparent 50%,
      rgba(255, 255, 255, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  border-radius: 30px;
}

.empresa-reporte-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(14, 165, 233, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.2),
    inset 0 -2px 0 rgba(255, 255, 255, 0.1),
    inset 2px 0 0 rgba(255, 255, 255, 0.1),
    inset -2px 0 0 rgba(255, 255, 255, 0.05);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.empresa-reporte-card:hover::before {
  opacity: 1;
}

.empresa-card-header {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-shrink: 0;
  gap: 1rem;
}

.empresa-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, #60D5F8 0%, #3B82F6 100%);
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.1);
  transition: none !important;
  transform: none !important;
}

.empresa-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  filter: brightness(1.1) contrast(1.05);
  transition: none !important;
  transform: none !important;
}

.logo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.75rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  text-transform: uppercase;
}

.empresa-info {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}

.empresa-nombre {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff !important;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 1px 3px rgba(0, 0, 0, 0.6);
}

.empresa-rnc {
  display: none;
}

.empresa-clasificacion {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.clasificacion-label {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.clasificacion-tamaño.grande {
  color: #3B82F6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.clasificacion-tamaño.mediana {
  color: #10B981;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.clasificacion-tamaño.pequena,
.clasificacion-tamaño.pequeña {
  color: #F59E0B;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.clasificacion-tamaño.micro {
  color: #EF4444;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.empresa-progreso {
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.niveles-resumen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.nivel-item {
  text-align: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.nivel-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.nivel-numero {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

.nivel-progreso {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #60D5F8;
  text-shadow: 0 0 8px rgba(96, 213, 248, 0.4);
}

.empresa-actions {
  text-align: center;
  margin-top: 0.75rem;
}

.btn-ver-detalles {
  background: linear-gradient(135deg, #60D5F8 0%, #0EA5E9 50%, #3B82F6 100%);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(96, 213, 248, 0.3);
    border-radius: 12px;
  padding: 0.625rem 1.25rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
    overflow: hidden;
}

.btn-ver-detalles::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-ver-detalles:hover {
  background: linear-gradient(135deg, #0EA5E9 0%, #60D5F8 50%, #3B82F6 100%);
  backdrop-filter: blur(25px) saturate(130%);
  -webkit-backdrop-filter: blur(25px) saturate(130%);
  border-color: rgba(96, 213, 248, 0.5);
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(96, 213, 248, 0.4),
    0 4px 15px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(96, 213, 248, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-ver-detalles:hover::before {
  left: 100%;
}

.btn-ver-detalles i {
  font-size: 0.875rem;
}

.pagination-container {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
  visibility: visible !important;
  opacity: 1 !important;
}

.pagination-btn {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(30px) saturate(120%);
  -webkit-backdrop-filter: blur(30px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 0.5rem 1.25rem;
  color: #ffffff;
    font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  visibility: visible !important;
  opacity: 1 !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.pagination-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
    width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    transparent 100%);
  transition: left 0.6s ease;
}

.pagination-btn:hover::before {
  left: 100%;
}

.pagination-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(35px) saturate(130%);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 6px 20px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(96, 213, 248, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-info {
  font-size: 0.875rem;
  color: #e2e8f0;
  font-weight: 500;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(25px) saturate(110%);
  -webkit-backdrop-filter: blur(25px) saturate(110%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.modal-reporte {
  position: fixed;
  top: 0;
  left: 0;
    width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(25px) saturate(110%);
  -webkit-backdrop-filter: blur(25px) saturate(110%);
  z-index: 1000;
    display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: modalFadeIn 0.3s ease-out;
}

.modal-content {
  background: 
    linear-gradient(145deg, 
      rgba(255, 255, 255, 0.12) 0%, 
      rgba(255, 255, 255, 0.08) 50%,
      rgba(255, 255, 255, 0.06) 100%);
  
  backdrop-filter: blur(30px) saturate(120%) brightness(110%);
  -webkit-backdrop-filter: blur(30px) saturate(120%) brightness(110%);
  
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 8px 25px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  
  animation: modalSlideIn 0.4s ease-out;
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, 
      transparent 0%, 
      rgba(96, 213, 248, 0.03) 25%,
      transparent 50%,
      rgba(14, 165, 233, 0.02) 75%,
      transparent 100%);
  pointer-events: none;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.empresa-modal-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.empresa-modal-logo {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.2) 0%, 
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0.15) 100%),
    radial-gradient(ellipse at 30% 30%, rgba(96, 213, 248, 0.25) 0%, transparent 60%);
  
  backdrop-filter: blur(30px) saturate(120%);
  -webkit-backdrop-filter: blur(30px) saturate(120%);
  
  border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.4),
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 4px 15px rgba(96, 213, 248, 0.2),
    0 0 30px rgba(96, 213, 248, 0.25),
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(255, 255, 255, 0.15);
  
  transition: all 0.3s ease;
}

.empresa-modal-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  filter: brightness(1.1) contrast(1.05);
}

.empresa-modal-details h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.empresa-info-horizontal {
    display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.5rem;
}

.empresa-info-horizontal span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  white-space: nowrap;
}

.modal-close {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  width: 36px;
  height: 36px;
    display: flex;
    align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #60D5F8;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(96, 213, 248, 0.2);
}

.modal-close i {
  font-size: 1.125rem;
}

.modal-body {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin: 0.5rem 0;
}

.modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, rgba(96, 213, 248, 0.5), rgba(59, 130, 246, 0.5));
  border-radius: 10px;
  transition: background 0.3s ease;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, rgba(96, 213, 248, 0.7), rgba(59, 130, 246, 0.7));
}

.resultados-header {
  text-align: center;
  margin-bottom: 0.5rem;
  padding: 0;
  background: none;
  border: none;
}

.resultados-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cer-niveles-detalle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  overflow-y: visible;
  max-height: none;
  padding-right: 0;
}

.componente-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.componente-section:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.componente-header {
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1rem;
}

.componente-nombre {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.02em;
}

.componente-niveles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.nivel-detalle {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px) saturate(110%);
  -webkit-backdrop-filter: blur(25px) saturate(110%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 0.75rem;
  transition: all 0.3s ease;
        min-height: auto;
  outline: none;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.nivel-detalle:hover {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(30px) saturate(120%);
  -webkit-backdrop-filter: blur(30px) saturate(120%);
  border-color: rgba(96, 213, 248, 0.3);
  transform: translateY(-2px);
  box-shadow: 
    0 12px 35px rgba(96, 213, 248, 0.15),
    0 4px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nivel-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0.75rem;
}

.nivel-header h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nivel-progreso {
  margin-bottom: 0;
}

.progreso-bar-large {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  position: relative;
}

.progreso-fill {
  height: 100%;
  background: linear-gradient(135deg, #60D5F8 0%, #00AEEF 100%);
  border-radius: 4px;
  transition: width 1.5s ease-out;
  position: relative;
  overflow: hidden;
}

.progreso-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: progressShimmer 2s ease-in-out infinite;
}

.progreso-info {
    display: flex;
  justify-content: space-between;
    align-items: center;
}

.progreso-numeros {
  font-size: 1.125rem;
  font-weight: 700;
  color: #60D5F8;
  text-shadow: 0 0 8px rgba(96, 213, 248, 0.4);
}

.progreso-porcentaje {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.modal-actions {
  text-align: center;
  margin-bottom: 2rem;
}

.btn-download-reporte {
  background: linear-gradient(135deg, #60D5F8 0%, #0EA5E9 50%, #3B82F6 100%);
  border: 1px solid rgba(96, 213, 248, 0.3);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn-download-reporte::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-download-reporte:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0EA5E9 0%, #60D5F8 50%, #3B82F6 100%);
  border-color: rgba(96, 213, 248, 0.5);
  box-shadow: 
    0 10px 30px rgba(96, 213, 248, 0.5),
    0 6px 20px rgba(0, 0, 0, 0.3),
    0 0 25px rgba(96, 213, 248, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-download-reporte:hover::before {
  left: 100%;
}

.btn-download-reporte i {
  font-size: 1.125rem;
}

.disclaimer {
    display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.disclaimer i {
  color: #f59e0b;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.disclaimer p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
}
.nivel-1 {
  border-left: 4px solid #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
  background: linear-gradient(135deg, 
    rgba(16, 185, 129, 0.08) 0%, 
    rgba(255, 255, 255, 0.05) 100%);
}

.nivel-2 {
  border-left: 4px solid #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.2);
  background: linear-gradient(135deg, 
    rgba(245, 158, 11, 0.08) 0%, 
    rgba(255, 255, 255, 0.05) 100%);
}

.nivel-3 {
  border-left: 4px solid #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  background: linear-gradient(135deg, 
    rgba(239, 68, 68, 0.08) 0%, 
    rgba(255, 255, 255, 0.05) 100%);
}

.nivel-1-fill {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.nivel-2-fill {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.nivel-3-fill {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes progressShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1200px) {
  .empresas-reportes-grid {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .reportes-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 0.08em;
  }
  
  .reportes-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .reportes-search-container {
    padding: 0;
  }
  
  .search-bar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .search-bar input {
    width: 100%;
  }
  
  .search-btn {
    width: 100%;
    margin-left: 0;
  }
  
  .empresas-reportes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .niveles-resumen {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .pagination-container {
    flex-direction: column;
    gap: 1rem;
  }

  .modal-content {
    max-width: 95%;
    margin: 1rem;
  }
  
  .modal-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .empresa-modal-info {
    flex-direction: column;
    gap: 1rem;
  }
  
  .empresa-modal-logo {
    width: 60px;
    height: 60px;
  }
  
  .empresa-info-horizontal {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .reportes-progreso-section {
    padding: 2rem 1rem;
  }
  
  .reportes-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.06em;
  }
  
  .reportes-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .search-bar {
    padding: 0.75rem;
  }
  
  .search-bar input {
    font-size: 0.875rem;
  }
  
  .search-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  
  .empresa-card-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .empresa-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto;
  }
  
  .empresa-nombre {
    font-size: 1.125rem;
    color: #ffffff !important;
  }
  
  .niveles-resumen {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .nivel-item {
    padding: 0.5rem;
  }
  
  .btn-ver-detalles {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  
  .pagination-container {
    gap: 0.75rem;
  }
  
  .pagination-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .modal-reporte {
    padding: 0.5rem;
  }
  
  .modal-content {
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 1.5rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .resultados-header h3 {
    font-size: 1.25rem;
  }
  
  .btn-download-reporte {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .componente-section {
    padding: 1rem;
  }
  
  .componente-header {
    padding: 0.625rem 0.875rem;
  }
  
  .componente-nombre {
    font-size: 1.1rem;
  }
}
