:root {
    --guac-toolbar-height: 42px;
}

body.client .client-view {
    top: var(--guac-toolbar-height);
    bottom: var(--guac-toolbar-height);
    height: auto;
}

.guac-fixed-toolbar {
    position: fixed;
    box-sizing: border-box;
    left: 0;
    right: 0;
    z-index: 50;
    height: var(--guac-toolbar-height);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    background: #202124;
    border-color: #46484d;
    border-style: solid;
    color: #f1f3f4;
    font: 13px/1.2 Arial, sans-serif;
    scrollbar-width: thin;
}

.guac-fixed-toolbar-top {
    top: 0;
    border-width: 0 0 1px;
}

.guac-fixed-toolbar-bottom {
    bottom: 0;
    border-width: 1px 0 0;
}

.guac-fixed-toolbar button {
    flex: 0 0 auto;
    min-width: 42px;
    height: 30px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 10px;
    border: 1px solid #5f6368;
    border-radius: 5px;
    background: #303134;
    color: #f1f3f4;
    font: inherit;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.guac-fixed-toolbar button:hover {
    background: #3c4043;
}

.guac-fixed-toolbar button:active,
.guac-fixed-toolbar button.active {
    border-color: #8ab4f8;
    background: #1a73e8;
    color: white;
}

.guac-toolbar-divider {
    flex: 0 0 auto;
    width: 1px;
    height: 24px;
    margin: 0 2px;
    background: #5f6368;
}

@media (max-width: 760px) {
    .guac-fixed-toolbar {
        justify-content: flex-start;
        gap: 4px;
        padding-left: 6px;
        padding-right: 6px;
    }

    .guac-fixed-toolbar button {
        padding-left: 8px;
        padding-right: 8px;
    }
}
