/* Masquer le "Made with Manus" avec des sélecteurs plus forts */
a[href*="manus"],
a[href*="Manus"],
a[href*="made-with"],
a[href*="Made with"],
a[href*="Create my website"],
a:contains("Made with Manus"),
a:contains("Manus"),
a:contains("Create my website"),
div:has(> a[href*="manus"]),
div:has(> a:contains("Manus")),
.manus-branding,
#manus-branding,
.manus-badge,
#manus-badge,
[class*="manus"],
[id*="manus"],
[class*="Manus"],
[id*="Manus"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    bottom: -9999px !important;
    z-index: -9999 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
}

/* Masquer également les éléments qui pourraient contenir le badge */
body::after,
body::before,
body > div:last-child,
body > div:last-of-type,
body > div:nth-last-child(1),
body > div:nth-last-child(2),
body > div:nth-last-child(3) {
    display: none !important;
    content: none !important;
}

/* Masquer les tooltips et dialogues Manus */
.tooltip-dialog,
div[class*="manus"],
div[id*="manus"],
div[class*="Manus"],
div[id*="Manus"] {
    display: none !important;
}

/* Masquer les scripts et iframes qui pourraient injecter le badge */
script[src*="manus"],
iframe[src*="manus"],
script[src*="Manus"],
iframe[src*="Manus"] {
    display: none !important;
}

/* Style pour remplacer le contenu du footer */
.footer-bottom {
    position: relative;
}

.footer-bottom::after {
    content: "© 2024 SelfieSmiles - Tous droits réservés";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

/* Masquer les éléments ajoutés dynamiquement */
@keyframes hideManus {
    from { opacity: 1; }
    to { opacity: 0; display: none; visibility: hidden; }
}

body * {
    animation-name: hideManus;
    animation-duration: 0.1s;
    animation-fill-mode: forwards;
    animation-play-state: paused;
}

body *:has(a[href*="manus"]),
body *:has(a[href*="Manus"]),
body *:has(a:contains("Manus")),
body *:has(a:contains("Made with")) {
    animation-play-state: running !important;
}

