/* ========================================================================
   🎯 BOUTON CONTINUER LA FORMATION - DANS LA SIDEBAR
   Design moderne en VERT avec animation
   ======================================================================== */

.sidebar-continue-button-wrapper {
    padding: 0.75rem;
    margin: 0.75rem 0.75rem 1.5rem 0.75rem;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.sidebar-continue-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white !important;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Effet de brillance animé */
.sidebar-continue-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.sidebar-continue-btn:hover::before {
    left: 100%;
}

.sidebar-continue-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    text-decoration: none !important;
    color: white !important;
}

.sidebar-continue-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Texte du bouton */
.sidebar-continue-btn .btn-text {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* Flèche animée */
.sidebar-continue-btn .btn-arrow {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.sidebar-continue-btn:hover .btn-arrow {
    transform: translateX(3px);
}

/* ========================================================================
   🌟 ANIMATION DE PULSATION (pour attirer l'attention)
   ======================================================================== */

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
    }
}

.sidebar-continue-btn {
    animation: pulse-green 2s ease-in-out infinite;
}

.sidebar-continue-btn:hover {
    animation: none;
}

/* ========================================================================
   📱 RESPONSIVE
   ======================================================================== */

@media (max-width: 1200px) {
    .sidebar-continue-btn .btn-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .sidebar-continue-button-wrapper {
        padding: 0.625rem;
        margin: 0.625rem 0.625rem 1.25rem 0.625rem;
    }
    
    .sidebar-continue-btn {
        padding: 0.75rem 0.875rem;
        gap: 0.4rem;
    }
    
    .sidebar-continue-btn .btn-icon {
        font-size: 1.1rem;
    }
    
    .sidebar-continue-btn .btn-text {
        font-size: 0.8rem;
    }
    
    .sidebar-continue-btn .btn-arrow {
        font-size: 1.1rem;
    }
}

/* ========================================================================
   ✨ EFFETS SUPPLÉMENTAIRES
   ======================================================================== */

/* Effet ripple au clic */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* État focus pour l'accessibilité */
.sidebar-continue-btn:focus {
    outline: 3px solid rgba(16, 185, 129, 0.5);
    outline-offset: 2px;
}

/* Effet de brillance au chargement */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.sidebar-continue-button-wrapper {
    animation: fadeInScale 0.4s ease-out;
}

/* ========================================================================
   FIN DU FICHIER CSS
   ======================================================================== */
