﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

* {
    font-family: 'Rubik', sans-serif;
}

/*.mud-drawer{*/
/*    background-image: linear-gradient(270deg, rgba(51, 148, 225, 0.18), transparent);*/
/*}*/

.mud-tabs-panels{
    background: white;
}

.mud-main-content {
    height: 100vh;
}

.mud-toolbar-appbar {
    background-color: white;
}

.mud-drawer {
    z-index: 1350;
}

.login-container {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(292.68deg, #3C4DB5 0%, #3D4CA8 48.23%, #5037B0 100%);
    height: 100vh;
    width: 100% !important;
}

.mud-table-head {
    background-color: #707cc9;
    text-transform: capitalize;
}

.mud-table-head .mud-table-cell{
    color: white!important;
    font-size: 13px;
    border: 1px solid #9fa8df !important;
}

.mud-table-sort-label:hover {
    color: white!important;
}

.mud-table-cell{
    font-size: 13px!important;
}

.selected-row {
    background-color: #F5F5F5;
}

button:disabled{
    opacity: 0.7;
}

.mud-breadcrumbs {
    font-size: 0.85rem!important;
}

h1:focus {
    outline: none;
}

.mud-table-root .mud-table-body:last-child .mud-table-row:last-child .mud-table-cell {
    border-bottom: 1px solid var(--mud-palette-table-lines)!important;
}

.mud-table-bordered .mud-table-container .mud-table-root .mud-table-body .mud-table-row .mud-table-cell {
    border: 1px solid var(--mud-palette-table-lines) !important;
}

.mud-table-sticky-header * .mud-table-root .mud-table-head * .mud-table-cell {
    background-color: #707cc9 !important;
}

.mud-collapse-container.mud-navgroup-collapse {
    background: #343f83 !important
}

.mud-navmenu.mud-navmenu-primary .mud-nav-link.active:not(.mud-nav-link-disabled) {
    color: #fff !important;
    background-color: #303970 !important;
    box-shadow: inset 3px 0 0 #6169cb;
}

.mud-nav-item .mud-icon-root, .mud-nav-link .mud-icon-root {
    font-size: 1rem !important;
    color: #8897f1 !important;
}

.mud-navmenu.mud-navmenu-primary .mud-nav-link:hover {
    color: #d6d8ec !important;
    background-color: #6978c7 !important;
}

.mud-navmenu.mud-navmenu-primary .mud-nav-link{
    font-weight: 400!important;   
    align-items: center;
}

.mud-navmenu.mud-navmenu-primary .mud-nav-link.active:not(.mud-nav-link-disabled) .mud-nav-link-icon {
    color: #fff !important;
}

 .nested>.mud-table-cell {
    border-bottom: 1px solid var(--mud-palette-table-lines) !important;
}

.anim-appearance{
    animation: nested-table-anim normal 0.3s;
}

@-webkit-keyframes nested-table-anim {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.loading-container {
    width: 100%;
    height: 100vh;
    background-color: #051639;
    display: flex;
    justify-content: center;
    align-items: center;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PH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NTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.highlight-element{
    border: 3px dashed #dc684bf7 !important;
    box-shadow: 2px 2px 18px #EE800A!important;
}

/*                         */
/*         Wizard          */
/*                         */

.wizard-popover-left{
    background-color: #e3f2fd;
    border: 1px solid #82c4f8;
    z-index: 20000!important;
    position: absolute;
    border-radius: 4px;
    box-shadow: 4px 4px 7px rgba(0, 0, 0, 0.2);
}

.wizard-popover-left:before{
    content: "";
    width: 18px;
    height: 18px;
    position: absolute;
    left: -10px;
    top: 32%;
    z-index: 20000!important;
    border-radius: 2px;
    background-color: #e3f2fd;
    border-bottom: 1px solid #82c4f8;
    border-left: 1px solid #82c4f8;
    transform: rotate(45deg);
}

.wizard-popover-right{
    background-color: #e3f2fd;
    border: 1px solid #82c4f8;
    z-index: 20000!important;
    position: absolute;
    border-radius: 4px;
    box-shadow: 4px 4px 7px rgba(0, 0, 0, 0.2);
}

.wizard-popover-right:before{
    content: "";
    width: 18px;
    height: 18px;
    position: absolute;
    right: -10px;
    top: 32%;
    z-index: 20000!important;
    border-radius: 2px;
    background-color: #e3f2fd;
    border-bottom: 1px solid #82c4f8;
    border-left: 1px solid #82c4f8;
    transform: rotate(-135deg);
}

.wizard-popover-right > div{
    padding: 16px;
    color: #0a6ebd;
    text-transform: none;
    font-weight: bold;
}

.wizard-popover-left > div{
    padding: 16px;
    color: #0a6ebd;
    text-transform: none;
    font-weight: bold;
}

.wizard-popover-left > div > i{
    padding-right: 8px;
}

.wizard-popover-right > div > i{
    padding-right: 8px;
}

/*                         */
/*  Navbar menu dropdown   */
/*                         */

.navbar_menu {
    max-width: 320px !important;
    overflow: inherit !important;
    width: 320px;
    margin-left: 95px;
}

.navbar_menu .mud-table-dense * .mud-table-row .mud-table-cell {
    padding-inline-start: 16px !important;
    padding-inline-end: 16px !important;
}

.navbar_menu_wrapper {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    padding: 1rem;
}

.navbar_menu_container {
    margin: 4px 16px 0;
}

.navbar_menu_btn .mud-icon-button {
    padding: 4px;
}

.navbar_menu__dropdown-header{
    background: linear-gradient(270.25deg, #6274C2 0.1%, #3D4CA8 99.85%);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    padding: 22px;
    margin-top: -8px;
}

.navbar_menu__dropdown-header span{
    font-weight: 200;
}

.navbar_menu__dropdown-header strong{
    font-size: 1rem;
    font-weight: 500;
    padding-bottom: 4px;
}

.navmenu_item_button{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-grow: 0;
    width: 95px;
    height: 95px;
    flex-basis: 33.33%;
    margin-bottom: 16px;
    cursor: pointer;
}

.navmenu_item_button:hover{
    background-color: #FAFAFA;
    border-radius: 2px;
}

.navmenu_item_button:hover .navmenu_item-image {
    transform: scale(1.1);
    transition: transform 0.2s;
}

.navmenu_item_title {
    font-size: 13px !important;
    padding-top: 4px;
    color: #5d5d5d;
}

.mud-input-error .mud-input-control-helper-container{
    position: absolute!important;
    bottom: -22px;
}

.nav-menu-item-budge .mud-badge{
    inset: auto auto calc(100% - 25px) calc(100% - 25px) !important;
}

/*                         */
/*        Dashboard        */
/*                         */

.indicator{
    font-style: italic;
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
}

.indicator-online{
    color: #1dc9b7;
}

.indicator-offline{
    color: #fd3942;
}

.dashboard__element-wp{
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-bottom: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 0.5rem;
    flex-wrap: wrap;
    box-shadow: 0px 0px 13px 0px rgb(62 44 90 / 8%);
}

.dashboard__element-wp .content-icon{
    padding: 0.5rem;
    border-radius: 4px;
    width: fit-content;
}

.bg-info-200 {
    background-color: #6ab8f7;
}

.bg-success-300 {
    background-color: #37e2d0;
}

.dashboard__element-wp .content__stat-elem-menu{
    position: absolute;
    top: 6px;
    right: 0;
}

.dashboard__element-wp .content__stat-elem{
    display: flex;
}

.dashboard__element-wp .content__stat-info{
    display: flex;
    flex-direction: column;
    margin-left: 0.5rem;
}

.content__stat-info .stat-info-value{
    font-weight: 600;
    font-size: 1.0625rem;
    color: #666666;
}

.dashboard__element-wp .server-address{
    color: #ababab;
}

.dashboard__element-wp .server-name{
    font-style: italic;
    padding-right: 0.5rem;
}

.dashboard__element-wp .header-wp{
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 2.5rem;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    padding-left: 16px;
    position: relative;
}

.dashboard__element-wp .content-wp{
    display: flex;
    gap: 1.25rem;
    align-items: center;
    justify-content: space-evenly;
    padding: 1.25rem 1rem;
    flex-wrap: wrap;
}

.subheader{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #494949;
    text-shadow: #fff 0 1px;
    font-size: 1.375rem;
    padding-bottom: 1rem;
}

.subheader span{
    font-weight: 300;
}

.subheader i{
    color: #8a9dbb;
    font-size: 1rem;
}

.dashboard__alert-wp{
    position: fixed;
    right: 0;
    left: 0;
    bottom: 20px;
    display: flex;
    justify-content: center;
}

.agency-autocomplete .mud-autocomplete .mud-input {
    height: 42px;
    width: 316px;
}

.dashboard__alert{
    width: fit-content;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    background-color: #ffdfdf;
    border: 1px solid var(--mud-palette-error) !important;
    border-radius: 4px;
    padding: 1rem;
    color: var(--mud-palette-error);
    bottom: 20px;
    text-align: center;
}

.dashboard__alert i {
    font-size: 2rem;
}

.agency-subheader {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #494949;
    text-shadow: #fff 0 1px;
    font-size: 0.9rem;
    padding: 0.75rem 0 1rem 0;
    font-weight: 300;
}

.agency-subheader i {
    color: #8a9dbb;
}

.agency-subheader strong {
    font-weight: 500;
}

.agency-subheader span {
    font-weight: 300;
    font-style: italic;
    white-space: nowrap;
}

.agency-subheader .line{
    width: 100%;
    height: 1px;
    background-color: #c3c5c9;
    margin: 0 1rem;
}

.mud-expand-panel{
    background: transparent !important;
}

.mud-expand-panel-header{
    margin-bottom: 0.5rem;
    padding: 0 1.5rem !important;
}

.mud-table-head .mud-table-row:hover {
    background-color: transparent !important;
}

.nav-agency-name {
    color: #494949;
    font-size: 1rem;
    font-weight: 500;
}

.nav-agency-name span:first-child {
    font-size: 0.8rem;
    color: #9f9f9f;
    font-weight: 400;
    padding-right: 0.3rem;
}

.agency-info_api-key {
    width: fit-content;
}

.agency-info_add-info {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.agency-info_add-info > span:first-child {
    color: #494949;
    text-shadow: #fff 0 1px;
    font-size: 0.85rem;
    font-weight: 500;
}

@keyframes slide-right {
    0% {
        left: 2px;
    }

    100% {
        left: calc(100% - 92px);
    }
}

@keyframes slide-left {
    0% {
        left: calc(100% - 92px);
    }

    100% {
        left: 2px;
    }
}

.server-info-table td {
    font-size: 13px !important;
}

.server-info-table a {
    font-size: 14px !important;
}

.server-detail_link-row{
    padding: 16px !important;
}

.server-detail_link-row > * {
    padding-right: 16px;
}

footer{
    position: fixed !important;
    bottom: 0;
    right: 0;
}

.footer-container{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}

@media only screen and (max-width: 768px) {
    .nav-agency-name {
        display: none;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 16px;
    }
}

/******************************/
/*           Console           */
/******************************/

#console {
    height: 100%;
    margin: 16px;
    margin-top: 0;
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    color: #BDBDBD;
    height: calc(100vh - 165px);
    position: relative;
    overflow: hidden;
}

#screen {
    height: calc(100% - 40px);
    display: flex;
}

.gds-select {
    right: 200px !important;
    top: 16px;
}

.system-select {
    right: 40px !important;
    top: 16px;
}


#screen .mud-select {
    position: absolute !important;
    top: 3px;
    right: 31px;
    width: 150px;
}

    #screen .mud-select .mud-input {
        height: 30px;
    }

    #screen .mud-select .mud-input-label-outlined {
        transform: translate(14px,12px) scale(1);
        background-color: transparent !important;
    }

#screen .mud-input.mud-input-outlined .mud-input-outlined-border {
    border-radius: 4px;
    border: 1px solid #7C808A;
}

#screen .mud-select-input {
    color: #A0A0A0;
}

#screen .line {
    text-transform: uppercase;
    padding: 2px 0;
    font-weight: 400;
    animation: ease 0.5s appearance;
}

@keyframes appearance {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#numbers {
    background: #454C5C;
    border-radius: 4px 0px 0px 0px;
    width: 33px;
    padding: 45px 0 16px;
    height: fit-content;
    min-height: 100%;
}

    #numbers .number {
        padding: 2px 0;
        font-weight: 400;
        text-align: center;
    }

#cryptic {
    background: #2C313D;
    border-radius: 0 4px 0px 0px;
    width: 100%;
    padding: 45px 16px 16px;
    height: fit-content;
    min-height: 100%;
}

#console-input {
    background: #394050;
    border: 1px solid #545A68;
    box-shadow: inset 4px 4px 12px #282F42;
    border-radius: 0px 0px 4px 4px;
    height: 40px;
    width: 100%;
    font-weight: 500;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 16px;
    color: #BDBDBD;
    text-transform: uppercase;
    padding: 0 32px;
}

    #console-input:focus {
        border: 1px solid #545A68;
        outline: none;
    }

#session-btn {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 21px;
    height: 21px;
    border-radius: 11px;
}

.session-btn-connect {
    background: #56A749;
}

.session-btn-disconnect {
    background: red;
}

#console .input-wp {
    position: relative;
}

    #console .input-wp span {
        position: absolute;
        left: 19px;
        top: 12px;
        font-size: 16px;
    }

#console pre {
    display: block;
    margin-top: 0;
    margin-bottom: 0 !important;
    overflow: inherit;
    font-size: inherit !important;
}

#console #screen-container {
    display: flex;
    width: 100%;
    overflow: auto;
}

.lds-ripple {
    display: inline-block;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 20px;
    height: 20px;
}

    .lds-ripple div {
        position: absolute;
        border: 1px solid #fff;
        opacity: 1;
        border-radius: 50%;
        animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .lds-ripple div:nth-child(2) {
            animation-delay: -0.5s;
        }

@keyframes lds-ripple {
    0% {
        top: 9px;
        left: 9px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 9px;
        left: 9px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 9px;
        left: 9px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 18px;
        height: 18px;
        opacity: 0;
    }
}

.highlight-y-b {
    background-color: #d5d55a;
    color: #3232b5;
}

.highlight-b-w {
    background-color: blue;
    color: white;
}

.highlight {
    font-family: inherit;
    border-radius: 4px;
    padding: 0 1px;
    margin-inline-start: 3px;
    margin-inline-end: 3px;
}

.setting-btn {
    position: absolute !important;
    right: 40px;
    top: 2px;
}

#console-drawer{
    position: absolute;
    top:0;
    bottom: 0;
    right: 0;
    width: 350px;
    background-color: white;
    padding: 48px 16px 16px;
}

#console-drawer .close-btn{
    position: absolute;
    right: 16px;
    top: 16px;
}

.console-info-wp{
    position: absolute;
    right: 16px;
    top: 50px;
    display: flex;
    flex-direction: column;
}

.console-info-text{
    font-size: 12px;
    font-weight: 300;
}

/******************************/
/*         Trace Tool          /
/******************************/
.gutter {
    background-color: #eee;
    background-repeat: no-repeat;
    background-position: 50%;
}

.gutter.gutter-horizontal {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');
    cursor: col-resize;
}

.tt-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    height: calc(100vh - 240px);
}

#tt-viewer pre {
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.8rem !important;
}

.view-container {
    max-height: calc(100vh - 273px);
    overflow-y: auto;
}

#tt-table {
    position: relative;
}

#tt-table .table-row {
    cursor: pointer;
}

#tt-table .selected {
    box-shadow: var(--mud-elevation-3);
    transition: box-shadow 100ms cubic-bezier(.4,0,.2,1) 0ms;
    position: relative;
}

#tt-table .selected:after {
    position: absolute;
    content: "";
    width: 10px;
    height: 100%;
    left: 0;
    background-color: #707cc9;
    transition: width 100ms cubic-bezier(.4,0,.2,1) 0ms;
}

#tt-table .error .type {
    color: white;
    background-color: #db5f5f;
}

.buffer-button-wp {
    position: absolute;
    bottom: 46px;
    right: -12px;
}


.conf-menu{
    width: 100%;
}

.conf-menu h5{
    text-align: center;
    padding-top: 4px;
    margin-bottom: 0;
}

.conf-menu li > button {
    width: 100%;
    padding: 12px 18px;
    justify-content: flex-start;
    font-size: 14px;
    border-bottom: 1px solid #bbbbbb2b;
    border-top: 1px solid #bbbbbb2b;
    position: relative;
}

.conf-menu li > button:hover {
    background-color: #f2f3f7;
}

.conf-menu .active {
    background-color: #f2f3f7;
}

.conf-menu .active:after {
    content: "";
    background-color: #3d4ca8ff;
    position: absolute;
    width: 8px;
    height: 100%;
    right: 0;
    top: 0;
}

.subs-dates_title i {
    color: #8a9dbb;
    padding-right: 4px;
}

.subs-dates_title {
    font-weight: 500;
}

.subs-dates_exp {
    color: #fd3995;
    font-size: 12px;
    padding-left: 16px;
}

.license-key__text {
    word-break: break-all;
    padding: 8px;
    border-radius: 4px;
    background-color: #f3f3f3;
    display: block;
}

.license-key{
    display: flex !important;
    align-items: center;
    gap: 12px;
}