﻿/* === Global Top Row Base === */
.top-row {
    display: flex;
    align-items: center;
    height: 3.5rem;
    padding: 0 1rem;
    vertical-align: middle;
    font-weight: 600;
    font-size: 1.2rem;
    justify-content: flex-start;
    background-color: #2a2a2a;
    color: white;
}

/* === Top Row Variants === */

.top-row.nav {
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
    height: 3.5rem; /* Enforced */
}

/* === Pixel-Perfect Inner Elements === */
.top-row a,
.top-row button,
.top-row .btn-link {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.2rem;
    text-decoration: none;
    font-size: 1.1rem;
}


/* === Admin Specific Layout === */
/* === Admin Top Row Layout === */
.row-struct {
    display: flex;
    align-items: center;
    gap: 0; /* no gap! tight horizontal layout */
    width: 100%;
    height: 100%;
}

/* Admin Top NavLink Button */
.top-navlink {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1;
    text-decoration: none;
    border-radius: 0.5rem;
    background: transparent;
    color: #d7d7d7;
    box-sizing: border-box;
    transition: background-color 0.2s, color 0.2s;
}

    /* Hover & Active Styles */
    .top-navlink:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .top-navlink.active {
        background-color: rgba(255, 255, 255, 0.37);
        color: white;
    }

/* === Branding when not in Admin Page === */
.admin-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.admin-brand-link {
    font-weight: bold;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: #ffffff;
    text-decoration: none;
}

    .admin-brand-link .highlight {
        color: #0d6efd;
    }

