:root {
    --primary: #2c3e50;
    --accent: #27ae60;
    --bg: #f4f7f6;
    --text: #333;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
    margin: 0; padding: 0; color: var(--text);
}

.container { padding: 15px; max-width: 500px; margin: auto; }

/* Formulaires */
input {
    width: 100%; padding: 12px; margin: 8px 0;
    border: 1px solid #ccc; border-radius: 8px;
    box-sizing: border-box; font-size: 16px; /* Évite le zoom auto sur iPhone */
}


/* Listes de l'annuaire */
.person-card {
    background: white; border-radius: 10px; padding: 15px;
    margin-bottom: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: block; text-decoration: none; color: inherit;
    border-left: 5px solid var(--accent);
}

.person-name { font-weight: bold; font-size: 1.1em; color: var(--primary); }
.person-promo { font-size: 0.9em; color: #666; }

/* Badge genre / info */
.badge {
    display: inline-block; padding: 2px 8px;
    border-radius: 12px; font-size: 0.8em; background: #eee;
}

.card {
    margin-bottom: 15px;
    border: 1px solid #eee;
}

h3 {
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}


button {
    width: 100%; background-color: var(--primary); color: white;
    padding: 14px; border: none; border-radius: 8px;
    font-size: 16px; font-weight: bold; cursor: pointer;
}

.btn-group {
    display: flex;
    gap: 10px;       /* Espace entre les boutons */
    margin-top: 15px;
}

.btn-group button, 
.btn-group .btn-secondary {
    flex: 1;         /* Les deux boutons prendront la même largeur (50/50) */
    width: auto;     /* Annule le width: 100% par défaut */
    padding: 12px 5px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
}

.btn-secondary {
    background-color: #95a5a6; /* Gris pour le bouton retour */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
