@import url('font-awesome/css/all.css');

::-webkit-scrollbar {
    width: 8px;
    height: 10px;
    background-color: #010022;
}

::-webkit-scrollbar-thumb {
    background-color: #D67DFF;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #C390D9;
    }

    ::-webkit-scrollbar-thumb:active {
        background-color: white;
    }

html, body {
    font-family: Inter, sans-serif, 'Font Awesome 6 Free', 'Font Awesome 6 Brands';
    color: white;
    background-color: #010022;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Mono', sans-serif, 'Font Awesome 6 Free', 'Font Awesome 6 Brands';
    font-weight: 400;
    color: #C390D9;
}

code {
    font-family: 'JetBrains Mono', NSimSun, monospace, 'Font Awesome 6 Free', 'Font Awesome 6 Brands';
    color: #C390D9;
}

input {
    color: white;
    background-color: #752efd;
    border-color: #d67dff;
    border-width: 2px;
    border-radius: .75rem;
}

select {
    color: white;
    background-color: #752efd;
    border-color: #d67dff;
    border-width: 2px;
    border-radius: .75rem;
}

a, .btn-link {
    color: white;
}

.dropdown-item {
    color: white;
}

    .dropdown-item:hover, .dropdown-item:active {
        color: #020143;
        background-color: #C390D9;
    }

    .dropdown-item:focus {
        color: #020143;
        background-color: #240033;
    }

.dropdown-header {
    color: #C390D9;
}

.dropdown-divider {
    border-top-color: #C390D9;
    border-width: 2px;
}

.btn-primary {
    color: white;
    background-color: #752efd;
    border-color: #d67dff;
    border-width: 2px;
}

    .btn-primary:hover, .btn-primary:active, .btn.show {
        color: #010022 !important;
        background-color: #C390D9 !important;
        border-color: #d67dff !important;
        border-width: 2px;
    }

    .btn-primary:focus {
        color: #010022;
        background-color: #C390D9;
        border-color: #d67dff;
        border-width: 2px;
        box-shadow: #d67dff80 0 0 0 0.10rem;
    }

.btn-secondary {
    color: white;
    background-color: #010022;
    border-color: #d67dff;
    border-width: 2px;
}

    .btn-secondary:hover, .btn-secondary:active {
        color: white !important;
        background-color: #020143 !important;
        border-color: #d67dff !important;
        border-width: 2px;
    }

    .btn-secondary:focus {
        color: white;
        background-color: #020143;
        border-color: #d67dff;
        border-width: 2px;
        box-shadow: #d67dff80 0 0 0 0.10rem;
    }

.content {
    padding-right: 4rem !important;
    padding-left: 4rem !important;
}

#blazor-error-ui {
    color: white;
    background-color: #40005b;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

tbody, td, tfoot, th, thead, tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
    border-block-end: unset;
}

.card-title {
    font-size: xx-large;
    color: #C390D9;
}

.icon-square {
    width: 3rem;
    height: 3rem;
    border-radius: .75rem;
    background-color: #020143 !important;
    color: #D67DFF !important;
}

.icon-square-invert {
    width: 3rem;
    height: 3rem;
    border-radius: .75rem;
    background-color: #752efd !important;
    color: #D67DFF !important;
}

.icon-square-projects {
    width: 9rem;
    height: 9rem;
    border-radius: .75rem;
    border-color: #D67DFF;
    border-width: 0.1rem;
    border: solid;
    margin: 0.15rem;
    background-color: #010022 !important;
    color: #D67DFF !important;
    align-items: center;
    display: flex;
    justify-content: center;
}

.card {
    border-color: #D67DFF;
    border-width: 2px;
    border-radius: 1em;
    background-color: #020143 !important;
    color: white !important;
}

.jumbotron {
    border: solid;
    border-color: #D67DFF;
    border-width: 2px;
    border-radius: 1em !important;
    background-color: #020143 !important;
    color: white !important;
}

.modal-header {
    border-bottom-color: #C390D9;
}

.modal-footer {
    border-top-color: #C390D9;
}

.col-lg-4 {
    padding-top: calc(var(--bs-gutter-x)* .5);
    padding-bottom: calc(var(--bs-gutter-x)* .5);
}

.carousel-caption {
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    align-content: end;
    padding-bottom: 2em;
}

.translucency-rule {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(2, 1, 67, 0.5) !important;
}

.tooltip-apt {
    font-family: Inter, sans-serif, 'Font Awesome 6 Free', 'Font Awesome 6 Brands';
    --bs-tooltip-bg: #C390D9;
    --bs-tooltip-color: #010022;
    --bs-tooltip-max-width: 700px;
    --bs-tooltip-border-radius: 0.5em;
    --bs-tooltip-arrow-width: 0px;
    --bs-tooltip-arrow-height: 0px;
}

.sub {
    font-style: oblique;
    font-size: smaller;
    color: gray;
}

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #020143;
        stroke-width: 0.3rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #C390D9;
            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");
    }

.accordion-header {
    border-radius: inherit !important;
}

.accordion-item:not(:first-of-type) {
    border-top-width: 2px;
    border-top-style: solid;
    border-top-color: #D67DFF;
    margin-top: 10px;
}

.accordion {
    --bs-accordion-btn-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23D67DFF' stroke-linecap='round' stroke-linejoin='round'><path d='M2 5L8 11L14 5'/></svg>");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23D67DFF' stroke-linecap='round' stroke-linejoin='round'><path d='M2 5L8 11L14 5'/></svg>");
}

.accordion-button {
    color: #D67DFF;
    background-color: #020143;
    border-color: #D67DFF;
    border-width: 2px;
    border-radius: inherit !important;
    box-shadow: none;
}

    .accordion-button:not(.collapsed) {
        color: #D67DFF;
        background-color: #020143;
        border-color: #D67DFF;
        border-width: 2px;
        border-radius: inherit !important;
        box-shadow: none;
    }

    .accordion-button:focus {
        z-index: unset;
        box-shadow: none;
    }
