
        /* Estilos básicos para la página */
        body { font-family: sans-serif; margin: 0; padding: 0; background-color: gray; color: darkblue; }

        h1 { text-align: center; color: #558; margin-bottom: 20px; }

        /* Estilos para los contenedores y elementos */
        .container {

            width: 98%; /* Aumentado para ocupar más espacio */
/*          max-width: 1200px; */
            margin: 20px auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }


        /* Estilos para tarjetas */
        .cardContainer {

            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            grid-gap: 20px;
            margin: 20px auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;

        }


        .card-title {
            font-size: 1.2em;
            margin-bottom: 10px;
            color: #555
        }

        .kpi-value {
            font-size: 2em;
            font-weight: bold;
            margin-bottom: 5px;
            color: #555;
        }

        .kpi-label {
            color: #777;
        }

       /* Estilos específicos para la tarjeta */
        .tarjeta {
            text-align: center;
            justify-content: space-around; /* Espacio entre los gráficos */
            margin-top: 30px;
            color: #555;;
            width: 100%;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;

            box-sizing: border-box;/* Incluir padding y border en el ancho */
            margin: 0 10px; /* Margen horizontal para separar los gráficos */
        }




/*    Estilos generales      */

        label { display: block;
            margin-bottom: 5px;
            color: #555; }

        input[type="text"], input[type="number"] {
            width: 98%;
            padding: 8px;
            margin-bottom: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box; }

        button, select  {
            width: 30%; /* Aumentado para ocupar más espacio */
            max-width: 1200px;
            margin: 20px auto;
            padding: 10px;

            background-color: gray;
            color: white;
            /*padding: 10px 15px;*/
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.3s ease;

        }



 button:hover, select:hover { background-color: darkgray; }
        /*#filtros { margin-top: 15px; }*/

/* Estilos para tablas -No se usan */
       .table-container {
           width: fit-content


            order-collapse: collapse;
            width: 98%; /* Aumentado para ocupar más espacio */


            padding: 20px;

            border-radius: 8px;

        }

        /* Estilos para la tabla */
        table {


            border-collapse: collapse;

            box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);


        }

        th, td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left; }

        th { background-color: gray;
            color: white;
            padding-top: 12px;
            padding-bottom: 12px;
            text-align: left; }



        /* Estilos para  los gráficos */
        .graficos-container {
            display: flex; /* Cambiado a flexbox */
            justify-content: space-around; /* Espacio entre los gráficos */
            margin-top: 30px;
            width: 100%; /* Ocupar todo el ancho del contenedor */
        }


        .grafico{
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            width: 33%; /* Ancho para cada gráfico (aproximadamente) */
            box-sizing: border-box; /* Incluir padding y border en el ancho */
            margin: 0 10px; /* Margen horizontal para separar los gráficos */
        }

        .grafico:hover, .tarjeta:hover {
            transform: translateY(-5px);
        }

        .grafico h3, .tarjeta h3 {
            color: #0056b3;
            margin-top: 0;
            margin-bottom: 10px;
            font-size: 1.2em;
        }

        /* Estilos para el canvas de los gráficos */
        canvas {
            width: 100% !important; /* Asegura que el gráfico se ajuste al contenedor */
            max-height: 300px; /* Altura máxima para los gráficos */
        }



        /* Estilos para el pie de página */
        .footer {
            text-align: center;
            margin-top: 30px;
            padding: 20px;
            background-color: #e9ecef;
            border-top: 1px solid #ced4da;
            font-size: 0.9em;
            color: #6c757d;
        }

        .footer a {
            color: #007bff;
            text-decoration: none;
        }

        .footer a:hover {
            text-decoration: underline;
        }

        /* Estilo para el botón de regreso */
        .back-button {
            display: block;
            margin: 20px auto;
            padding: 10px 15px;
            background-color: #28a745; /* Verde */
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            text-decoration: none;
            width: fit-content;
            transition: background-color 0.3s ease;
        }

        .back-button:hover {
            background-color: #218838; /* Verde más oscuro */
        }


        /* Goal Completion Summary (Progress Bars) */
#goal-completion {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #555;
    text-align: left; /* Align labels to the left */
}

#goal-completion:hover {
    transform: translateY(-5px); /* Apply hover effect */
}

#goal-completion h2 {
    color: #0056b3;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em;
}

#goal-completion .progress-item {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center; /* Vertically align label and progress bar */
}

#goal-completion label {
    display: inline-block;
    width: 220px; /* Adjust as needed for label width */
    font-weight: bold;
    color: #555;
    margin-right: 10px;
}

#goal-completion progress {
    width: 60%; /* Adjust as needed */
    height: 15px; /* Adjust as needed */
    appearance: none; /* Remove default styling */
    -webkit-appearance: none; /* For Safari */
    border: none;
    background-color: #eee;
    border-radius: 5px;
}

/* Style the progress bar fill */
#goal-completion progress::-webkit-progress-value {
    background-color: #4CAF50; /* Green */
    border-radius: 5px;
}

#goal-completion progress::-moz-progress-bar {
    background-color: #4CAF50; /* Green */
    border-radius: 5px;
}

#goal-completion span {
    margin-left: 0.5rem;
    color: #777;
}
