/* css/style.css */
#magic-redirection-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2147483643; /* Juste en dessous de la valeur max d'AdSense (2147483647) */
}

#magic-redirection-banner {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Le reste du CSS reste identique */
.magic-redirection-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.magic-button {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.magic-button.accept {
    background-color: #276EF1;
    color: white;
}

.magic-button.reject {
    background-color: #f5f5f5;
    color: #333;
}

.magic-button:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    #magic-redirection-banner {
        width: 85%;
        padding: 20px;
    }
    
    .magic-redirection-buttons {
        flex-direction: column;
    }
    
    .magic-button {
        width: 100%;
        margin: 5px 0;
    }
}