/* make the customizations */
$theme-colors: ();

$font-size-base: 0.8rem;
$line-height-base: 1.35;

/* import bootstrap to set changes */
@import '~bootstrap/scss/bootstrap';

/* Styles custom pour AG Grid */
@import './ag-grid-custom.scss';

/* Styles pour Tippy */
@import './tippy.scss';

/* Styles pour React Toastify */
@import '~react-toastify/dist/ReactToastify.css';

/* --------------------------------------------------------------------- 
   RESET règles merdiques du design system de l'état 
   TODO AKA idéalement on ne devrait pas avoir à faire ça
*/

ul > li:before {
    display: none !important;
}

p {
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}
p + p {
    margin-top: 0.5em;
}

.fr-header__body-row {
    margin: 0;
}

/* --------------------------------------------------------------------- */

a {
    text-decoration: none;

    &.withIcon {
        display: inline-flex;
        align-items: center;

        & > svg {
            margin: 0 0.25em 0 0;
            user-select: none;
        }
    }

    &:hover {
        text-decoration: underline;
    }
}

.donneeAbsente {
    color: #999;
}

.Chargement {
    height: 100%;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;

    .circle {
        height: 50px;
        width: 50px;
        border-radius: 50%;
        margin: 0 25px;
        animation: scaleIn 2s infinite ease-in-out;
        background: #dfe2e6;
    }
}

/* --- Onglets --- */
.react-tabs {
    .react-tabs__tab {
        font-size: 1rem;
        font-weight: 500;

        &.react-tabs__tab--selected {
        }
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(1, 1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5, 1.5);
        opacity: 0.75;
    }
    100% {
        transform: scale(1, 1);
        opacity: 1;
    }
}
