@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Aldrich&family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

/* General Font Style */
body {
    background-color: #ffffff;
}

/*
072934
2e3e66
414656
eb7e20
*/
.dropdown-menu :hover{
    background-color: #eb7e20;
    color: #ffffff;
}

.sidebar .nav-item .nav-link i {
    color: #414656; /* Color de los iconos de la sidebar */
}

.sidebar-dark .sidebar-brand {
    color: var(--bs-CR-gray-dark); /* Color del texto del sidebar */
}

#wrapper #content-wrapper {
    background-color: #ffffff;
}

.text-center .btn {
    background-color: #00b24d; /* Fondo del botón circular */
}

/* Bootstrap Overrides for Colors */
.bg-gradient-primary {
    background-image: linear-gradient(180deg, #eb7e20 1%, #eb7e20 100%); /* Color de fondo del gradiente */
}



.navbar-dark .navbar-nav .nav-link {
    color: #414656; /* Color de los enlaces en la barra de navegación oscura */
}

.card {
    --bs-card-border-color: #e3e6f0; /* Color del borde de la tarjeta */
    --bs-card-cap-bg: #eb7e20; /* Color de fondo de la tarjeta, encabezado */
    color : #414656; /* Color del texto de la tarjeta */
    --bs-card-bg: #ffffff; /* Color de fondo de la tarjeta */
    padding: 0px;
}

.sidebar-dark #sidebarToggle:hover {
    color: #eb7e20; /* Color del icono del sidebarToggle al pasar el mouse */
}

.sidebar-dark.toggled #sidebarToggle::after {
    color: #eb7e20; /* Color del icono del sidebarToggle al estar activo */
}

/* Estilos para gráficas de dona */
.doughnut-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.doughnut-chart {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    height: 350px;
    position: relative;
}

.doughnut-chart canvas {
    max-height: 100%;
    max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .doughnut-container {
        flex-direction: column;
    }
    
    .doughnut-chart {
        min-width: 250px;
        max-width: 100%;
        height: 300px;
    }
}

/* Estilos para la clave de colores */
.color-key-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
    padding: 10px 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.color-key-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'hedliner', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.color-label {
    color: #495057;
    font-weight: 600;
}

/* Responsive para la clave de colores */
@media (max-width: 768px) {
    .color-key-container {
        flex-direction: column;
        align-items: center;
    }
    
    .color-key-section {
        min-width: 200px;
        width: 100%;
    }
    
    .color-key-items {
        align-items: center;
    }
    
    .color-key-item {
        justify-content: center;
        text-align: center;
    }
}

