:root {
    --primary-theme-color: #152846;
    --secondary-theme-color: #EAECF0;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

div.background-primary {
    background-color: var(--primary-theme-color);
    height: 18vh;
    width: 100vw;
}

div.background-secondary {
    background-color: var(--secondary-theme-color);
    height: 82vh !important;
    width: 100vw;
}

.dxbl-menu-left {
    padding-top: 32px;
    padding-left: 16px;
    border-radius: 0 !important;
    background-color: transparent !important;
}

.dxbl-menu-top {
    padding: 0 !important;
    background-color: transparent !important;
    color: white;
    margin: 0 1rem 0 0;
    --dxbl-menu-item-hover-color: var(--primary-theme-color) !important;
    --dxbl-menu-item-hover-bg: white !important;
    --dxbl-menu-item-selected-bg: white !important;
    --dxbl-menu-item-selected-color: var(--primary-theme-color) !important;
    --dxbl-menu-item-selected-hover-bg: white !important;
    --dxbl-menu-item-selected-hover-color: var(--primary-theme-color) !important;
    --dxbl-menu-top-right-border-radius: 0 !important;
    --dxbl-menu-bottom-right-border-radius: 0 !important;
    --dxbl-menu-top-left-border-radius: 0 !important;
    --dxbl-menu-bottom-left-border-radius: 0 !important;
}

.dxbl-menu-item {
    --dxbl-menu-item-line-height: 24px !important;
    --dxbl-menu-item-padding-y: 8px !important;
}



.dxbl-grid .dxbl-grid-table {
    border-collapse: collapse !important;
}


    .dxbl-grid .dxbl-grid-table > tbody > tr, .dxbl-grid .dxbl-grid-table > tfoot > tr, .dxbl-grid .dxbl-grid-table > thead > tr {
        border: none !important;
        border-bottom: 1px solid var(--Gray-300, #D0D5DD) !important;
    }

dxbl-grid {
    --dxbl-grid-text-cell-padding-x: 24px !important;
    --dxbl-grid-text-cell-padding-y: 8px !important;
    --dxbl-grid-header-bg: #EAECF0 !important;
    --dxbl-grid-border-radius: 0 !important;
}

.dxbl-grid .dxbl-grid-table .dxbl-grid-command-cell {
    --dxbl-grid-text-cell-padding-x: 0px !important;
}

.dxbl-grid-command-cell > div > .dxbl-btn-icon-only {
    --dxbl-btn-padding-x: 0 !important;
}

td > dxbl-check {
    display: flex !important;
    align-items: center;
    justify-content: center;
}


h1:focus {
    outline: none;
}

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

.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: 0.8rem 0.8rem;
    margin: 0rem 1rem 1rem 0;
    background-color: white;
    border: 1px solid var(--Brand-100);
    border-top: 0px;
    box-shadow: 0px 20px 24px -4px rgba(16, 24, 40, 0.08), 0px 8px 8px -4px rgba(16, 24, 40, 0.03);
    flex-grow: 1;
    height: 1vh !important; /* This is a hack to make the content scrollable */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.content-affix {
    padding: 0.4rem 0.4rem;
    margin: 0rem 0 0.5rem 0;
    background-color: white;
    border: 0.5px solid var(--Brand-300);
    border-top: 0px;
    box-shadow: var(--Box-Shadow-MD);
}

.content::-webkit-scrollbar {
    width: 10px;
}

.content::-webkit-scrollbar-track {
    background-color: lightgrey;
    border-radius: 10px;
}

.content::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    border-radius: 10px;
}

.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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxp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zI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}

.loading-container {
    z-index: 5000;
    width: 100vw;
    height: 100vh;
}

    .loading-container i {
        color: white;
    }

.loading-icon {
    position: fixed;
    top: 30%;
    left: 50%;
    margin-left: -55px; /* Negative half of width. */
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    z-index: 4000;
    width: 100%;
    height: 100%;
}

@-webkit-keyframes infiniteRotate {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}
/* Standard syntax */
@keyframes infinite-rotate {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

.spin {
    -webkit-animation: infiniteRotate 2s linear infinite; /* Safari */
    animation: infiniteRotate 2s linear infinite;
}

.gradient-background {
    background: linear-gradient(-63deg,#062c54 10%,#07396e 70%,#062c54 90%);
    background-size: 180% 180%;
    animation: gradient-animation 27s ease infinite;
    position: absolute;
}

.logo {
    /*content: url('/images/iniflow_logo_negatief-300x122.webp');*/
    max-width: 350px;
    margin: auto;
}

.h-100 {
    height: 100% !important
}

.w-100 {
    width: 100% !important
}

.content-group {
    max-width: 600px;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1; /* Ensure form is above the background */
}

.form-group {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 1s;
    width: 450px;
}

.hidden {
    display: none !important;
    visibility: hidden !important;
}

.alignRight {
    text-align: end;
}

.top-row {
    background-color: transparent;
    /*border-bottom: 1px solid #d6d5d5;*/
    justify-content: flex-end;
    height: 5rem;
    display: flex;
    align-items: center;
}

    .top-row ::deep a, .top-row ::deep .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row ::deep a:hover, .top-row ::deep .btn-link:hover {
            text-decoration: underline;
        }

        .top-row ::deep a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 640.98px) {
    .top-row {
        justify-content: space-between;
    }

        .top-row ::deep a, .top-row ::deep .btn-link {
            margin-left: 0;
        }
}

.icontooltip {
    cursor: default !important;
}

.blazored-toast-container {
    z-index: 9999 !important;
}

.dropzone-image {
    max-width: 100%;
    max-height: 100%;
}

.custom-drop-zone {
    padding: 0 !important;
    border-style: dashed !important;
    border-width: 2px !important;
    height: 100px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: rgba(183, 183, 183, 0.1) !important;
}

    .custom-drop-zone svg {
        width: 42px !important;
        height: 42px !important;
    }

    .custom-drop-zone.custom-drop-zone-hover {
        background-color: #e6f7ff; /* light blue background */
        border: 2px dashed #1890ff; /* dashed blue border */
        box-shadow: 0 0 8px rgba(24, 144, 255, 0.5); /* subtle glow */
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }

    .custom-drop-zone * {
        pointer-events: none;
    }


.drop-file-label {
    font-weight: 500;
    font-size: 1.2rem;
}

.documents-slide-on-preview {
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.hidden {
    display: none;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem; /* Optional: adds some space between tags */
}

.tag-badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 80%;
    font-weight: 600;
    color: #fff;
    background-color: var(--Brand-Primary-Light);
    border-radius: 0.25rem;
}

.fit-content {
    width: fit-content !important;
}

.athena-timeline .athena-timeline-item:last-of-type {
    border: none !important;
    padding: 0 0 1rem calc(1rem + 3px);
}

    .athena-timeline .athena-timeline-item:last-of-type::before {
        content: '';
        position: absolute;
        left: -7px;
        top: 0;
        width: 17px;
        height: 17px;
        background-color: #007bff;
        border-radius: 50%;
    }

.pulse {
    animation: pulse-animation 2s infinite;
}

.pulse-lg {
    animation: pulse-animation-large 2s infinite;
}

/*Animations*/

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
}


@keyframes pulse-animation-large {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
    }

    100% {
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }

.GreenText {
    color: green !important;
}

dxbl-form-layout-item.BoldFormItem > label {
    font-weight: bold !important;
    color: black !important;
}

dxbl-form-layout-item.BoldFormItem input {
    font-weight: bold;
}

dxbl-form-layout-item.RedFormItem > label {
    color: red !important;
}

dxbl-form-layout-item.RedFormItem input {
    color: red !important;
}