/**
 * Styles pour la navigation entre chapitres dans les modals
 * Ajoutés pour améliorer l'UX lors du passage d'un chapitre à l'autre
 */

/* Bouton pour passer au chapitre suivant */
.btn-next-chapter {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    border: none !important;
    padding: 14px 32px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    fontSize: 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

.btn-next-chapter:hover {
    background: linear-gradient(135deg, #059669, #047857) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4) !important;
}

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

/* Animation d'entrée pour le bouton */
.btn-next-chapter {
    animation: slideInFromRight 0.6s ease-out;
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Style pour distinguer visuellement des autres boutons */
.modal-actions .btn-next-chapter {
    position: relative;
    overflow: hidden;
}

.modal-actions .btn-next-chapter::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.6s;
}

.modal-actions .btn-next-chapter:hover::before {
    left: 100%;
}

/* Responsive */
@media (max-width: 480px) {
    .btn-next-chapter {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
}
