.iframe-reporte-container {
  width: 100%;
  min-height: 650px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.iframe-reporte-container iframe {
  width: 100%;
  height: 650px;
  border: none;
  display: block;
}

.loader-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.loader-container i {
  font-size: 2.5rem;
  color: #3182ce;
  margin-bottom: 15px;
}

.loader-container p {
  color: #4a5568;
  font-weight: 500;
}


.reportes-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header mejorado - más específico */
.reportes-section .reportes-header {
  text-align: center;
  margin-bottom: 50px;
}

.reportes-section .reportes-title {
  font-size: 3rem;
  color: #1a202c;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-weight: 700;
}

.reportes-section .reportes-title i {
  color: #3182ce;
  animation: reportes-pulse 2s infinite;
}

.reportes-section .reportes-subtitle {
  font-size: 1.2rem;
  color: #4a5568;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid de bancos mejorado - más específico */
.reportes-section .bancos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Tarjetas de banco con estilos más robustos - más específicos */
.reportes-section .banco-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  transform: translateZ(0);
}

.reportes-section .banco-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.reportes-section .banco-card:hover::before {
  left: 100%;
}

.reportes-section .banco-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: #3182ce;
}

.reportes-section .banco-card:active {
  transform: translateY(-4px) scale(1.01);
}

/* Contenido de las tarjetas - más específico */
.reportes-section .banco-logo {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.reportes-section .banco-logo img {
  max-width: 120px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.reportes-section .banco-card:hover .banco-logo img {
  transform: scale(1.05);
}

.reportes-section .banco-info {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.reportes-section .banco-info h3 {
  font-size: 1.5rem;
  color: #2d3748;
  margin-bottom: 10px;
  font-weight: 600;
}

.reportes-section .banco-empresa {
  color: #718096;
  font-size: 0.9rem;
  margin-bottom: 15px;
  font-style: italic;
}

.reportes-section .banco-cuenta,
.reportes-section .banco-clabe {
  color: #4a5568;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.reportes-section .banco-cuenta strong,
.reportes-section .banco-clabe strong {
  color: #2d3748;
  font-weight: 600;
}

.reportes-section .banco-action {
  text-align: center;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.reportes-section .banco-action i {
  font-size: 1.5rem;
  color: #3182ce;
  transition: transform 0.3s ease;
}

.reportes-section .banco-card:hover .banco-action i {
  transform: translateX(8px);
}

/* Modales con estilos más robustos - más específicos */
.reportes-section .modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.reportes-section .modal-overlay.show {
  opacity: 1;
}

.reportes-section .modal-container {
  background: #ffffff;
  border-radius: 20px;
  max-width: 650px;
  width: 100%;
  max-height: 95vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  transform: scale(0.9) translateY(-20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.reportes-section .modal-overlay.show .modal-container {
  transform: scale(1) translateY(0);
}

/* Header del modal - más específico */
.reportes-section .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px 10px;
  border-bottom: 2px solid #e2e8f0;
  background: #f7fafc;
  border-radius: 20px 20px 0 0;
}

.reportes-section .modal-logo img {
  max-width: 100px;
  height: 60px;
  object-fit: contain;
}

.reportes-section .modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #718096;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reportes-section .modal-close:hover {
  background: #fed7d7;
  color: #e53e3e;
  transform: rotate(90deg);
}

/* Cuerpo del modal - más específico */
.reportes-section .modal-body {
  padding: 0;
}

.reportes-section .modal-body h2 {
  color: #2d3748;
  margin-bottom: 25px;
  font-size: 1.5rem;
  text-align: center;
  font-weight: 600;
}

/* Formularios mejorados - más específicos */
.reportes-section .reporte-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reportes-section .form-group {
  display: flex;
  flex-direction: column;
}

.reportes-section .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.reportes-section .form-group label {
  color: #4a5568;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* Inputs mejorados - más específicos */
.reportes-section .form-group input[type="text"],
.reportes-section .form-group input[type="number"],
.reportes-section .form-group input[type="date"],
.reportes-section .form-group input[type="time"] {
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f7fafc;
  font-family: inherit;
}

.reportes-section .form-group input:focus {
  outline: none;
  border-color: #3182ce;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
  transform: translateY(-1px);
}

.reportes-section .form-group input:hover {
  border-color: #cbd5e0;
}

/* Checkboxes mejorados - más específicos */
.reportes-section .checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.reportes-section .checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #3182ce;
  cursor: pointer;
}

.reportes-section .checkbox-label {
  font-size: 0.95rem;
  color: #4a5568;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
}

/* Botón de reporte mejorado - más específico */
.reportes-section .btn-reportar {
  background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reportes-section .btn-reportar:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(49, 130, 206, 0.4);
  background: linear-gradient(135deg, #2c5282 0%, #2a4365 100%);
}

.reportes-section .btn-reportar:active {
  transform: translateY(0);
}

.reportes-section .btn-reportar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Animaciones - renombradas para evitar conflictos */
@keyframes reportes-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes reportes-fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reportes-section .banco-card {
  animation: reportes-fadeIn 0.6s ease forwards;
}

.reportes-section .banco-card:nth-child(1) {
  animation-delay: 0.1s;
}
.reportes-section .banco-card:nth-child(2) {
  animation-delay: 0.2s;
}
.reportes-section .banco-card:nth-child(3) {
  animation-delay: 0.3s;
}
.reportes-section .banco-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* Responsive Design mejorado - más específico */
@media (max-width: 768px) {
  .reportes-section {
    padding: 20px 15px;
  }

  .reportes-section .reportes-title {
    font-size: 2.2rem;
    flex-direction: column;
    gap: 10px;
  }

  .reportes-section .reportes-subtitle {
    font-size: 1rem;
  }

  .reportes-section .bancos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reportes-section .banco-card {
    padding: 25px 20px;
  }

  .reportes-section .modal-container {
    margin: 5px;
    max-height: 98vh;
    border-radius: 12px;
  }

  .reportes-section .modal-header {
    padding: 12px 15px 8px;
    border-radius: 12px 12px 0 0;
  }

  .reportes-section .modal-body {
    padding: 0;
  }

  .reportes-section .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .reportes-section .modal-body h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .reportes-section .reportes-title {
    font-size: 1.8rem;
  }

  .reportes-section .banco-info h3 {
    font-size: 1.3rem;
  }

  .reportes-section .banco-cuenta,
  .reportes-section .banco-clabe {
    font-size: 0.85rem;
  }

  .reportes-section .btn-reportar {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .reportes-section .form-group input[type="text"],
  .reportes-section .form-group input[type="number"],
  .reportes-section .form-group input[type="date"],
  .reportes-section .form-group input[type="time"] {
    padding: 12px 14px;
  }
}

/* Mejoras de accesibilidad - más específicas */
@media (prefers-reduced-motion: reduce) {
  .reportes-section *,
  .reportes-section *::before,
  .reportes-section *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible para navegación por teclado - más específico */
.reportes-section .banco-card:focus-visible,
.reportes-section .modal-close:focus-visible,
.reportes-section .btn-reportar:focus-visible,
.reportes-section .form-group input:focus-visible,
.reportes-section .checkbox-wrapper input:focus-visible {
  outline: 3px solid #3182ce;
  outline-offset: 2px;
}

/* Estados de carga - más específicos */
.reportes-section .loading {
  opacity: 0.7;
  pointer-events: none;
}

.reportes-section .loading .btn-reportar {
  background: #a0aec0;
  cursor: not-allowed;
}

/* Scrollbar personalizado para modal - más específico */
.reportes-section .modal-container::-webkit-scrollbar {
  width: 6px;
}

.reportes-section .modal-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.reportes-section .modal-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.reportes-section .modal-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
/* Added styles for image upload functionality */
/* Estilos para el área de subida de imágenes */
.reportes-section .image-upload-area {
  margin: 15px 0;
  padding: 20px;
  background: #f8fafc;
  border: 2px dashed #cbd5e0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.reportes-section .image-upload-area.active {
  border-color: #3182ce;
  background: #ebf8ff;
}

.reportes-section .upload-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.reportes-section .upload-box {
  text-align: center;
  padding: 30px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.reportes-section .upload-box:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

.reportes-section .upload-box i {
  font-size: 3rem;
  color: #718096;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.reportes-section .upload-box:hover i {
  color: #3182ce;
  transform: scale(1.1);
}

.reportes-section .upload-box p {
  color: #4a5568;
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
}

.reportes-section .upload-box input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Vista previa del archivo */
.reportes-section .file-preview {
  display: none;
  padding: 15px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.reportes-section .file-preview.show {
  display: block;
}

.reportes-section .file-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.reportes-section .file-details {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.reportes-section .file-icon {
  width: 40px;
  height: 40px;
  background: #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a5568;
  font-size: 1.2rem;
}

.reportes-section .file-text {
  flex: 1;
}

.reportes-section .file-name {
  font-weight: 600;
  color: #2d3748;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.reportes-section .file-size {
  color: #718096;
  font-size: 0.8rem;
}

.reportes-section .file-remove {
  background: #fed7d7;
  color: #e53e3e;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.reportes-section .file-remove:hover {
  background: #feb2b2;
  transform: translateY(-1px);
}

/* Vista previa de imagen */
.reportes-section .image-preview {
  margin-top: 15px;
  text-align: center;
}

.reportes-section .image-preview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Animaciones para mostrar/ocultar */
.reportes-section .image-upload-area {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reportes-section .image-upload-area.show {
  opacity: 1;
  max-height: 500px;
  transform: translateY(0);
}

/* Estados de drag and drop */
.reportes-section .upload-box.drag-over {
  border-color: #3182ce;
  background: #ebf8ff;
  transform: scale(1.02);
}

.reportes-section .upload-box.drag-over i {
  color: #3182ce;
  animation: reportes-bounce 0.6s ease infinite;
}

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

/* Responsive para área de subida */
@media (max-width: 768px) {
  .reportes-section .upload-box {
    padding: 20px 15px;
  }

  .reportes-section .upload-box i {
    font-size: 2.5rem;
  }

  .reportes-section .upload-box p {
    font-size: 0.9rem;
  }

  .reportes-section .file-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .reportes-section .file-details {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .reportes-section .image-upload-area {
    padding: 15px;
  }

  .reportes-section .upload-box {
    padding: 15px 10px;
  }

  .reportes-section .upload-box i {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .reportes-section .upload-box p {
    font-size: 0.85rem;
  }
}
