:host {
    display: flex;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    overflow: hidden;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-font-smoothing: antialiased;
    will-change: transform;
    cursor: default;
    animation: 0.5s ease-out fadeIn;
    transition: 0.25s background;
}

$tabs-height: 38px;
$tab-border-radius: 4px;


.content {
    height: 100%;
    flex: auto;
    display: flex;
    flex-direction: column-reverse;

    &.tabs-on-top {
        flex-direction: column;
    }
}

.tab-bar {
    flex: none;
    height: $tabs-height;
    display: flex;

    .btn-tab-bar {
        line-height: $tabs-height + 2px;
        cursor: pointer;

        display: flex;
        padding: 0 15px;
        flex: 0 0 auto;
        border-bottom: 2px solid transparent;
        transition: 0.25s all;
        font-size: 12px;

        text-transform: uppercase;
        font-weight: bold;
        color: #aaa;
        border: none;
        border-radius: 0;

        &.dropdown-toggle::after {
            display: none;
        }
    }

    &>.tabs {
        flex: 0 1 auto;
        display: flex;
        min-width: 0;
    }

    &>.drag-space {
        min-width: 1px;
        flex: 1 0 1%;
        -webkit-app-region: drag;

        &.persistent {
          min-width: 72px; // 2 x 36 px height, ie 2 squares
        }
    }

    & > .inset {
        width: 85px;
        flex: none;
    }

    window-controls {
        padding-left: 10px;
    }
}

.tabs-content {
    flex: auto;
    display: flex;
}

hotkey-hint {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 300px;
}

::ng-deep .btn-tab-bar svg,
::ng-deep .btn-tab-bar + .dropdown-menu svg {
    width: 16px;
    height: 16px;
    fill: white;
    fill-opacity: 0.75;
}

.icon-wrapper {
    display: flex;
    width: 16px;
    height: 17px;
}

::ng-deep .btn-update svg {
    fill: cyan;
}
