
:root {
    --body-bg: oklch(97.63% 0.0013 17.18);
    --black-clr: oklch(23.48% 0.0041 264.49);
    --white-clr: #fff;
    --button-base-clr: oklch(27.35% 0.0036 286.16);
    --button-secondary-clr: #ffffff;
    --button-tertiary-clr: oklch(57.16% 0.1548 262.99);
    --tab-clr: oklch(23.9% 0.0041 264.49);
    --sb-clr: oklch(47.1% 0.0034 264.53);
    /*--ff: 'Open Sans', sans-serif;*/
    --ff: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", arial, "Noto Sans", "Liberation Sans", sans-serif, "apple color emoji", "Segoe UI emoji", "Segoe UI Symbol", "Noto color emoji";
    --fs-10: 0.625rem;
    --fs-11: 0.688rem;
    --fs-12: 0.75rem;
    --fs-13: 0.813rem;
    --fs-14: 0.875rem;
    --fs-16: 1rem;
    --fs-20: 1.25rem;
    --fw500: 500;
    --fw600: 600;
    --brand-clr: #2c768b;
    --sidebar-width: 16rem;
    --sidebar: #18181b;
    --sidebar-active-bg: #27272a;
    --sidebar-text: #f4f4f5;

    --chart-clr-1: #1dbd88; /* compliant */
    --chart-clr-2: #de2319; /* non-compliant */
    --chart-clr-3: #d2a01e; /* partial */
    --chart-clr-4: #90a1b9; /* not-applicable */

    --chart-clr-5: #118592; /* audit */
    --chart-clr-6: #48bccf; /* checklist */
    --chart-clr-7: #ce6c2f; /* log */
}

@property --accent {
    syntax: "<color>";
    inherits: false;
    initial-value: #4C585B;
}

body {
    font-family: var(--ff) !important;
    background-color: #fcfcfc !important;
    color: var(--black-clr);
    overflow:clip;
    height:100vh;
}

    body * {
        scrollbar-width: thin;
        scrollbar-color: var(--sb-clr) transparent;
    }

h1:focus {
    outline: none;
}

body:has(.sidebar[data-collapsed="true"]) [data-loader] {
    width: 100%;
    left: 0;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Z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jgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}


.input-control,
.text-area-control {
    --tw-border-opacity: 1 !important;
    border-color: rgb(206 212 218/var(--tw-border-opacity)) !important;
    border-radius: 0.25rem !important;
    border-width: 0.5px !important;
    width: 100% !important;
    transition: ease-in-out .3s all;
    font-size: var(--fs-12) !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

    .input-control[data-dropdown]::after {
        --size: 5px;
        position: absolute;
        content: "";
        height: 0;
        width: 0;
        border-left: solid var(--size) transparent;
        border-right: solid var(--size) transparent;
        border-top: solid var(--size) var(--black-clr);
        border-bottom: solid transparent;
        top: calc(50% - 2px);
        right: 10px;
    }

textarea {
    field-sizing: content;
}

.input-control {
    height: 2rem !important;
    box-shadow: none !important;
}

    .input-control:disabled {
        background-color: #f2f2f2 !important;
        color: #77858b !important;
    }

    .input-control input {
        font-size: var(--fs-12) !important;
    }

.required::after {
    content: '*';
    color: #f85149;
    padding-left: 1px;
}

.input-control:-webkit-autofill,
.input-control:-webkit-autofill:hover,
.input-control:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--black-clr);
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
}

.text-area-control {
    line-height: 1rem !important;
    min-height: 3rem important;
}



.filter-input-control {
    height: 2rem !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: var(--fs-12) !important;
    box-shadow: none !important;
    border-bottom: solid .5px;
    border-color: rgb(206 212 218/var(--tw-border-opacity)) !important;
    border-left: none !important;
    border-top: none !important;
    border-right: none !important;
}

.input-group input {
    background-color: transparent;
    transition: 0.2s ease;
}

.input-group label:first-child {
    position: absolute;
    left: 0.625rem;
    top: -0.5rem;
    padding: 0 0.25rem;
    background: #fff;
    transition: 0.2s ease-out;
    font-size: 0.625rem;
}

.validation-message {
    color: red;
    font-size: var(--fs-12);
}

/*button styles*/
.btn-sm {
    color: var(--button-secondary-clr);
    background-color: var(--button-base-clr) !important;
    transition: 0.3s;
    font-size: var(--fs-12);
    line-height: 1rem;
    font-weight: var(--fw400);
    border-radius: 4px;
    padding: 0 0.5rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    &:disabled

{
    opacity: 0.6;
}

}

.btn-sm-secondary {
    color: var(--button-base-clr);
    border: solid 1px #e4e4e7;
    background: var(--button-secondary-clr) !important;
    font-size: var(--fs-12);
    line-height: 1rem;
    font-weight: var(--fw400);
    border-radius: 4px;
    padding: 0 0.5rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    &:disabled
{
    opacity: 0.6;
}
&:hover {
    background: #f4f4f5;
}
}

.btn-lg {
    color: var(--button-secondary-clr);
    background-color: var(--button-base-clr) !important;
    transition: 0.3s;
    font-size: var(--fs-14);
    line-height: 1.188rem;
    font-weight: var(--fw400);
    border-radius: 4px;
    padding: 0 0.75rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    &:disabled

{
    opacity: 0.6;
}

}

.btn-lg-secondary {
    color: var(--button-base-clr);
    border: solid 1px #e4e4e7 !important;
    background: var(--button-secondary-clr);
    font-size: var(--fs-14);
    line-height: 1.188rem;
    font-weight: var(--fw400);
    border-radius: 4px;
    padding: 0 0.75rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    &:disabled

{
    opacity: 0.6;
}
&:hover {
    background: #f4f4f5;
}
}

.btn-lg-tertiary {
    background-color: var(--button-tertiary-clr) !important;
    color: var(--white-clr);
    font-size: var(--fs-14);
    line-height: 1.188rem;
    font-weight: var(--fw400);
    border-radius: 4px;
    padding: 0 0.75rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    &:disabled

{
    opacity: 0.6;
}

}

.link-btn {
    color: #4573d2;
    text-decoration: underline;
}

.btn-brand {
    color: #fff;
    background-color: #41A6C2 !important;
    transition: 0.3s;
    font-size: var(--fs-12);
    line-height: 1rem;
    font-weight: var(--fw400);
    border-radius: 4px;
    padding: 0 0.5rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.sidebar {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", arial, "Noto Sans", "Liberation Sans", sans-serif, "apple color emoji", "Segoe UI emoji", "Segoe UI Symbol", "Noto color emoji";
}

.sidebar-content {
    scrollbar-gutter: auto;
}

.is-opened .sidebar {
    display: flex;
    position: fixed;
}

.sidebar [data-collapse-icon]::after {
    --size: 3.5px;
    position: absolute;
    content: "";
    height: 0;
    width: 0;
    border-left: solid var(--size) transparent;
    border-right: solid var(--size) transparent;
    border-top: solid calc(var(--size) + 1.5px) #a2a0a2;
    border-bottom: solid transparent;
    top: calc(50% - 1px);
    right: calc(50% - 3px);
}

[data-sidebar-menu-item] a.active::after{
    content:"";
}

@media (min-width: 1024px) {
    .is-opened .sidebar {
        display: none;
        position: sticky;
    }
}

.sidebar.closed {
    display: none;
}

.sidebar nav {
    width: 14.375rem;
    max-width: 14.375rem;
}

/*table*/
    .common-table thead {
        background-color: #f9fafb;
        position: relative;
    }

        .common-table thead tr {
            font-size: var(--fs-14);
            color: #6d6e6f;
            text-transform: capitalize;
        }

            .common-table thead tr th {
                padding: 0.563rem;
                font-weight: var(--fw600);
            }
    .common-table tbody {
        font-size: var(--fs-12);
    }

        .common-table tbody tr {
            transition: all 0.3s ease-in-out;
        }

            .common-table tbody tr:not(:last-child) {
                border-bottom: solid 1px #e9eaed;
            }

            .common-table tbody tr:hover {
                background-color: #f9fafb;
            }

        .common-table tbody td {
            padding: 0.563rem;
        }

        .common-table tbody svg {
            height: 20px;
        }

.formula-builder textarea {
    border: none !important;
    outline: none !important;
    resize: none;
}

    .formula-builder textarea:disabled {
        background-color: #fff !important;
    }

.formula-builder .rz-textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}

[data-comment-box] textarea {
    border: none !important;
    outline: none !important;
    resize: none;
    padding: 0;
}

    [data-comment-box] textarea:focus {
        outline: none !important;
        box-shadow: none !important;
    }

[data-follow-up-option]:has([data-state=checked]), [data-option-logic]:has([data-state=checked]) {
    background: oklch(from var(--accent) l c h / 10%);
    color: oklch(from var(--accent) l c h);
    border: solid 1px oklch(from var(--accent) l c h);
}

[data-option]:has([data-state=checked]) {
    background: oklch(from var(--accent) l c h);
    color: var(--white-clr);
    border: solid 1px oklch(from var(--accent) l c h);
}

[data-editor]:has(.ql-disabled) .ql-toolbar {
    display: none;
}

[data-editor]:has(.ql-disabled) .ql-container {
    border-top: 1px solid #ccc !important;
    border-radius: 4px;
    overflow: clip;
}

.ql-editor[contenteditable="false"] {
    background-color: #f2f2f2;
    color: #77858b;
}

/*table styles syncfusion*/
[data-table] {
    border: solid 1px var(--color-sf-border-light) !important;
    border-radius: 6px !important;
}

td[data-hover="true"]:hover {
    text-decoration: underline;
}

.e-gridheader {
    border-top: none !important;
    border-radius: 6px 6px 0 0 !important;
}
.e-gridcontent {
    border-radius: 0 0 6px 6px !important;
}

[data-table] th {
    color: #6d6e6f;
    background: #f9fafb !important;
}

[data-table] td {
    font-size: var(--fs-12) !important;
}

.e-lastrowcell {
    border-bottom: none !important;
}

.e-rhandler {
    opacity: 0
}

.e-headercell:hover .e-rhandler {
    opacity: 1
}

/*table styles syncfusion end here*/

[data-avatar] {
    background: oklch(from var(--avatar-bg) l c h / 10%);
    color: oklch(from var(--avatar-bg) l c h);
}