/* Colors */
:root {
    --color-default: #0a0d13;
    --color-primary: #0d42ff;
    --color-secondary: #0e1d34;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* outline: 1px solid red; */
}

.btn__transparent {
    background-color: transparent;
    border-color: transparent;
    color: inherit;
}

.btn__hover__gray:hover {
    background-color: #ccc;
}

.select__wfixed {
    width: 130px; /* Tamaño fijo que desees */
}

.chart__container {
    width: 100%;
    height: 180px;
    overflow-y: auto;
    overflow-x: hidden;
}
.chart__container__scrollable::-webkit-scrollbar {
    width: 6px; /* Ancho del scroll */
}

.chart__container__scrollable::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Color de fondo del track */
}

.chart__container__scrollable::-webkit-scrollbar-thumb {
    background-color: #cccccc; /* Color del thumb (barra) */
    border-radius: 5px; /* Borde redondeado del thumb */
}

.chart__container__scrollable::-webkit-scrollbar-thumb:hover {
    background-color: #888888; /* Color del thumb al pasar el cursor sobre él */
}

/* Cambiar las propiedades por defecto del tooltip */
.tooltip-inner {
    max-width: 300%; /* Cambia el valor según tus necesidades */
    white-space: normal; /* Permite que el contenido se ajuste a múltiples líneas */

    /* background-color: #ff0000; /* Cambia el color de fondo a rojo (#ff0000) */
    /* color: #ffffff; /* Cambia el color del texto a blanco */
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8); /* Color blanco con opacidad 80% */
    transition: all 0.6s ease-out;
    width: 100%;
    height: 100vh;
}

#preloader:before,
#preloader:after {
    content: "";
    position: absolute;
    border: 4px solid var(--color-primary);
    border-radius: 50%;
    animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
    animation-delay: -0.5s;
}

@keyframes animate-preloader {
    0% {
        width: 10px;
        height: 10px;
        top: calc(50% - 5px);
        left: calc(50% - 5px);
        opacity: 1;
    }

    100% {
        width: 72px;
        height: 72px;
        top: calc(50% - 36px);
        left: calc(50% - 36px);
        opacity: 0;
    }
}
/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
    padding: 30px;
}

.error-404 h1 {
    font-size: 180px;
    font-weight: 700;
    color: #4154f1;
    margin-bottom: 0;
    line-height: 150px;
}

.error-404 h2 {
    font-size: 24px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 30px;
}

.error-404 .btn {
    background: #51678f;
    color: #fff;
    padding: 8px 30px;
}

.error-404 .btn:hover {
    background: #3e4f6f;
}

@media (min-width: 992px) {
    .error-404 img {
        max-width: 50%;
    }
}

/*--------------------------------------------------------------
# Activity
--------------------------------------------------------------*/
.card__activity {
    font-size: 14px;
}

.card__activity .activity-item .activite-label {
    color: #888;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 64px;
}

.card__activity .activity-item .activite-label::before {
    content: "";
    position: absolute;
    right: -11px;
    width: 4px;
    top: 0;
    bottom: 0;
    background-color: #eceefe;
}

.card__activity .activity-item .activity-badge {
    margin-top: 3px;
    z-index: 1;
    font-size: 11px;
    line-height: 0;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #fff;
    flex-grow: 0;
}

.card__activity .activity-item .activity-content {
    padding-left: 10px;
    padding-bottom: 20px;
}

.card__activity .activity-item:first-child .activite-label::before {
    top: 5px;
}

.card__activity .activity-item:last-child .activity-content {
    padding-bottom: 0;
}


/*--------------------------------------------------------------
# Activity scroll y diseño
--------------------------------------------------------------*/
@media screen and (max-width: 1366px) and (max-height: 768px), (max-width: 992px) {
    .container__scrollable {
        max-height: 550px;
        overflow-y: auto;
    }

    .container__scrollable::-webkit-scrollbar {
        width: 6px; /* Ancho del scroll */
    }

    .container__scrollable::-webkit-scrollbar-track {
        background-color: #f1f1f1; /* Color de fondo del track */
    }

    .container__scrollable::-webkit-scrollbar-thumb {
        background-color: #cccccc; /* Color del thumb (barra) */
        border-radius: 5px; /* Borde redondeado del thumb */
    }

    .container__scrollable::-webkit-scrollbar-thumb:hover {
        background-color: #888888; /* Color del thumb al pasar el cursor sobre él */
    }
}