/* === Importation de la police === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* === Police globale === */
body, html, h1, h2, h3, h4, h5, h6, p, a, .btn, .navbar, .table, input, textarea {
    font-family: 'Poppins', sans-serif !important;
}

/* === Couleurs personnalisées === */
.bg-warning,
.bg-info {
    background-color: #edae49;
}

span.tw-font-medium,
.todo-description.read-more.no-padding-left,
.tw-text-neutral-800 {
    color: #051367 !important;
}

/* === Menu latéral (side-menu) === */
/* État actif (parent) */
.admin #side-menu li.active > a:first-child,
.admin #side-menu li.active.open > a:first-child {
    background: transparent !important;
    color: #051367 !important;
    font-weight: 600 !important;
}

/* Survol du parent actif */
.admin #side-menu li.active.open > a:first-child:hover {
    color: #051367 !important;
}

/* Icône du parent actif */
.admin #side-menu li.active.open > a:first-child i.menu-icon {
    color: #051367 !important;
}

/* Sous-menu actif */
.admin #side-menu li.active li.active > a {
    background: #0057ff !important;
    color: #fff !important;
}

/* Projets épinglés (hover) */
#side-menu.nav>li.pinned_project:hover a {
    background: #0057ff !important;
    color: #ffffff !important;
}

#side-menu.nav>li.pinned_project:hover a h3,
#side-menu.nav>li.pinned_project:hover a {
    color: #ffffff !important;
}

/* === Menu Setup === */
/* État actif (parent) */
.admin #setup-menu li.active > a:first-child,
.admin #setup-menu li.active.open > a:first-child {
    background: transparent !important;
    color: #051367 !important;
    font-weight: 600 !important;
}

/* Survol du parent actif */
.admin #setup-menu li.active.open > a:first-child:hover {
    color: #051367 !important;
}

/* Icône du parent actif */
.admin #setup-menu li.active.open > a:first-child i.menu-icon {
    color: #051367 !important;
}

/* Sous-menu actif */
.admin #setup-menu li.active li.active > a {
    background: #0057ff !important;
    color: #fff !important;
}

/* === Menu mobile === */
@media (max-width: 768px) {
    .mobile-menu i,
    .mobile-menu .menu-icon,
    .mobile-menu svg {
        color: #fff !important;
        fill: #fff !important;
    }
}

/* Bouton cacher menu */
.admin button.hide-menu,
.admin button.hide-menu i,
.admin button.hide-menu svg {
    color: #fff !important;
    fill: #fff !important;
}

.admin button.hide-menu {
    background: transparent !important;
    border: none !important;
}

/* === Page de login === */
/* Overlay sombre sur l'image */
body.login_admin:before {
    content: " ";
    min-height: 100%;
    min-width: 100%;
    position: absolute;
}

/* Image de fond */
body.login_admin {
    background: url('https://jungle.badmonkey.fr/media/gradientbackground.png') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* Logo personnalisé */
body.login_admin .company-logo img {
    content: url('https://jungle.badmonkey.fr/uploads/company/904032f6b4ebe42c18b14d8f625513b1.png');
}

/* === Modales === */
.modal-content {
    border-radius: 2rem;
    border-width: 0px;
}

/* === Font Awesome (forcer la police) === */
.fa, .fas, .far, .fal, .fab {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
}