h1:focus {
    outline: none;
}

body {
    margin: 0;
    
    position: relative;
}


.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.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."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
/* From Uiverse.io by Spacious74 */
.container {
    border: solid 1px #8d8d8d;
    padding: 20px;
    border-radius: 20px;
    background-color: #fff;
}

    .container .heading {
        font-size: 1.3rem;
        margin-bottom: 20px;
        font-weight: bolder;
    }

.form {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .form .btn-container {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .form .btn {
        padding: 10px 20px;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 3px;
        border-radius: 10px;
        border: solid 1px #1034aa;
        border-bottom: solid 1px #90c2ff;
        background: linear-gradient(135deg, #0034de, #006eff);
        color: #fff;
        font-weight: bolder;
        transition: all 0.2s ease;
        box-shadow: 0px 2px 3px #000d3848, inset 0px 4px 5px #0070f0, inset 0px -4px 5px #002cbb;
    }

        .form .btn:active {
            box-shadow: inset 0px 4px 5px #0070f0, inset 0px -4px 5px #002cbb;
            transform: scale(0.995);
        }

.input-field {
    position: relative;
}

    .input-field label {
        position: absolute;
        color: #8d8d8d;
        pointer-events: none;
        background-color: transparent;
        left: 15px;
        transform: translateY(0.6rem);
        transition: all 0.3s ease;
    }

    .input-field input {
        padding: 10px 15px;
        font-size: 1rem;
        border-radius: 8px;
        border: solid 1px #8d8d8d;
        letter-spacing: 1px;
        width: 100%;
        color:black;
    }

        .input-field input:focus,
        .input-field input:valid {
            outline: none;
            border: solid 1px #0034de;
        }

            .input-field input:focus ~ label,
            .input-field input:valid ~ label {
                transform: translateY(-51%) translateX(-10px) scale(0.8);
                background-color: #fff;
                padding: 0px 5px;
                color: #0034de;
                font-weight: bold;
                letter-spacing: 1px;
                border: none;
                border-radius: 100px;
            }

.form .passicon {
    cursor: pointer;
    font-size: 1.3rem;
    position: absolute;
    top: 6px;
    right: 8px;
}

.form .close {
    display: none;
}


/* width */
::-webkit-scrollbar {
    width: 30px;
    height: 30px !important;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 20px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: red;
    border-radius: 10px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #b30000;
        width: 30px;
    }









.colorcontainer-items {
    display: flex;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.item-color {
    position: relative;
    flex-shrink: 0;
    width: 32px;
    height: 40px;
    border: none;
    outline: none;
    transition: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.1);
    cursor: pointer;
}

    .item-color::after {
        position: absolute;
        content: "";
        inset: 0;
        width: 40px;
        height: 40px;
        background-color: var(--color);
        border-radius: 6px;
        transform: scale(1.2);
        pointer-events: none;
        transition: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.1);
    }

    .item-color::before {
        position: absolute;
        content: attr(aria-color);
        left: 65%;
        bottom: 52px;
        font-size: 8px;
        line-height: 12px;
        transform: translateX(-50%);
        padding: 2px 0.25rem;
        background-color: #ffffff;
        border-radius: 6px;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.1);
    }

    .item-color:hover {
        transform: scale(1.5);
        z-index: 99999;
    }

        .item-color:hover::before {
            opacity: 1;
            visibility: visible;
        }

    .item-color:active::after {
        transform: scale(1.1);
    }

    .item-color:focus::before {
        content: "Copy";
    }

    /* Sibling hover effects */
    .item-color:hover + * {
        transform: scale(1.3);
        z-index: 9999;
    }

        .item-color:hover + * + * {
            transform: scale(1.15);
            z-index: 999;
        }

    /* :has() is not widely supported yet in all browsers */
    .item-color:has(+ *:hover),
    .item-color:has(+ * + *:hover) {
        transform: scale(1.3);
        z-index: 9999;
    }










/* From Uiverse.io by Smit-Prajapati */
.radio-container {
    --main-color: #f7e479;
    --main-color-opacity: #f7e47929;
    --total-radio: 3;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 0.5rem;
    min-width: 200px;
    overflow: clip;
}

    .radio-container input {
        cursor: pointer;
        appearance: none;
    }

    .radio-container .glider-container {
        position: absolute;
        left: 2px;
        top: 0;
        bottom: 0;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(27, 27, 27, 1) 50%, rgba(0, 0, 0, 0) 100%);
        width: 1.5px;
    }

        .radio-container .glider-container .glider {
            position: relative;
            height: calc(100% / var(--total-radio));
            width: 100%;
            background: linear-gradient( 0deg, rgba(0, 0, 0, 0) 0%, var(--main-color) 60%, rgba(0, 0, 0, 0) 100% );
            transition: transform 0.5s cubic-bezier(0.37, 1.95, 0.66, 0.56);
        }

            .radio-container .glider-container .glider::before {
                content: "";
                position: absolute;
                height: 60%;
                width: 300%;
                top: 50%;
                transform: translateY(-50%);
                background: var(--main-color);
                filter: blur(10px);
            }

            .radio-container .glider-container .glider::after {
                content: "";
                position: absolute;
                left: 0;
                height: 100%;
                width: 300px;
                background: linear-gradient( 90deg, var(--main-color-opacity) 0%, rgba(0, 0, 0, 0) 100% );
            }

    .radio-container label {
        cursor: pointer;
        padding: 1rem;
        position: relative;
        color: grey;
        transition: all 0.3s ease-in-out;
    }

    .radio-container input:checked + label {
        color: var(--main-color);
    }

    .radio-container input:nth-of-type(1):checked ~ .glider-container .glider {
        transform: translateY(0);
    }

    .radio-container input:nth-of-type(2):checked ~ .glider-container .glider {
        transform: translateY(100%);
    }

    .radio-container input:nth-of-type(3):checked ~ .glider-container .glider {
        transform: translateY(200%);
    }

    .radio-container input:nth-of-type(4):checked ~ .glider-container .glider {
        transform: translateY(300%);
    }

    .radio-container input:nth-of-type(5):checked ~ .glider-container .glider {
        transform: translateY(400%);
    }

    .radio-container input:nth-of-type(6):checked ~ .glider-container .glider {
        transform: translateY(500%);
    }

    .radio-container input:nth-of-type(7):checked ~ .glider-container .glider {
        transform: translateY(600%);
    }

    .radio-container input:nth-of-type(8):checked ~ .glider-container .glider {
        transform: translateY(700%);
    }

    .radio-container input:nth-of-type(9):checked ~ .glider-container .glider {
        transform: translateY(800%);
    }

    .radio-container input:nth-of-type(10):checked ~ .glider-container .glider {
        transform: translateY(900%);
    }





.dialog-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-animation: fadeIn 1s ease both;
    animation: fadeIn 1s ease both;
    z-index: 50;
    backdrop-filter: blur(30px) brightness(0.5);
}

.dialog-box {
    border-radius: 8px;
    position: relative;
    /* backdrop-filter: brightness(0.5); */
    width: 100%;
    color: white;
    max-width: fit-content;
    box-shadow: 0 2px 10px rgb(0 0 0);
    
    border-radius: 20px;
    border: 1px solid #ffffff4d;
    box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.1);
    -webkit-animation: fadeIn 1s ease both;
    animation: fadeIn 1s ease both;
   
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
}

    .dialog-header h3 {
        margin: 0;
    }

.close-button {
    background: #ff00005e;
    border: none;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    right: 0px;
    color: #ffffff;
    font-weight: 700;
    border: 1px solid red;
    padding: 2px 5px;
    top: -45px;
}


.dialog-box .x {
    filter: grayscale(1);
    border: none;
    background: none;
    position: absolute;
    top: 4px;
    right: 15px;
    transition: ease filter, transform 0.3s;
    cursor: pointer;
    transform-origin: center;
    z-index:5;
}

    .dialog-box .x:hover {
        filter: grayscale(0);
        transform: scale(1.1);
    }

.dialog-body {
    padding: 20px;
}

.dialog-footer {
    border-top: 1px solid #ccc;
    text-align: right;
    position: relative;
}


@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}



.dialog-title {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgb(255 255 255 / 0.5);
    
    
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    width: 100%;
    text-align: center;
    opacity: .9;
    
}








.tabs {
    display: flex;
    gap: 8px;
}

.tab-group input {
    appearance: none;
}

.tab-group label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    line-height: 1.6;
    border: 1px solid #cccccc;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    position: relative;
    background-color: transparent;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

    .tab-group label::after {
        content: "";
        position: absolute;
        bottom: -32px;
        left: 50%;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #0a3cff;
        transform: translateX(-50%);
        transform-origin: 0 0;
        scale: 0;
        opacity: 0;
        z-index: -1;
        transition: all 0.48s 0.2s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .tab-group label::before {
        content: "";
        position: absolute;
        top: -24px;
        left: 50%;
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background-color: #0a3cff;
        transform: translate(-50%, -50%);
        z-index: -1;
        opacity: 0;
        scale: 0;
        transform-origin: 0 0;
        transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .tab-group label:hover {
        border-color: #0a3cff;
        color: #0a3cff;
    }

.tab-group input:checked + label {
    border-color: transparent;
    color: #ffffff;
    scale: 1.1;
}

    .tab-group input:checked + label::after {
        bottom: -16px;
        opacity: 1;
        scale: 1;
        box-shadow: 0rem 6px 13px rgba(10, 60, 255, 0.1), 0rem 24px 24px rgba(10, 60, 255, 0.09), 0rem 55px 33px rgba(10, 60, 255, 0.05), 0rem 97px 39px rgba(10, 60, 255, 0.01), 0rem 152px 43px rgba(10, 60, 255, 0);
    }

    .tab-group input:checked + label::before {
        opacity: 1;
        scale: 1;
        top: 50%;
        box-shadow: 0rem 6px 13px rgba(10, 60, 255, 0.1), 0rem 24px 24px rgba(10, 60, 255, 0.09), 0rem 55px 33px rgba(10, 60, 255, 0.05), 0rem 97px 39px rgba(10, 60, 255, 0.01), 0rem 152px 43px rgba(10, 60, 255, 0);
    }

.mud-collapse-container {
    justify-content: start;
}

.mud-collapse-wrapper-inner {
    margin-left: 20px;
}


.colorselected
{
    
}

    .colorselected::after {
        position: absolute;
        content: "";
        width: 40px;
        height: 40px;
        background-color: var(--color);
        box-shadow: white 0px 0px 4px 2px inset;
        pointer-events: none;
        inset: 0px;
        border-radius: 6px;
        border: 1px solid white;
        transition: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.1);
    }




.BlankHover {
    width: 150px;
    height: 130px;
    border: 1px solid green;
    background: #0557051f;
    box-shadow: inset 0 0 15px #f5f5f53b, inset 2px 0px 15px #1edc00, inset -6px 0 25px #04cc00, inset 6px 0 80px #00cc44, inset -6px 0 80px #00cccc, 0 0 15px #dddddd7d, -3px 0 40px #3ccc005c, 3px 0 25px #66cc00ad;
}

    .BlankHover:hover {
        transform: scale(1.1);
        filter: saturate(2);
    }







.plus {
    --b: 10px;
    --c: #0000 90deg, #00ff28 0;
    width: 100%;
    /* padding: 50px; */
    aspect-ratio: 1;
    background: conic-gradient(from 90deg at var(--b) var(--b), var(--c)) calc(100% + var(--b) / 2) calc(100% + var(--b) / 2) / calc(50% + var(--b)) calc(50% + var(--b));
    display: inline-block;
    /* margin: 10px; */
    vertical-align: middle;
    transition: transform 0.3s ease, background 0.3s ease;
}

    .plus:hover {
        transform: rotate(10deg);
        --c: #0000 90deg, #ff00aa 0; /* changes green to pink on hover */
    }






/* Chromium/Edge/Safari (WebKit/Blink) */
.scrollbox::-webkit-scrollbar {
    width: 8px; /* vertical scrollbar width */
    height: 8px; /* horizontal scrollbar height */
}

.scrollbox::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.scrollbox::-webkit-scrollbar-thumb {
    background: #bdbdbd;
    border-radius: 4px;
}

    .scrollbox::-webkit-scrollbar-thumb:hover {
        background: #9e9e9e;
    }

/* Firefox */
.scrollbox {
    /* options: auto | thin | none */
    scrollbar-width: thin; /* reduces thickness */
    scrollbar-color: #bdbdbd #f1f1f1; /* thumb color | track color */
}

/* Optional: only horizontal scrollbar height (if needed) */
.scrollbox {
    overflow: auto; /* already set inline, but ok here too */
}





.FieldEditor {
    grid-area: FieldEditor;
    display: flex;
    gap: 10px;
    min-width: 300px;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.FieldEditor-Component {
    width: 100%;
    padding: 10px;
    justify-content: center;
    align-items: center;
    align-self: center;
    align-content: center;
    justify-content: center;
    justify-items: center;
    max-height: 200px;
    height: 200px;
    overflow: auto;
}