/* BUTTONS LAYOUT */





.btn-connect {
    width: 180px;
    height: 40px;
    padding: 0;
    border: 2px solid #2C123B;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    color: #2C123B;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.btn-connect:hover {
    background: #2C123B;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 18, 59, 0.3);
}


/* small */
.btn-small {
    width: 200px;
    height: 40px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #F5F5F7;
    color: #2C123B;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    font-weight: 600;
}

/* Contour animé avec gradient au survol uniquement */
.btn-small::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 40px;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}



/* État désactivé des boutons */
.btn-small:disabled,
.btn-small.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-small:disabled::before,
.btn-small.disabled::before {
    opacity: 0;
    animation-play-state: paused;
}

.btn-small::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 38px;
    background-color: #F5F5F7;
    z-index: -1;
    transition: background-color 0.3s ease;
}

.btn-small:hover::before {
    /* Au survol, gradient complet animé */
    background: linear-gradient(30deg, #FF31D2, #63eafc, #FF31D2);
    background-size: 200% 200%;
    animation: gradient-border-flow 3s ease infinite;
    opacity: 1;
}

@keyframes gradient-border-flow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.btn-small:hover {
    color: #2C123B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 49, 210, 0.2);
}

.btn-small:hover::after {
    background-color: #ffffff;
}
