/* RSS-Haber — Tabler üzerine küçük eklemeler */
:root {
    --rh-brand: #e8590c;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .6rem;
    background: linear-gradient(135deg, var(--rh-brand), #f59f00);
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 4px 12px rgba(232, 89, 12, .35);
}

.navbar-vertical .nav-group-title {
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--tblr-secondary);
    padding: .5rem .75rem .25rem;
    opacity: .7;
}

.navbar-vertical .navbar-collapse {
    flex-direction: column;
    align-items: stretch;
}

.sidebar-cron {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .75rem;
    border-radius: var(--tblr-border-radius);
    background: rgba(255, 255, 255, .05);
}

.sidebar-cron:hover {
    background: rgba(255, 255, 255, .09);
}

/* Durum noktaları kartlarda da kullanılabilsin */
.status-dot.status-green { background: var(--tblr-green); }
.status-dot.status-red { background: var(--tblr-red); }

/* Haber küçük görseli */
.news-thumb {
    width: 64px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--tblr-bg-surface-secondary);
    flex-shrink: 0;
}

.news-thumb-placeholder {
    width: 64px;
    height: 44px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tblr-bg-surface-secondary);
    color: var(--tblr-secondary);
    flex-shrink: 0;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-preview {
    font-size: .95rem;
    line-height: 1.65;
}

.article-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: .5rem 0;
}

.article-preview p {
    margin-bottom: .9rem;
}

pre.log {
    white-space: pre-wrap;
    font-size: .8rem;
    margin: 0;
    background: var(--tblr-bg-surface-secondary);
    color: var(--tblr-body-color);
    border-radius: var(--tblr-border-radius);
    padding: .75rem 1rem;
}

.btn-xs {
    --tblr-btn-padding-y: .15rem;
    --tblr-btn-padding-x: .5rem;
    --tblr-btn-font-size: .75rem;
    --tblr-btn-line-height: 1.2;
}

.sticky-actions {
    position: sticky;
    bottom: 0;
    z-index: 10;
    background: var(--tblr-bg-surface);
    border-top: 1px solid var(--tblr-border-color);
    padding: .75rem 1rem;
    margin: 1.5rem -1rem 0;
    box-shadow: 0 -6px 16px rgba(0, 0, 0, .04);
}

.bulk-bar {
    display: none;
}

.bulk-bar.show {
    display: flex;
}

.day-bar {
    height: 8px;
    border-radius: 4px;
    background: var(--tblr-primary);
    min-width: 2px;
}

.mapping-row select.unmapped {
    border-color: var(--tblr-yellow);
}

.mapping-row select.mapped {
    border-color: var(--tblr-green);
}

.check-step {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem 0;
    border-bottom: 1px dashed var(--tblr-border-color);
}

.check-step:last-child {
    border-bottom: 0;
}

.check-step .ti {
    font-size: 1.35rem;
}

.btn:not(.btn-icon) > .ti:first-child,
.dropdown-item > .ti:first-child { margin-right: .4rem; }
.btn:not(.btn-icon) > .ti:last-child:not(:first-child) { margin-left: .3rem; margin-right: 0; }
.btn > .ti { font-size: 1.1em; }

[data-theme-set] { display: none; }
html:not([data-bs-theme="dark"]) [data-theme-set="dark"],
html[data-bs-theme="dark"] [data-theme-set="light"] { display: inline-flex; }

@media (max-width: 991.98px) {
    .page-header .btn-list { justify-content: flex-start; }
}
