
.container_2 {
            max-width: 80%;
            margin: 0 auto;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            padding: 20px;
        }
   .header {
            background: linear-gradient(90deg, #1A535C, #578990);
            color: white;
            padding: 20px;
            text-align: center;
            font-size: 1.5em;
            font-weight: bold;
            border-radius: 10px 10px 0 0;
            margin-bottom: 20px;
        }	

table.dataTable {
            width: 100%;
            margin: 0 auto;
            clear: both;
            border-collapse: collapse;
        }
        th, td {
            padding: 15px;
            text-align: center;
        }
        table.dataTable thead th {
            background-color: #f8f9fa;
            color: #555;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 1.10em;
			text-align: center;
        }
        table.dataTable tbody td {
			font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-size: 1.05em;
            line-height: 1.5;
            border-bottom: 1px solid #e0e0e0;
            word-wrap: break-word;
        }
        table.dataTable tbody tr:hover {
            background-color: #f1f3f5;
        }
        .section {
            font-weight: bold;
            color: #007bff;
            margin: 10px 0;
            background-color: #e7f1ff;
            padding: 5px 10px;
            border-left: 4px solid #007bff;
        }
        .summary {
            padding: 10px;
            background-color: #f8f9fa;
            border-left: 4px solid #28a745;
            margin: 10px 0;
            font-size: 0.9em;
            line-height: 1.6;
            color: #444;
            word-wrap: break-word;
            max-width: 100%;
        }
        .dataTables_wrapper .dataTables_filter input {
            border: 1px solid #ccc;
            padding: 5px;
            border-radius: 5px;
            margin-left: 10px;
        }
        .dataTables_wrapper .dataTables_length select {
            border: 1px solid #ccc;
            padding: 5px;
            border-radius: 5px;
        }
        table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before,
        table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before {
            display: none;
        }
        table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] td:first-child,
        table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] th:first-child {
            padding-left: 30px;
        }
        table.dataTable tr.dtrg-group td {
            background-color: #f9f9f9;
            font-weight: bold;
        }
        table.dataTable tr.dtrg-level-0 td {
            padding-top: 0;
        }
        table.dataTable tr.dtrg-group.dtrg-level-0 td {
            background-color: #e7f1ff;
            padding-top: 10px;
        }
        .child-table {
            width: 100%;
            margin: 0;
            border: none;
        }
        .child-table td {
            padding: 5px 10px;
            text-align: left;
            border: none;
            word-wrap: break-word;
            max-width: 300px;
        }
        @media (max-width: 768px) {
            .header {
                font-size: 1.2em;
                padding: 15px;
            }
            th, td {
                padding: 10px;
                font-size: 0.85em;
            }
            .dataTables_wrapper .dataTables_length,
            .dataTables_wrapper .dataTables_filter {
                text-align: center;
                margin-bottom: 10px;
            }
            .child-table td {
                max-width: 200px;
            }
        }

		/* From Uiverse.io by Progee45 */ 
.fancy-button {
  display: inline-block;
  padding: 5px 10px;
  border: none;
  background-color: #ff4081;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}

.fancy-button:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  transform: skewX(-30deg);
  transition: left 0.3s ease-in-out;
}
		
.fancy-button--alt {
  background-color: #9b9b9b; /* Color diferente, por ejemplo, azul */
}

.fancy-button:hover {
  transform: scale(1.1);
}

.fancy-button:hover:before {
  left: 100%;
}
    /* Contenedor principal */
        .date-selector {
            display: flex;
            gap: 20px;
            max-width: 420px;
            margin: 40px auto;
            font-family: 'Roboto', sans-serif;
            padding: 20px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 255, 0.9));
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            align-items: flex-end;
        }

        .date-selector2 {
            display: flex;
            flex-direction: column;
            gap: 12px; /* Espacio entre los campos */
            max-width: 420px;
            margin: 40px auto;
            font-family: 'Roboto', sans-serif;
            padding: 20px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 255, 0.9));
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            align-items: flex-end;
        }

        /* Estilo base para los select */
        .date-selector select {
            padding: 14px 16px;
            font-size: 16px;
            border: none;
            border-radius: 12px;
            background: linear-gradient(145deg, #ffffff, #f0f0f0);
            color: #2d3748;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            outline: none;
            width: 100%;
            box-sizing: border-box;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            cursor: pointer;
            box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05), inset -2px -2px 5px rgba(255, 255, 255, 0.7);
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
        }

        /* Efecto hover para select */
        .date-selector select:hover {
            background: linear-gradient(145deg, #f7fafc, #edf2f7);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
        }

        /* Efecto focus para select */
        .date-selector select:focus {
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.3), 0 6px 20px rgba(0, 0, 0, 0.15);
            transform: translateY(-1px);
        }

        /* Estilo para el botón de búsqueda */
        .date-selector button {
            padding: 14px;
            font-size: 16px;
            border: none;
            border-radius: 12px;
            background: linear-gradient(145deg, #1A535C, #578990);
            color: #ffffff;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            width: 60px;
            height: 48px;
        }

        /* Ícono de lupa en el botón */
        .date-selector button svg {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: #ffffff;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        /* Efecto hover para el botón */
        .date-selector button:hover {
            background: linear-gradient(145deg, #4299e1, #3182ce);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
            transform: translateY(-2px);
        }

        /* Efecto active para el botón */
        .date-selector button:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        /* Etiquetas con animación */
        .date-selector label {
            font-size: 14px;
            color: #4a5568;
            margin-bottom: 10px;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        /* Animación para la etiqueta cuando el select tiene foco */
        .date-selector select:focus + label {
            color: #3182ce;
        }

        /* Contenedor para cada select con etiqueta */
        .date-selector .input-group {
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        /* Contenedor para el botón */
        .date-selector .button-group {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }

        /* Estilo para el mensaje de error */
        .error-message {
            max-width: 420px;
            margin: 20px auto;
            font-family: 'Roboto', sans-serif;
            font-size: 16px;
            color: #e53e3e;
            text-align: center;
            padding: 10px;
            border-radius: 8px;
            background: #fefcbf;
            display: none;
        }

        /* Estilo para el iframe */
        .result-iframe {
            width: 90vw; /* 90% del ancho del viewport */
            max-width: 90vw; /* Asegura que no exceda el 90% */
            margin: 20px auto; /* Centrado horizontalmente */
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: #ffffff;
            display: none;
            height:  700px; /* Altura fija, ajustable */
        }

        /* Estilo responsivo */
        @media (max-width: 600px) {
            .date-selector {
                flex-direction: column;
                gap: 16px;
                max-width: 100%;
                padding: 16px;
                align-items: stretch;
            }

            .date-selector button {
                width: 100%;
                height: 48px;
            }

            .error-message {
                max-width: 100%;
                margin: 20px 16px;
            }

            .result-iframe {
                width: 100%; /* En móviles, usa el ancho completo del contenedor */
                max-width: 100%;
                margin: 20px 0;
                height: 400px; /* Altura ajustada para móviles */
            }
        }
