/* Dopune uz style.css (v1.3.0) - style.css je vec preko limita od 400
 * linija, pa novi stilovi idu ovde. Ucitava se posle style.css (base.html).
 *
 * CSP (scripts/Caddyfile) od v1.3.0 NEMA 'unsafe-inline' u style-src:
 * style="..." atributi u HTML-u su zabranjeni - koristiti klase ispod ili
 * element.style (CSSOM) iz JS-a. */

.hidden { display: none !important; }

/* ---- Tema: pregled boja u Podesavanjima (ranije inline style) ---- */
.theme-preview-light-classic { background: linear-gradient(135deg, #eef1f6 50%, #2f6fed 50%); }
.theme-preview-dark-console { background: linear-gradient(135deg, #171c23 50%, #e0a458 50%); }
.theme-preview-midnight-blue { background: linear-gradient(135deg, #121c30 50%, #5b8def 50%); }

/* ---- Extension board: DND / preusmerenje, push indikator ---- */
.ext-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px;
    margin-top: 4px;
    min-height: 0;
}

.ext-badge {
    font-size: 10px;
    line-height: 1.4;
    padding: 0 5px;
    border-radius: 4px;
    border: 1px solid currentColor;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ext-badge-dnd { background: var(--danger); border-color: var(--danger); color: #fff; font-weight: 700; }
.ext-badge-cf { background: var(--bg-panel-alt); color: var(--fg-muted); }

@keyframes ext-flash-kf {
    from { box-shadow: 0 0 0 3px var(--accent); }
    to { box-shadow: 0 0 0 0 transparent; }
}

.ext-card.ext-flash { animation: ext-flash-kf 1.2s ease-out; }

#ext-push-status { margin-left: 10px; }

/* ---- Odjava kao POST forma (v1.3.6) ---- */
.topnav .logout-form { display: inline; margin: 0; }
.topnav .link-button { background: none; border: none; color: var(--fg-normal); cursor: pointer;
    font: inherit; padding: 4px 2px; }
.topnav .link-button:hover { color: var(--accent); }
