@font-face {
    font-family: 'GilroyL';
    src: url('../fonts/gilroy-light.otf');
}
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/gilroy-regular.ttf');
}
@font-face {
    font-family: 'GilroyM';
    src: url('../fonts/gilroy-medium.ttf');
}
@font-face {
    font-family: 'GilroySB';
    src: url('../fonts/gilroy-semibold.ttf');
}
@font-face {
    font-family: 'GilroyEB';
    src: url('../fonts/gilroy-extrabold.otf');
}

.webbpm.ervu_dashboard {
    --black: #070e1a;
    --color-text-primary: #f4fcff;
    --color-text-secondary: #b1daea;
    --color-text-mute: #6b7e9b;
    --color-primary-5: rgba(244, 252, 255, 0.05);
    --color-primary-20: rgba(244, 252, 255, 0.2);

    --color-success: #00db5d;
    --color-error: #f91e11;
    --color-dark: #070e1a;
    --color-dark-20: rgba(7, 14, 26, 0.2);    

    --btn-border: #00f0ff;
    --btn-bg: linear-gradient(40deg, rgba(8, 131, 198, 1) 0%, rgba(32, 181, 219, 1) 100%);
    --btn-shadow: 0 20px 40px -20px rgba(11, 175, 218, 0.4);

    --border-light: rgba(8, 131, 198, 0.6);
    --border-dark: rgba(1, 83, 111, 1);
    --bg-blur-40: blur(20px);
    --bg-blur-20: blur(10px);
    --bg-shadow: 4px 4px 2px 0 rgba(3, 20, 36, 0.4);
    --bg-block: 
        linear-gradient(180deg, rgba(8, 131, 198, 0) 0%, rgba(8, 131, 198, 0.07) 33%, rgba(8, 131, 198, 0.2) 100%),
        linear-gradient(180deg, rgba(19, 46, 55, 0.16) 0%, rgba(19, 46, 55, 0.32) 100%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 80%);
    --bg-group: rgba(8, 131, 198, 0.25);
        /*conic-gradient(from 90deg at 100% 0%, rgba(0, 240, 255, 0.6) 0%, rgba(0, 191, 255, 0.24) 34%, rgba(0, 191, 255, 1) 100%),*/
        /*
        linear-gradient(180deg, rgba(8, 131, 198, 0) 0%, rgba(8, 131, 198, 0.4) 100%),
        linear-gradient(0deg, rgba(19, 46, 55, 0.08) 0%, rgba(19, 46, 55, 0.16) 100%),
        linear-gradient(204deg, rgba(0, 191, 255, 0.5) 0%, rgba(0, 191, 255, 0) 50%);
        */
    --bg-brick: rgba(9, 91, 120, 0.6);

    --size-text-title: min(1.6vw, 2rem); /*32px*/
    --size-text-subtitle: min(1.2vw, 1.5rem); /*24px*/
    --size-text-addprimary: min(1vw, 1.25rem); /*20px*/
    --size-text-primary: min(0.9vw, 1.125rem); /*18px*/
    --size-text-secondary: min(0.7vw, 0.875rem); /*14px*/

    --size-num-title: min(3vw, 3.75rem); /*60px*/
    --size-num-subtitle: min(2.4vw, 3rem); /*48px*/
    --size-num-addtitle: min(2vw, 2.5rem); /*40px*/
    --size-num-primary: min(1.6vw, 2rem); /*32px*/ 
    --size-num-secondary: min(1.2vw, 1.5rem); /*24px*/

    --indent-huge: min(2.4vw, 3rem); /*48*/
    --indent-xlarge: min(2vw, 2.5rem); /*40*/
    --indent-large: min(1.6vw, 2rem); /*32*/
    --indent-medium: min(1.2vw, 1.5rem); /*24*/
    --indent-xbase: min(1vw, 1.25rem); /*20*/
    --indent-base: min(0.8vw, 1rem); /*16*/
    --indent-small: min(0.6vw, 0.75rem); /*12px*/
    --indent-mini: min(0.4vw, 0.5rem); /*8px*/
    --indent-xmini: min(0.2vw, 0.25rem); /*4px*/    

    --h-header: min(3.9vw, 4.875rem); /*78*/ 
    --w-screen: min(2vw, 2.5rem); /*40*/
}

body.webbpm.ervu_dashboard {
    display: flex;
    flex-direction: column;
    color: var(--color-text-primary);
    font-family: 'Gilroy';
    background: var(--color-dark) url('../img/bg_image.png')  no-repeat center 0 fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    .wrapper {   
    background: 
        radial-gradient(circle at 0% 0%, rgba(16, 67, 77, 0.35) 0%, rgba(8, 37, 43, 0) 37%),
        radial-gradient(circle at 100% 0%, rgba(16, 67, 77, 0.35) 0%, rgba(8, 37, 43, 0) 37%),
        radial-gradient(circle at 50% 0%, rgba(8, 37, 43, 0.8) 0%, rgba(8, 37, 43, 0.6) 30%, rgba(8, 37, 43, 0) 80%),
        radial-gradient(circle at 50% 0%, rgba(8, 37, 43, 0.8) 0%, rgba(8, 37, 43, 0) 73%),
        radial-gradient(circle at 50% 50%, rgba(8, 37, 43, 0) 47%, rgba(3, 22, 26, 1) 100%);   
    }
}

.webbpm.ervu_dashboard .container {
    padding: var(--h-header) 0 0;
    bottom: 0;

    .container-inside {
        font-family: 'Gilroy';
        font-size: var(--size-text-primary);        
        padding: 0 var(--w-screen) var(--indent-mini) var(--w-screen);
    }    
}

.webbpm.ervu_dashboard .header-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: var(--w-screen);
    
    .logo a {
        width: 100px;
        height: var(--h-header);
        background: url('../../../src/resources/img/logo-full.svg') no-repeat 0 50%;
        background-size: auto 100%;
    }
    .logo-title {
        font-family: 'GilroySB';
        margin-left: min(6vw, 7.5rem); /*120*/
    }
}

.webbpm.ervu_dashboard .header-menu {
    display: flex;
    flex-direction: row;
    margin-left: auto;
    margin-right: var(--w-screen);
    process, process + div, admin-menu {
        display: none !important;
    }
   
    .update-data {
        color: var(--color-text-primary);
        opacity: 0.4;
        margin-right: 16px;
    }
    .logout {
        max-width: max-content;
        
        & > button {
            color: var(--color-text-primary);
            line-height: 1.3;
            padding: var(--indent-mini) var(--indent-xbase);
            border: 1px solid var(--color-success);
            background-color: var(--color-dark-20);
            outline: none;
        } 
        .nav-link {
            padding-right: 0;
            border-radius: var(--indent-medium) 0 0 var(--indent-medium);
            border-right: 0;
        }
        .exit {
            border-radius: 0 var(--indent-medium) var(--indent-medium) 0;
            border-left: 0;
        }      
    }
}

.webbpm.ervu_dashboard .header {
    display: flex;
    font-family: 'Gilroy';
    font-size: var(--size-text-primary);
    width: 100%;
    height: auto;
    min-height: var(--h-header);
    background: transparent;

    & > div > * {
        position: relative;
        display: flex;
        align-items: center;
    }

    .dropdown-menu.show {
        top: var(--h-header) !important;
        right: 0px !important;
        left: auto !important;
        transform: none !important;
        margin: 0;    
        border: 0;
        border-radius: 0 0 10px 10px;
        background-color: var(--white);
        box-shadow: 0 8px 12px rgb(77 72 91 / 5%), 0 6px 10px rgb(77 72 91 / 0%);

        .dropdown-menu-inner {
            max-height: calc(100vh - 140px);
            overflow-y: auto;
        }
    }

    :is(process, admin-menu) .dropdown-menu.show {
        top: 49px !important;
    }

    .logout .dropdown-menu.show {
        width: 300px;
    }
}

.webbpm.ervu_dashboard .dropdown-menu-inner:hover {
    background-color: transparent;
}

.webbpm.ervu_dashboard .dropdown-item {
    padding: 4px 20px;
    &:hover,
    &:focus,
    &:active {
        color: var(--color-link);
        background-color: transparent;
        outline: transparent;
    }
}






/*----------------- Login ---------------- */
.webbpm.ervu_dashboard :is(.form-signin, .form-signup, .confirm) {
    color: var(--color-text-primary);
    width: 560px;
    padding: 60px 80px;
    margin: 30px auto;
    border: 0;
    border-radius: 20px;
    border: 1px solid var(--color-text-secondary);
    background-color: var(--color-dark-20);
    box-shadow: var(--bg-shadow);
    backdrop-filter: var(--bg-blur-40);    
}

.webbpm.ervu_dashboard :is(.form-signin, .form-signup) .row.title {
    position: relative;
    padding: 0;
}

.webbpm.ervu_dashboard .form-signin h1,
.webbpm.ervu_dashboard .form-signin h2,
.webbpm.ervu_dashboard .form-signup h2,
.webbpm.ervu_dashboard .confirm h2 {
    font-family: 'GilroySB';
    font-size: 32px;
    text-align: left;
    margin-bottom: 20px;
}

.webbpm.ervu_dashboard :is(.form-signin, .form-signup, .confirm) .logo {
    position: absolute;
    top: -10px; 
    right: 0;
    width: 145px;
    height: 40px;
    background: none;
}

.webbpm.ervu_dashboard .form-signin .row.registration > * + *,
.webbpm.ervu_dashboard .form-signin .login-btn-box .password,
.webbpm.ervu_dashboard .form-signin .login-btn-box .btn + .btn {
    margin-left: 20px;
}
/*--------------- end Login -------------- */

* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-dark) transparent;
}
*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: transparent;
}
*::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: var(--color-dark);
}
*::-webkit-scrollbar-track {
    height: 8px;
    background-color: transparent;
}

@media ((max-width: 780px) or (orientation: portrait)) {
    .webbpm.ervu_dashboard {
        --size-text-title: 2rem; /*32px*/
        --size-text-subtitle: 1.5rem; /*24px*/
        --size-text-addprimary: 1.25rem; /*20px*/
        --size-text-primary: 1.125rem; /*18px*/
        --size-text-secondary: 0.875rem; /*14px*/

        --size-num-title: 3.75rem; /*60px*/
        --size-num-subtitle: 3rem; /*48px*/
        --size-num-addtitle: 2.5rem; /*40px*/
        --size-num-primary: 2rem; /*32px*/ 
        --size-num-secondary: 1.5rem; /*24px*/

        --indent-huge: 3rem; /*48*/
        --indent-xlarge: 2.5rem; /*40*/
        --indent-large: 2rem; /*32*/
        --indent-medium: 1.5rem; /*24*/
        --indent-xbase: 1.25rem; /*20*/
        --indent-base: 1rem; /*16*/
        --indent-small: 0.75rem; /*12px*/
        --indent-mini: 0.5rem; /*8px*/
        --indent-xmini: 0.25rem; /*4px*/    

        --h-header: 4.875rem; /*78*/ 
        --w-screen: 1rem; /*40*/
    }
}

@media (max-width: 480px) {
    .webbpm.ervu_dashboard {
        --size-text-title: 1.75rem; /*28px*/
        --size-text-primary: 1rem; /*16px*/

        --size-num-title: 3rem; /*48*/
        --size-num-subtitle: 2.5rem; /*40*/
        --size-num-addtitle: 2rem; /*32px*/
        --size-num-primary: 1.75rem; /*28px*/
    }
}