/* "Where should this be posted?" picker — shared by the timeline composer,
   the article editor and the job form. */

.social-picker { display: inline-block; position: relative; }

.social-picker__trigger.is-active { background: #0d6efd; border-color: #0d6efd; color: #fff; }

.social-picker__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1080;
    padding: 16px;
}

.social-picker__dialog {
    background: #fff;
    border-radius: 10px;
    width: 100%;
    max-width: 460px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .28);
}

.social-picker__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 8px;
}

.social-picker__title { font-size: 1.05rem; font-weight: 700; margin: 0; }

.social-picker__close {
    background: none;
    border: 0;
    font-size: 1.5rem;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
}

.social-picker__hint { padding: 0 20px; margin: 0 0 12px; color: #6b7280; font-size: .85rem; }

.social-picker__body { padding: 0 20px; overflow-y: auto; flex: 1 1 auto; }

.social-picker__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
}

.social-picker__option:hover { border-color: #c7d2fe; background: #f8faff; }

.social-picker__option-text { display: flex; flex-direction: column; line-height: 1.25; }

.social-picker__option-name { font-weight: 600; }

.social-picker__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 16px;
    border-top: 1px solid #f1f2f6;
}
