/* ============================================
   TOP BAR - Vision Global School
   Utility navigation bar above main header
   ============================================ */

.top-bar {
    background: var(--color-primary-dark);
    color: var(--color-text-white);
    font-size: var(--font-size-sm);
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.top-bar a {
    color: var(--color-text-white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
    opacity: 0.9;
}

.top-bar a:hover {
    opacity: 1;
    color: var(--color-bg-white);
}

.top-bar a i {
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .top-bar {
        padding: 0.4rem 0;
        font-size: var(--font-size-xs);
    }

    .top-bar .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .top-bar-left,
    .top-bar-right {
        gap: 1rem;
        font-size: var(--font-size-xs);
    }

    .top-bar-right {
        justify-content: center;
    }
}

@media (max-width: 575px) {

    .top-bar-left,
    .top-bar-right {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}