/* ===== TOPBAR GLOBAL ===== */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    z-index: 999;
    font-family: "Segoe UI", sans-serif;
    transition: 0.25s ease;
}

/* ===== LOGO / NOME DO SISTEMA ===== */
.topbar .brand {
    display: flex;
    align-items: initial;
    gap: 20px;
    font-size: 25px;
    font-weight: bold;
    color: #2c3e50;
    margin-right: 40px;
}

.topbar .brand img {
    height: 35px;
}

/* ===== MENU DO TOPO ===== */
.topbar .top-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar .top-menu a {
    text-decoration: none;
    color: #2c3e50;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.topbar .top-menu a:hover {
    background: linear-gradient(135deg, #d83316ff 0%, rgb(33, 31, 34) 100%);
    color: white;
}



/* ===== RESPONSIVO ===== */
@media (max-width: 600px) {
    .topbar {
        padding: 0 10px;
    }

    .topbar .brand span {
        display: none; 
    }

    .topbar .top-menu a {
        padding: 6px 8px;
        font-size: 14px;
    }

    .topbar .user-area span {
        display: none;
    }
}
