﻿/* Bouton retour style app mobile */
.yaaka-back-btn {
    position: fixed;
    top: 80px;
    left: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    border: none;
    outline: none;
    text-decoration: none;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.yaaka-back-btn:hover {
    transform: scale(1.1);
}

.yaaka-back-btn:active {
    transform: scale(0.95);
}

.yaaka-back-btn svg {
    width: 2.2em;
    height: 2.2em;
    fill: #FFFFFF;
}

/* Animation d'entrée */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.yaaka-back-btn {
    animation: slideInLeft 0.3s ease-out;
}

/* Masquer le bouton quand on est tout en haut (optionnel) */
.yaaka-back-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-20px);
}

/* Responsive - plus petit sur mobile */
@media (max-width: 768px) {
    .yaaka-back-btn {
        width: 35px;
        height: 35px;
        top: 80px;
        right: 30px;
    }
    
    .yaaka-back-btn svg {
        width: 35px;
        height: 35px;
    }
}
