/* Footer de l'application - Affichage des versions */

.app-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 32px;
    line-height: 32px;
    z-index: 99;
    background: rgba(248, 249, 250, 0.95);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 0.75rem;
    color: #6c757d;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.app-footer:hover {
    background: rgba(248, 249, 250, 1);
}

.version-badge {
    display: inline-block;
    margin: 0 4px;
    padding: 2px 8px;
    cursor: default;
    font-weight: 500;
    transition: all 0.2s ease;
}

.version-badge:hover {
    color: #495057;
}

.version-separator {
    color: #dee2e6;
    font-weight: 300;
}

/* Ajuster le padding du body pour éviter que le contenu soit caché sous le footer */
body {
    padding-bottom: 32px;
}

/* Media queries pour mobile */
@media (max-width: 576px) {
    .app-footer {
        height: auto;
        min-height: 32px;
        padding: 8px 5px;
        font-size: 0.7rem;
        flex-wrap: wrap;
        line-height: 1.2;
    }
    
    .version-badge {
        padding: 2px 6px;
        margin: 0 2px;
    }
    
    body {
        padding-bottom: 50px;
    }
}

/* Tablettes */
@media (min-width: 577px) and (max-width: 768px) {
    .app-footer {
        font-size: 0.72rem;
    }
}

/* Animation d'apparition */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.app-footer {
    animation: slideUp 0.3s ease-out;
}

/* Style pour les indicateurs de statut */
.app-footer .version-badge {
    -webkit-user-select: none;
    user-select: none;
}

/* Empêcher le footer de masquer le scroll-to-top button */
.scroll-to-top-btn {
    bottom: 45px !important;
}

@media (max-width: 768px) {
    .scroll-to-top-btn {
        bottom: 60px !important;
    }
}
