/* ============================================================
   Menu de partage d'un article (index.php, fonction shareArticle)
   ============================================================ */
.partage-feuille {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(20, 28, 40, 0.55);
}
.partage-feuille[hidden] { display: none; }
body.partage-ouvert { overflow: hidden; }

.partage-boite {
    width: 100%;
    max-width: 420px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: #fff;
    color: #1f2a37;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    font-family: inherit;
}

.partage-entete {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #e86c00;
}
.partage-titre {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
}

.partage-choix {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 8px;
    padding: 12px 14px;
    border: 1px solid #e3e7ed;
    border-radius: 12px;
    background: #f7f9fb;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.partage-choix[hidden] { display: none; }
.partage-choix:hover:not(:disabled) { background: #fff4ea; border-color: #e86c00; }
.partage-choix:disabled { cursor: progress; opacity: 0.6; }
.partage-choix svg { flex: 0 0 auto; width: 22px; height: 22px; color: #e86c00; }
.partage-choix span { display: flex; flex-direction: column; font-weight: bold; font-size: 15px; }
.partage-choix small { font-weight: normal; font-size: 12px; color: #5d6b7c; margin-top: 2px; }
.partage-choix.is-loading small::after { content: " — préparation de l'image…"; }

.partage-reseaux {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 4px;
}
.partage-reseaux a {
    padding: 6px 12px;
    border-radius: 999px;
    background: #485c74;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}
.partage-reseaux a:hover { background: #e86c00; }

.partage-info {
    min-height: 1.2em;
    margin: 8px 0;
    font-size: 13px;
    color: #2e7d32;
}

.partage-fermer {
    display: block;
    margin: 4px auto 0;
    padding: 10px 30px;
    border: none;
    border-radius: 25px;
    background: #e86c00;
    color: #fff;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}
