﻿/* =====================================================
   ADMIN SYSTEM BAR (Theme-aligned)
===================================================== */

.admin-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 36px;
    z-index: var(--z-fixed);
    background: linear-gradient( 180deg, rgba(14, 19, 32, 0.95), rgba(13, 13, 18, 0.95) );
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-family: var(--font-primary);
    font-size: 13px;
    color: var(--color-muted);
}

.admin-bar__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LEFT */
.admin-bar__left {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.admin-bar__badge {
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    background: rgba(121, 239, 179, 0.12);
    color: var(--color-electric-fern);
    border: 1px solid rgba(121, 239, 179, 0.35);
}

.admin-bar__text {
    color: var(--color-blue-gray);
    font-weight: var(--font-weight-medium);
}

/* RIGHT CTA */
.admin-bar__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    color: var(--color-white);
    background: linear-gradient( 135deg, rgba(41, 112, 255, 0.25), rgba(41, 112, 255, 0.1) );
    border: 1px solid rgba(41, 112, 255, 0.45);
    transition: all var(--transition-fast);
}

    .admin-bar__cta:hover {
        background: linear-gradient( 135deg, rgba(41, 112, 255, 0.45), rgba(41, 112, 255, 0.2) );
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
        text-decoration: none;
    }

.admin-bar__arrow {
    transition: transform var(--transition-fast);
}

.admin-bar__cta:hover .admin-bar__arrow {
    transform: translateX(4px);
}

/* =====================================================
   FLOATING NEWS EXTENSION (Theme-aligned)
===================================================== */

/* News Lightbox Styles */
.news-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

    .news-lightbox.is-active {
        display: flex;
    }

.news-lightbox__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.news-lightbox__content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.news-lightbox__image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 90vh;
}

    .news-lightbox__image-container img {
        max-width: 100%;
        max-height: 90vh;
        object-fit: contain;
        border-radius: 8px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

.news-lightbox__close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    z-index: 2;
}

    .news-lightbox__close:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
        transform: rotate(90deg);
    }

.news-lightbox__prev,
.news-lightbox__next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(