@import 'angularlib/styles/common.scss';
:host {
    --bright-blue: oklch(51.01% 0.274 263.83);
    --pill-accent: var(--bright-blue);
}

.container {
    display: flex;
    flex-flow: row;
    justify-content: center;
}
.container > .left {
    flex-grow: 1;
}

.container > .main {
    flex-grow: 4;
    margin: 5px;
    height: calc(100vh - 65px);
    max-width: 1920px;
    overflow-y: auto;
}

.container > .right {
    flex-grow: 1;
}

.container > .main > .map-button {
    position: absolute;
    bottom: 20px; left: 10px;
    z-index: 11;
}

.container > .main > .map {
    position: absolute;
    bottom: 0; left: 0;
    width: 500px;
    z-index: 10;
}

#notifications {
    position: relative;
}
#notifications .count {
    position: absolute;
    width:15px;
    height: 15px;
    background-color: red;
    right: 3px;
    top: -5px;
    font-size: 8pt;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toolbar {
    justify-content: center;
}

.toolbar-container {
    display: flex;
    width: auto;
    width: 1920px;
    max-width: 1920px;
    
}

.toolbar-container > #title {
    margin-top: auto;
    margin-bottom: auto;
}

.toolbar-item {
    display: flex;
    flex-flow: column;
    align-items: center;
    flex: 1;
    max-height: 100% !important;
    transition: background 0.3s ease;
    border-radius: 10px;
    .mat-icon {
        flex-grow: 2;
        max-height: fit-content;
    }
    mat-label {
        line-height: 9pt;
        font-size: 8pt;
    }
    position: relative;
}

.toolbar-item:hover {
    background: color-mix(in srgb, var(--pill-accent) 15%, transparent);
}

.profile-pic {
    height: 25px;
    width: 25px;
    max-width: 25px;
    border-radius: 50%;
}

#account-menu-button .profile-pic {
    margin-right: 12px;
}
.toolbar, .mobile-toolbar {
    height: 40px;
}

.mobile-toolbar {
    display: none;
    position: fixed;
    bottom: 0;
    z-index: 1000;
}

.right-toolbar-panel {
    display: flex;
    flex-direction: row;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    .toolbar-item {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        mat-label {display: none;}
    }
    #home {display: none;}
    #clock_in {display: none;}
    #clock_out {display: none;}
}

.language-flag {
    display: inline-flex;
    border-radius: 50%;
    height: 1.3rem;
    width: 1.3rem;
    background-size: cover;
    background-position: center;
}

.test {
    position: absolute;
    right: 0;
    bottom: 0;
}

.notification {
    width: 400px;
}

footer {
    color:#868686;
    font-size: 8pt;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: fixed;
    border-top: 1px solid $border-color;
    width: 100%;
}

#installApp {
    position: absolute;
    bottom: 50px; right: 0;
    width: 100%;
}

.mobile-buffer {
    line-height: 50px;
    display: none;
}

chat {
    position: fixed;
    bottom: 0;
    right: 10px;
    width: 350px;
    z-index: 100;
}

/** Mobile styles */
@media screen and (pointer: none), (pointer: coarse) {
    .toolbar {display: none;}
    .container > .main {max-width: 100%;}
    .container > .left {display: none;}
    .container > .right {display: none;}
    
    .mobile-toolbar {
        display: flex;
    }

    .toolbar-item .count-aria {
        right: 35%;
    }

    .mobile-buffer {
        display: block;
    }

    .container > .main > .map-button {
        bottom: 60px; left: 10px;
    }

    .container > .main > .map {
        bottom: 0; left: 0;
        width: 100%;
    }

    chat {
        bottom: 60px;
    }
}

@media screen and (pointer: none), (pointer: coarse) and (orientation: landscape) {
    .toolbar-item .count-aria {
        right: 43%;
    }
}