.page-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.page-header-left, .page-header-right {
    display: flex;
    align-items: center;
}

.icon {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.icon img {
    margin-right: 10px;
}

.icon span {
    font-weight: bold;
    font-size: 1.2em;
}

#user {
    margin-left: 10px;
    font-size: 0.9em;
    color: var(--text-color);
}

.page-header-btn {
    margin: 0 10px;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-header-btn:hover {
    transform: scale(1.05);
}

.page-header-btn.active {
    background-color: var(--secondary-color);
    color: white;
}

#page-body {
    padding: 20px;
    min-height: calc(100vh - 80px);
}

.page {
    display: none;
}

.page.active {
    display: block;
}

@media (max-width: 768px) {
    .page-header-bar {
        flex-direction: column;
        padding: 10px;
    }

    .page-header-left, .page-header-right {
        margin: 5px 0;
    }

    .page-header-btn {
        margin: 0 5px;
        padding: 6px 10px;
        font-size: 0.9em;
    }
}
