﻿.rz-p-2.body-container{
    padding: 0 !important;
}

.rns-h-input {
    /* CRITICAL: Disable transitions to stop the "ghosting" lag on iOS */
    transition: none !important;
    animation: none !important;

    /* Ensure no heavy blur effects on the input itself */
    backdrop-filter: none !important;
    box-shadow: none !important;

    /* Optional: Ensure text rendering is optimized */
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0);
}

@media (max-width: 1024px) {
    /* Remplacez .rn-btn-rainbow par la classe réelle générée par votre RnButton */
    [class*="Rainbow"], .rns-button-rainbow {
        animation: none !important;
        background-size: 100% !important; /* Fige le dégradé */
        transition: none !important;
        border: none !important;
    }
}

.rns-button-rainbow {
    /* Dit au navigateur de préparer le GPU pour ce changement */
    will-change: background-position;

    /* Hack pour forcer le GPU sur iOS */
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
}