.permis-online-container {
    text-align: center;
}
.permis-online-button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #02011b, #660844f2);
    border: none;
    color: rgba(255, 255, 255, 1) !important;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    margin: 4px 2px;
    cursor: pointer;
    animation: float 2s ease-in-out infinite, glowing 2s infinite;
    border-radius: 14px;
    box-shadow: 0px 13px 24px -7px #071931;
    transition: all 0.3s ease-out;
    font-weight: 900;
    transform: perspective(1px) translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    z-index: 2; /* Added to place the text above the pseudo elements */
	filter: brightness(100%);
}

.permis-online-button::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(125deg, rgba(255,255,255,0) 0%, rgba(227,22,244,0.15) 50%, rgba(255,255,255,0) 100%);
    animation: shimmer 1.5s infinite;
    z-index: 1; /* Added to place the shimmer effect above the image and below the text */
}

.permis-online-button::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: 0; /* Added to place the dark background and image below everything else */
}

@keyframes float {
    0% {
        box-shadow: 0px 13px 24px -7px #071931;
        transform: translatey(0px);
    }
    50% {
        box-shadow: 0px 50px 58px -7px #071931;
        transform: translatey(-10px);
    }
    100% {
        box-shadow: 0px 13px 24px -7px #071931;
        transform: translatey(0px);
    }
}

@keyframes glowing {
  0% { background-color: #33274f; box-shadow: 0 0 5px #33274f, 0 0 10px #33274f, 0 0 15px #33274f, 0 0 20px #33274f; }
  50% { background-color: #071931; box-shadow: 0 0 10px #ffae00, 0 0 20px #f416a3, 0 0 30px #ffae00, 0 0 40px #071931; }
  100% { background-color: #33274f; box-shadow: 0 0 5px #33274f, 0 0 10px #33274f, 0 0 15px #33274f, 0 0 20px #33274f; }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

body .permis-online-message-box {
    display: none;
	position: relative;
    top: -20px;
    max-width: 95%;
    padding: 10px;
    background-color: #0f172a;
    border: 1px solid #2b6cb0;
    color: #F5F5F5!important;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease-out;
    opacity: 0.9;
    font-size: 14px;
    text-align: center;
    margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 5px;
	margin-top: 5px;

    /* Degrade plus colore et lumineux */
    background: linear-gradient(90deg, rgba(23,31,56,1) 0%, rgba(51,39,79,1) 50%, rgba(23,31,56,1) 100%);

    /* Effet de brillance */
    box-shadow: 0px 10px 20px rgba(255, 255, 255, 0.2),
                inset 0px 0px 0px 0.5px rgba(255, 255, 255, 0.4);

    /* Bordure lumineuse */
    border: 1px solid rgba(255, 255, 255, 0.3);

    /* Effet neon */
    filter: drop-shadow(0 0 0.75rem #33274f);
}
