/* Estilos compartidos para las páginas de reportes */

/* Estilos para el contenedor principal */
.reporte-container {
  padding: 1.5rem;
  background-color: white;
  max-width: 100%;
  margin: 0 auto;
}

/* Estilos para títulos */
.reporte-titulo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1e40af; /* blue-800 */
  margin-bottom: 0.5rem;
}

.reporte-subtitulo {
  color: #4b5563; /* gray-600 */
  margin-bottom: 1rem;
}

/* Estilos para tarjetas/paneles */
.reporte-panel {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Estilos para filtros */
.reporte-filtros {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .reporte-filtros {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Estilos para campos de formulario */
.reporte-campo {
  margin-bottom: 1rem;
}

.reporte-etiqueta {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151; /* gray-700 */
  margin-bottom: 0.25rem;
}

.reporte-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db; /* gray-300 */
  border-radius: 0.375rem;
  outline: none;
}

.reporte-input:focus {
  border-color: #3b82f6; /* blue-500 */
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.reporte-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db; /* gray-300 */
  border-radius: 0.375rem;
  background-color: white;
  outline: none;
}

.reporte-select:focus {
  border-color: #3b82f6; /* blue-500 */
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

/* Estilos para botones */
.reporte-botones {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

.reporte-boton {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.reporte-boton-primario {
  background-color: #1d4ed8; /* blue-700 */
  color: white;
  border: none;
}

.reporte-boton-primario:hover {
  background-color: #1e40af; /* blue-800 */
}

.reporte-boton-secundario {
  background-color: #e5e7eb; /* gray-200 */
  color: #374151; /* gray-700 */
  border: none;
}

.reporte-boton-secundario:hover {
  background-color: #d1d5db; /* gray-300 */
}

.reporte-boton-verde {
  background-color: #059669; /* green-600 */
  color: white;
  border: none;
}

.reporte-boton-verde:hover {
  background-color: #047857; /* green-700 */
}

.reporte-boton-morado {
  background-color: #7c3aed; /* purple-600 */
  color: white;
  border: none;
}

.reporte-boton-morado:hover {
  background-color: #6d28d9; /* purple-700 */
}

/* Estilos para tablas */
.reporte-tabla {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.reporte-tabla th {
  background-color: #f9fafb; /* gray-50 */
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid #e5e7eb; /* gray-200 */
}

.reporte-tabla td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb; /* gray-200 */
}

.reporte-tabla tbody tr:nth-child(even) {
  background-color: #f9fafb; /* gray-50 */
}

.reporte-tabla-footer {
  background-color: #eff6ff; /* blue-50 */
  font-weight: 600;
}

/* Estilos para carga y mensajes */
.reporte-cargando {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10rem;
}

.reporte-mensaje {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.reporte-mensaje-error {
  background-color: #fee2e2; /* red-100 */
  color: #b91c1c; /* red-700 */
}

.reporte-mensaje-info {
  background-color: #dbeafe; /* blue-100 */
  color: #1e40af; /* blue-700 */
}

.reporte-mensaje-exito {
  background-color: #d1fae5; /* green-100 */
  color: #047857; /* green-700 */
}

/* Estilos para pestañas */
.reporte-tabs {
  display: flex;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.reporte-tab {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
}

.reporte-tab-activa {
  background-color: #1e40af; /* blue-800 */
  color: white;
}

.reporte-tab-inactiva {
  color: #000000;
}

.reporte-tab-inactiva:hover {
  background-color: #f3f4f6; /* gray-100 */
}

/* Estilos para impresión */
@media print {
  .print-hidden {
    display: none !important;
  }
  
  .reporte-container {
    padding: 0;
  }
  
  .reporte-panel {
    box-shadow: none;
    border: 1px solid #e5e7eb;
  }
} 