/* --- CONFIGURATION MOBILE --- */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Supprime le flash gris au clic sur iOS */
}

body {
    background-color: #f8fafc; /* Gris très léger */
    color: #1e293b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    line-height: 1.5;
}

/* Empêche le zoom automatique sur iPhone quand on clique sur l'input */
input[type="number"] {
    font-size: 16px !important;
}

/* --- COMPOSANTS --- */
.card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* --- MODAL (POP-UP) --- */
#modal {
    z-index: 1000;
}

.modal-content {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- BOUTONS --- */
button {
    cursor: pointer;
    user-select: none;
}

button:active {
    transform: scale(0.96); /* Effet d'appui sur bouton */
}

/* --- HISTORIQUE --- */
#listeActivites {
    scrollbar-width: none; /* Cache la scrollbar sur Firefox */
}

#listeActivites::-webkit-scrollbar {
    display: none; /* Cache la scrollbar sur Chrome/Safari */
}

/* Styles pour les lignes de l'historique */
.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f1f5f9;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 8px;
}


