@import url('https://fonts.googleapis.com/css2?family=Jura&display=swap');

:root {
    --jura-font: "Jura", sans-serif;
    --cl-lightGrey: #E7E7E7;
    --cl-midGrey: #dbdbdb;
    --cl-brightRed: #E60060;
    --cl-purple: #391280;
    --cl-lightGreen: #80c2bd;
    --cl-orange: #ED6B06;
    --cl-teal: #68AFA8;
    --cl-tealLight: #c4e6e3;
    --purple-gradient: linear-gradient(#AE93E0, #330B7C);
    --red-gradient: linear-gradient(#F72644,#E60060);
    --green-gradient: linear-gradient(#88CCC6, #049387);
    --lightgreen-gradient: linear-gradient(rgb(135, 255, 102), rgb(76, 196, 42));
    --blue-gradient: linear-gradient(90deg,#104ac7, #3284f1,#6ebafc);
    --pink-gradient: linear-gradient(180deg, rgba(230, 0, 96) 0%, rgba(125, 0, 52) 100%);
    --yellow-gradient: linear-gradient( #DDE237,#E2CA3C);
    --orange-gradient: linear-gradient(#f3b17c, #f19a58);
    --grey-gradient: linear-gradient(#E7E7E7, #A0A0A0);
}

* {
    box-sizing: border-box;
}

main {
    height: 100vh;
}

body {
    overflow: hidden;
}

html, body {
    font-family: "Sofia Pro", Arial !important;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    padding: 0;
}

a, button {
    font-family: inherit;
}

label {
    color: var(--cl-purple);
    font-weight: 600;
}

.btn {
    letter-spacing: 0.5px;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0px 4px 10px 3px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(25px);
}

.btn-container {
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

    .btn-container button{
        margin-inline: 2rem;
    }

.btn-purple {
    background: linear-gradient(#AE93E0, #330B7C);
    color: #fff;
}

    .btn-purple:hover {
        background: linear-gradient(#330B7C, #330B7C);
        transition: background 0.5s;
        color: #fff;
    }

.btn-green {
    transition: all 0.5s;
    background: linear-gradient(#88CCC6, #049387);
    color: #fff;
}

    .btn-green:hover {
        background: linear-gradient(#049387, #049387);
        color: #fff;
    }

.btn-grey {
    background: linear-gradient(#E7E7E7, #A0A0A0);
    transition: background 0.5s;
    color: #000;
}

    .btn-grey:hover {
        background: linear-gradient(#A0A0A0, #E7E7E7);
        color: #000;
    }

.btn-pink {
    transition: all 0.5s;
    background: linear-gradient(180deg, rgba(230, 0, 96, 0.79) 0%, rgba(125, 0, 52, 0.79) 100%);
    color: #fff;
}

    .btn-pink:hover {
        background: linear-gradient(180deg, rgba(125, 0, 52, 0.79) 100%, rgba(230, 0, 96, 0.79) 0%);
        color: #fff;
    }

button i.fa-trash-can {
    color: var(--cl-brightRed);
    padding: 1rem;
}

button i.fa-circle-plus,
button i.fa-pencil 
{
    font-size: 1rem;
    color: var(--cl-brightRed);
}

button .btn-node {
    cursor: pointer;

}
/*----------------------Mapping styles--------------------------*/
div i.fa-arrow-up,
div i.fa-arrow-down {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cl-purple);
}

div.map-input {
    margin-top: 2rem !important;
    margin-bottom: 0.5rem;
}


div.map {
    margin-top: -2.2rem !important;
}

.mapping-container {
    margin-top: 0.8rem;
}

/*-----------------------input, output and transition title/button--------------------*/

.add-in-out {
    margin-inline: 1rem;
    font-size: 1.05rem;
    display: flex;
    font-weight: 500;
    color: var(--cl-brightRed);
    flex-direction: row !important;
    justify-content: space-between;
}

    .add-in-out i {
        font-size: 1rem;
        padding: 0.2rem 0 0.5rem 0 !important;
    }

/*-----------------input output and transitions display-------------------*/

.added-element {
    font-weight: 500;
    height: fit-content !important;
    margin-top: -0.2rem !important;
    margin-left: 1.2rem;
    margin-bottom: 0.5rem;
}

.added-element p {
line-height: 0.95rem;
}

/*-----------------------sidebar----------------------*/

.sidebar-tabs {
    position: absolute;
    top: 1rem;
}

.overview-tab,
.nodes-state-tab,
.pinned-state-tab {
    font-size: 1.6rem;
    text-align: center;
    padding: 1.6rem 0.15rem;
    background: var(--cl-midGrey);
    color: var(--cl-purple);
    border-radius: 0.8rem 0 0 0.8rem;
    filter: drop-shadow(0px 4px rgba(0, 0, 0, 0.25));
    backdrop-filter: blur(25px);
    cursor: pointer;
    max-width: 2.2rem;
    margin-left: -2.2rem;
}

.nodes-state-tab,
.pinned-state-tab {
    margin-top: -0.2rem;
}

.active {
    background: var(--cl-lightGrey);
}

.overview-open,
.status-open,
.pinned-open {
    /* width: 25rem;*/
    width: 20rem;
    height: 100%;
}



.nodes-state-tab {
    z-index: -1;
}

.close {
    display: none;
}


.sidebar-wrapper {
    position: absolute;
    top: 4.5rem;
    right: 0;
    background: var(--cl-lightGrey);
    height: 90%;
    border-radius: 0.8rem 0 0 0.8rem;
}


.title {
    width: fit-content;
    margin-inline: auto;
    text-align: center;
    color: var(--cl-brightRed);
    margin-bottom: -1rem;
}

.sidebar-content hr,
.popup-container hr {
    width: 15rem;
    width: 12rem;
    height: 0.14rem;
    color: var(--cl-purple);
    opacity: 1;
    margin-bottom: 2rem;
    margin-inline: auto;
}

.sidebar-content {
    position: relative;
    overflow-y: auto;
    padding: 0.5rem 0.8rem;
}

.process-notes {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    margin-left: 0.5rem !important;
    margin-top: 0.8rem !important;
    margin-bottom: 1.2rem !important;
    width: 92%;
}

    .process-notes label {
       font-size: 1rem;
       font-weight: 500;
       color: var(--cl-brightRed);
    }

/*----------SIDEBAR VALIDATION----------*/

.validation-open {
    width: 40rem;
}

/*--------------------------------VALIDATION------------------------------*/
.validation-wrapper .mud-table-cell {
    padding: 0;
    height: 2rem !important;
}

.validation-issue {
    width: 17rem;
    margin-inline: auto;
    font-size: 0.85rem;
}

    .validation-issue div {
        margin-bottom: 0.5rem;
    }

.validation-title {
    color: var(--cl-purple);
    margin-top: -1rem;
    margin-bottom: 0.5rem;
}

.validation-issue .fa-hexagon-exclamation,
.validation-issue .fa-triangle-exclamation {
    font-size: 1rem;
    margin-right: 0.2rem;
}

.validation-issue .fa-triangle-exclamation {
    color: red !important;
}

.validation-issue .fa-hexagon-exclamation {
    color: darkorange;
}

.sidebar-validation {
    position: absolute;
    top: 2.3rem;
    right: 0.5rem;
    margin-bottom: 0.2rem;
    padding: 0.15rem 0.4rem 0.4rem 0.15rem;
    background-color: transparent;
    cursor: pointer;
}

    .sidebar-validation .fa-bug {
        transition: color 0.4s;
        font-size: 1.6rem;
        color: var(--cl-brightRed);
        transform: rotate(-130deg)
    }

        .sidebar-validation .fa-bug:hover {
            transition: color 0.4s;
            color: var(--cl-purple);
            font-size: 1.7rem;
        }



    .sidebar-validation .bug-counter {
        text-align: center;
        line-height: 1.1rem;
        position: absolute;
        top: 0.5rem;
        left: 0.25rem;
        color: #fff;
        font-size: 0.7rem;
        background: var(--cl-brightRed);
        width: 1.1rem;
        height: 1.1rem;
        border-radius: 50%;
        display: inline-block;
        transform: rotate(130deg)
    }

.validation-list {
    margin-top: 1.6rem;
    padding-inline: 1rem;
}

.validation-issue .no-validation-issues {
    font-size: 1.4rem;
    text-align: center;
    margin-top: 4rem
}

.no-validation-issues i {
    font-size: 2rem;
    color: green;
}

.close {
    display: none;
}



/*-----------------------------form styling-------------------------------*/

.form-container,
.mapping-container {
    width: 18rem;
    margin: 0 auto;
    padding-right: 0.5rem;
}



    .form-container div {
        display: flex;
        flex-direction: column;
        /*    margin-top: 0.6rem;*/
    }

    .form-container label {
        margin-left: 0.5rem;
    }



.form-input,
.tableForm-input {
    border: none;
    border-radius: 0.4rem;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
}

.form-input {
    font-size: 0.9rem;
    padding: 0.2rem 0.6rem !important;
    background: #D9D9D9;
}

.tableForm-input {
    font-size: 1rem;
    padding: 0rem 0.3rem;
    background: #f3f3f3 !important;
}

input.source {
    width: 5.45rem !important;
}

input.item {
    width: 16rem !important;
}

input.to {
    width: fit-content !important;
}

input.class {
    width: 6rem !important;
}


/*--------------------------------------------------------------*/

.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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}


