/* Bouton « Partager » et son panneau (components/_share_button.html.twig). */
.fe-share { display: inline-block; }
.fe-share__open {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .45rem 1rem; border-radius: 999px;
    border: 1px solid rgba(232, 184, 74, .6); background: transparent; color: #e8b84a;
    font-weight: 600; cursor: pointer; transition: background .15s, color .15s;
}
.fe-share__open:hover, .fe-share__open:focus-visible { background: #e8b84a; color: #0d0b0f; }

.fe-share__dialog {
    width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
    padding: 1rem 1rem 1.1rem; border: 1px solid rgba(232, 184, 74, .35); border-radius: 18px;
    background: #141016; color: #f5efe6; overflow: auto;
}
.fe-share__dialog::backdrop { background: rgba(5, 3, 8, .72); }
.fe-share__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.fe-share__title { font-size: 1.05rem; margin: 0; font-weight: 700; }
.fe-share__close { background: none; border: 0; color: #f5efe6; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.fe-share__tabs { display: flex; gap: .4rem; margin-bottom: .7rem; }
.fe-share__tabs button {
    flex: 1; padding: .4rem; border-radius: 10px; border: 1px solid rgba(245, 239, 230, .2);
    background: transparent; color: #f5efe6; cursor: pointer;
}
.fe-share__tabs button.is-active { background: #6e1222; border-color: #6e1222; }
.fe-share__preview { background: #0d0b0f; border-radius: 12px; overflow: hidden; display: flex; justify-content: center; }
.fe-share__preview img { display: block; width: auto; max-width: 100%; height: auto; max-height: 52vh; }
.fe-share__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .8rem; }
.fe-share__actions button {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    padding: .55rem .6rem; border-radius: 12px; border: 1px solid rgba(245, 239, 230, .22);
    background: transparent; color: #f5efe6; font-weight: 600; cursor: pointer;
}
.fe-share__actions .fe-share__primary { grid-column: 1 / -1; background: #e8b84a; border-color: #e8b84a; color: #0d0b0f; }
.fe-share__actions button:disabled { opacity: .5; cursor: progress; }
.fe-share__hint { font-size: .8rem; color: #bdb4a8; margin: .7rem 0 0; }
.fe-share__status { font-size: .85rem; color: #e8b84a; margin: .35rem 0 0; min-height: 1.2em; }
