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

:root {
    --vibrant-1: #FE5F09;
    --vibrant-2: #0277BD;
    --vibrant-success: #50C878;
    --vibrant-2-tint-1: #039BE5;
    --vibrant-2-tint-2: #044F6C;
    --vibrant-danger: #CE3D42;
}

html, body {
    font-family: 'Poppins','Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: var(--vibrant-2);
}

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

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: var(--vibrant-1);
}

.validation-errors {
    margin-bottom: 1.5rem;
}

#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+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbG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kuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

.i-large {
    height: 4em !important;
}

.btn.btn-primary {
    background: var(--vibrant-2);
}

.input-group-append .btn {
    border-top-left-radius: unset;
    border-bottom-left-radius: unset;
}

select {
    font-size: 0.75rem !important;
}

input {
    font-size: 0.75rem !important;
}

button {
    font-size: 0.75rem !important;
}


#form-new-client-additional {
    visibility: collapse;
    transition: .6s all;
    opacity: 0;
    color: black;
    background: whitesmoke;
}

    #form-new-client-additional *:not(input,svg) {
        font-size: 0.75rem;
    }

.form-expanded {
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: .5rem;
}

.form-collapse {
    padding: 0 !important;
    height: 0;
}


::-webkit-scrollbar {
    height: 4px;
    width: 4px;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--vibrant-2);
    transition: 0.6s all;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--vibrant-2-tint-2);
    }

::-webkit-scrollbar-corner {
    background: transparent;
}

table td, th {
    vertical-align: middle;
    transition: 0.15s all;
    user-select: none;
}

.form-select, .form-control {
    min-width: 150px;
}

.table-wrapper {
    overflow-y: auto;
}

fieldset, legend {
    all: revert;
}

.fixed-last-col {
    position: sticky;
    right: -1px;
    backdrop-filter: blur(2px);
    padding-left: 10px;
    padding: unset !important;
    width: 50px;
    min-width: 50px;
}

    .fixed-last-col::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        height: 100%;
        box-shadow: -2px 0px 4px 0px black;
        height: 100%;
        border-left: 1px solid rgba(255,255,255,.25);
    }

.th-action {
    cursor: pointer;
}

    .th-action:not(.th-action-asc):not(.th-action-desc):hover {
        box-shadow: inset 0 0 100px 100px whitesmoke;
        color: #373737 !important;
    }

p {
    font-size: 0.75rem;
    color: whitesmoke;
}

.spacer {
    height: 0.35rem;
}

.icon-asc, .icon-desc {
    display: none;
}

.th-action-asc .icon-asc {
    display: block !important;
}

.th-action-asc .icon-filter {
    display: none;
}

.th-action-desc .icon-desc {
    display: block !important;
}

.th-action-desc .icon-filter {
    display: none;
}

.icons {
    margin-left: 1rem;
}

.rz-treenode-label {
    width: 100%;
}

.p-black {
    color: black;
    margin-bottom: 0;
    text-align: end;
}

.row-info {
    border-bottom: 1px solid lightgray;
}

.background {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: #323F4B;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23414C50' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%230784B5'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");
}

.h-name {
    font-weight: bold;
    color: lightgray;
    text-transform: uppercase;
}

.form-login {
    border-radius: 0.5rem;
    backdrop-filter: blur(2px) brightness(0.7);
}

.h1-logo-b {
    font-weight: bold;
    color: white;
    border-right: 4px solid;
    padding-right: 1.25rem;
}

main {
    background-color: #323F4B;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23414C50' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%230784B5'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");
}

.list-group-item {
    transition: all .2s ease-out;
}

.xmark {
    font-size: 1.25rem !important;
    padding: 0rem 0.5rem;
    color: #C4161C;
    cursor: pointer;
}

.plus-sign {
    width: 1rem;
    height: 1rem;
    color: var(--vibrant-2);
    transition: all 0.2s ease-out;
    padding: .5rem;
    margin: 0 .5rem;
    border: 2px solid transparent;
    border-radius: 50%;
}

    .plus-sign:hover {
        background: var(--vibrant-2);
        color: white;
        border: 2px solid var(--vibrant-2);
    }

table tr th {
    padding: 1rem !important;
    font-size: .85rem;
    text-transform: uppercase;
    text-align: left;
}

.btn-fill {
    width: 100%;
    padding: .25rem;
    margin: 0;
    border-radius: 0;
    align-self: stretch;
}

.btn-content-driven {
    all: unset;
}

.th-add-new {
    background: gainsboro !important;
}

.rz-multiselect-item {
    overflow-wrap: anywhere;
}

.rz-popup {
    min-width: max-content !important;
}

.rz-paginator {
    padding-left: 1rem !important;
}

::selection {
    background: transparent;
    color: var(--vibrant-1);
}

.border-primary-left {
    border-left: 6px solid var(--vibrant-2-tint-1);
    padding-left: 1rem;
}

@media (max-width: 991px) {
    .page:has(.collapse) .auth {
        visibility: collapse;
        height: 0 !important;
    }

        .page:has(.collapse) .auth svg {
            visibility: collapse;
            height: 0 !important;
        }
}

.th-action-asc, .th-action-desc {
    box-shadow: inset 0 0 100px 100px var(--vibrant-2-tint-1) !important;
    color: white !important;
}

.card-dark {
    background: #272727;
}

.icon-circle-bordered {
    position: absolute;
    top: -1rem;
    left: -1rem;
    fill: var(--vibrant-2);
    background: #373737;
    outline: 2px solid var(--vibrant-2);
    outline-offset: 4px;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    padding: 1rem;
}

.form-check-input:checked {
    background-color: var(--vibrant-2-tint-2);
    border-color: var(--vibrant-2-tint-2);
}

.rz-treenode-content .rz-treenode-label {
    padding: 2px !important;
}

.rz-treenode-content:not(.rz-treenode-content-selected):hover .rz-treenode-label {
    background-color: var(--vibrant-2-tint-1) !important;
}

.rz-paginator {
    background-color: gainsboro !important;
}

.rz-paginator-page.rz-state-active {
    background-color: var(--vibrant-2-tint-1) !important;
    color: white !important;
}

.rz-paginator-element:hover, .rz-paginator-page:hover {
    color: var(--vibrant-2-tint-1) !important;
}

.dot-success {
    background: var(--vibrant-success);
}

.dot-error {
    background: var(--vibrant-danger) !important;
}

.dot-info {
    background: whitesmoke;
}

.dot-loading {
    background: var(--vibrant-1);
}

td {
    font-size: .75rem;
}

.text-muted-dark {
    color: gainsboro;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1600px !important;
    }
}

.btn-outline-primary {
    --bs-btn-color: var(--vibrant-2-tint-1);
    --bs-btn-border-color: var(--vibrant-2-tint-1);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--vibrant-2-tint-1);
    --bs-btn-hover-border-color: var(--vibrant-2-tint-1);
    --bs-btn-active-border-color: transparent;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: unset !important;
    outline: 1px solid var(--bs-btn-border-color);
    outline-offset: 2px;
}

.btn-danger {
    --bs-btn-bg: var(--vibrant-danger);
    --bs-btn-border-color: var(--vibrant-danger);
}

.form-primary {
    background: var(--vibrant-2);
    color: white !important;
    border: 2px solid var(--vibrant-2-tint-1);
    outline: 2px solid var(--vibrant-2-tint-2);
    outline-offset: 2px;
    letter-spacing: .5px;
    font-size: 1rem !important;
}

    .form-primary:focus {
        background-color: var(--vibrant-2-tint-2);
    }

.form-check-input {
    --bs-form-check-bg: var(--bs-body-bg);
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: var(--bs-form-check-bg);
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: var(--bs-border-width) solid var(--bs-border-color);
}

.form-check-xl {
    font-size: 1.25rem !important;
}

.check-primary:checked {
    background-color: var(--vibrant-2);
    border-color: var(--vibrant-2-tint-1);
}

.form-dark {
    color: white !important;
    background: #474747;
    border-color: #575757;
    outline: unset !important;
}

    .form-dark:focus {
        background-color: #575757;
        border-color: var(--vibrant-2);
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

.label-dark {
    color: darkgray;
    letter-spacing: .5px;
    font-weight: bold;
    font-size: .875rem;
    margin-bottom: .25rem;
    padding-left: .1rem;
}

.radio-group {
    display: flex;
    justify-content: space-between;
}

.radio-item {
    padding: 1rem;
    color: white;
    width: 100%;
    margin: 0rem .2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .25rem;
    background: #373737;
    transition: all .3s ease-in-out;
    cursor: pointer;
    border: 1px solid;
    border-color: #474747;
}

    .radio-item:hover:not(.radio-active) {
        background: var(--vibrant-2-tint-2);
    }

.radio-active {
    font-weight: bold;
    letter-spacing: .5px;
}

.radio-active-info {
    border-color: var(--vibrant-2-tint-1);
    background: var(--vibrant-2);
}

.radio-active-warning {
    border-color: var(--vibrant-1);
    background: var(--vibrant-1);
}

.radio-active-error {
    border-color: #C41;
    background: var(--vibrant-danger);
}

.top-navigation {
    backdrop-filter: brightness(.75) blur(100px);
    box-shadow: 4px 2px 4px #272727;
    margin: -1.5rem -1.5rem 2rem -2rem;
}

.subnav-item {
    padding: 1rem 2rem;
    color: gainsboro;
    font-weight: 300;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

    .subnav-item.active {
        background: var(--vibrant-2);
        color: whitesmoke;
        font-weight: 600;
    }

.form-check-input-dark {
    background-color: #474747;
    border: #373737;
}

    .form-check-input-dark:checked {
        background-color: var(--vibrant-2);
    }

.form-check-input-lg {
    width: 1.25rem;
    height: 1.25rem;
}

.form-select-dark {
    background-color: #474747;
    color: white;
    border-color: var(--vibrant-2-tint-2);
}

.td-hover {
    cursor: pointer;
}

    .td-hover:hover {
        --bs-table-bg-type: white !important;
    }
