/* CS-ARENA.PRO UI 3.2.2 - inline news administration toolbar.
   Intentionally scoped to the news module; never positions an aside over the
   global sidebar. */
.news-module .csa-news-admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid var(--transparent-5-w, rgba(255,255,255,.08));
    border-radius: var(--br-12, 12px);
    background: var(--card, #332217);
    box-sizing: border-box;
    position: relative;
    width: 100%;
    z-index: 1;
}
.news-module .csa-news-admin-toolbar__title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary, #c4a78a);
    white-space: nowrap;
}
.news-module .csa-news-admin-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    min-width: 0;
}
.news-module .csa-news-admin-toolbar__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 35px;
    padding: 7px 11px;
    border-radius: var(--br-8, 8px);
    box-sizing: border-box;
    border: 1px solid var(--transparent-5-w, rgba(255,255,255,.1));
    background: var(--input-form, #3a281b);
    color: var(--text-default, #e8d1b7);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.news-module .csa-news-admin-toolbar__link svg {
    height: 14px;
    width: 14px;
    flex: 0 0 14px;
    fill: currentColor;
}
.news-module .csa-news-admin-toolbar__link:is(:hover, :focus-visible),
.news-module .csa-news-admin-toolbar__link.is-active {
    color: var(--span, #ffb258);
    border-color: var(--span, #ffb258);
    background: var(--transparent-3-w, rgba(255,255,255,.06));
}
.news-module .csa-news-admin-toolbar__link.is-create {
    border-color: rgba(251,169,69,.25);
    color: var(--span, #ffb258);
}
.news-module .csa-news-admin-toolbar__link:focus-visible {
    outline: 2px solid var(--span, #ffb258);
    outline-offset: 2px;
}
@media (max-width: 720px) {
    .news-module .csa-news-admin-toolbar {
        align-items: stretch;
        flex-direction: column;
        padding: 10px;
        gap: 9px;
    }
    .news-module .csa-news-admin-toolbar__actions { width: 100%; }
    .news-module .csa-news-admin-toolbar__link { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
    .news-module .csa-news-admin-toolbar__link { transition: none; }
}
