/* Explain: Styles for the social media auto-publishing scheduler interface. */
/* وظيفتك — لوحة جدولة النشر التلقائي: بطاقات الحالة وشرائح القنوات وسجل التشغيل */

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.6;
}

.social-pill.is-on {
    background: var(--primary-color);
    color: var(--background-color);
}

.social-pill.is-off {
    background: var(--sage-soft);
    color: var(--sage-dark);
}

.social-pill.is-warn {
    background: rgba(201, 150, 43, 0.18);
    color: #8a6412;
}

.social-channel-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    border-top: 1px dashed var(--border-color);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

.social-channel-row:first-of-type {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

.social-channel-name {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.88rem;
    font-weight: 700;
}

.social-channel-name i {
    color: var(--accent-color);
}

.social-log-item {
    border: 1px solid var(--border-color);
    border-radius: 1.1rem;
    background: var(--field-bg);
    padding: 0.85rem 1rem;
}

.social-hint {
    border: 1px dashed var(--glass-border);
    border-radius: 1.25rem;
    background: var(--surface-color);
    padding: 0.9rem 1.1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.9;
}

.social-hint strong {
    color: var(--text-color);
}

.social-token-warn {
    border-radius: 1rem;
    background: rgba(201, 150, 43, 0.14);
    padding: 0.6rem 0.9rem;
    color: #8a6412;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.8;
}

.social-list {
    display: grid;
    gap: 0.65rem;
    max-height: 26rem;
    overflow-y: auto;
    padding-inline-end: 0.25rem;
}

@media print {
    #socialForm,
    .social-list {
        display: none !important;
    }
}