:root {
    --collapsed-sidebar-width: 120px;
    --opened-sidebar-width: 380px;
    --header-height: 81px;
    --ar-gray-100: #f6f9fc;
    --ar-gray-200: #edf1f5;
    --ar-gray-300: #e3e9ef;
    --ar-gray-400: #d7dde2;
    --ar-gray-500: #b4bbc3;
    --ar-gray-600: #858c97;
    --ar-gray-700: #576071;
    --ar-gray-800: #434a57;
    --ar-gray-900: #121519;
    --ar-primary: #448c74;
    --ar-secondary: #edf1f5;
    --ar-success: #3fca90;
    --ar-info: #3f7fca;
    --ar-warning: #edcb50;
    --ar-danger: #ed5050;
    --ar-light: #fff;
    --ar-dark: #121519;
    --ar-primary-rgb: 68, 140, 116;
    --ar-secondary-rgb: 237, 241, 245;
    --ar-success-rgb: 63, 202, 144;
    --ar-info-rgb: 63, 127, 202;
    --ar-warning-rgb: 237, 203, 80;
    --ar-danger-rgb: 237, 80, 80;
    --ar-light-rgb: 255, 255, 255;
    --ar-dark-rgb: 18, 21, 25;
    --ar-primary-text-emphasis: #336a58;
    --ar-secondary-text-emphasis: #576071;
    --ar-success-text-emphasis: #2ea875;
    --ar-info-text-emphasis: #2e66a8;
    --ar-warning-text-emphasis: #e8bd22;
    --ar-danger-text-emphasis: #e82222;
    --ar-light-text-emphasis: #576071;
    --ar-dark-text-emphasis: #121519;
    --ar-primary-bg-subtle: #ecf4f1;
    --ar-secondary-bg-subtle: #f6f9fc;
    --ar-success-bg-subtle: #ecfaf4;
    --ar-info-bg-subtle: #ecf2fa;
    --ar-warning-bg-subtle: #fdfaee;
    --ar-danger-bg-subtle: #fdeeee;
    --ar-light-bg-subtle: #fff;
    --ar-dark-bg-subtle: #ececed;
    --ar-primary-border-subtle: #dae8e3;
    --ar-secondary-border-subtle: #edf1f5;
    --ar-success-border-subtle: #d9f4e9;
    --ar-info-border-subtle: #d9e5f4;
    --ar-warning-border-subtle: #fbf5dc;
    --ar-danger-border-subtle: #fbdcdc;
    --ar-light-border-subtle: #f6f9fc;
    --ar-dark-border-subtle: #edf1f5;
    --ar-white-rgb: 255, 255, 255;
    --ar-black-rgb: 0, 0, 0;
    --ar-font-sans-serif: "Inter", sans-serif;
    --ar-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --ar-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --ar-root-font-size: 1rem;
    --ar-body-font-family: var(--ar-font-sans-serif);
    --ar-body-font-size: 1rem;
    --ar-body-font-weight: 400;
    --ar-body-line-height: 1.5;
    --ar-body-color: #576071;
    --ar-body-color-rgb: 87, 96, 113;
    --ar-body-bg: #fff;
    --ar-body-bg-rgb: 255, 255, 255;
    --ar-emphasis-color: #000;
    --ar-emphasis-color-rgb: 0, 0, 0;
    --ar-secondary-color: #858c97;
    --ar-secondary-color-rgb: 133, 140, 151;
    --ar-secondary-bg: #edf1f5;
    --ar-secondary-bg-rgb: 237, 241, 245;
    --ar-tertiary-color: rgba(87, 96, 113, 0.5);
    --ar-tertiary-color-rgb: 87, 96, 113;
    --ar-tertiary-bg: #f6f9fc;
    --ar-tertiary-bg-rgb: 246, 249, 252;
    --ar-heading-color: var(--ar-gray-900);
    --ar-link-color: #448c74;
    --ar-link-color-rgb: 68, 140, 116;
    --ar-link-decoration: underline;
    --ar-link-hover-color: #37715d;
    --ar-link-hover-color-rgb: 55, 113, 93;
    --ar-link-hover-decoration: none;
    --ar-code-color: #e3116c;
    --ar-highlight-color: #576071;
    --ar-highlight-bg: #fff3cd;
    --ar-border-width: 1px;
    --ar-border-style: solid;
    --ar-border-color: #e3e9ef;
    --ar-border-color-translucent: rgba(0, 0, 0, 0.1);
    --ar-border-radius: 1rem;
    --ar-border-radius-sm: calc(var(--ar-border-radius) * 0.75);
    --ar-border-radius-lg: calc(var(--ar-border-radius) * 1.125);
    --ar-border-radius-xl: calc(var(--ar-border-radius) * 1.5);
    --ar-border-radius-xxl: calc(var(--ar-border-radius) * 2.25);
    --ar-border-radius-2xl: var(--ar-border-radius-xxl);
    --ar-border-radius-pill: 50rem;
    --ar-box-shadow: 0 0.4375rem 1.25rem rgba(208, 208, 196, 0.32);
    --ar-box-shadow-sm: 0 0.375rem 0.75rem -0.125rem rgba(208, 208, 196, 0.24);
    --ar-box-shadow-lg: 0 0.5rem 1.75rem -0.125rem rgba(208, 208, 196, 0.48);
    --ar-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    --ar-focus-ring-width: 0.25rem;
    --ar-focus-ring-opacity: 0.25;
    --ar-focus-ring-color: rgba(68, 140, 116, 0.25);
    --ar-form-valid-color: #3fca90;
    --ar-form-valid-border-color: #3fca90;
    --ar-form-invalid-color: #ed5050;
    --ar-form-invalid-border-color: #ed5050;
}

.light-grey-bg {
    background-color: #f4f6f9 !important;
}

.white-bg {
    background-color: white !important;
}

.border-grey-1px {
    border-bottom: 1px solid #dee2e6;
}

.no-outline {
    outline: none !important;
}

.no-box-shadow {
    box-shadow: none !important;
}

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

.align-center {
    display: flex;
    align-items: center;
}

.container-fluid.light-grey-bg {
    min-height: calc(100vh - var(--header-height));
}

.client-sidebar {
    width: var(--opened-sidebar-width);
    /* margin-top: -81px; */
    padding: 0px 0 0px 0;
    transition: margin-left .3s ease-in-out, width .3s ease-in-out;
    /* height: 100%; */
    border-right: 1px solid #dee2e6;
    overflow-y: hidden;
    max-height: calc(100vh - 90px);
}

.client-dashboard-container {
    width: calc(100% - var(--opened-sidebar-width) - 100px);
    padding-left: 50px;
    padding-right: 50px;
    margin-left: 50px;
    height: fit-content;
}

body.sidebar-collapsed .client-sidebar {
    width: var(--collapsed-sidebar-width);
}

body.sidebar-collapsed .client-dashboard-container {
    width: calc(100% - var(--collapsed-sidebar-width) - 100px);
}

body {
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"
}

.client-side-navbar {
    height: 90px;
    transition: margin-left .3s ease-in-out, width .3s ease-in-out;
    padding-left: 10px;
    padding-right: 10px;
}

.client-side-navbar.with-sidebar {
    /* width: calc(100% - var(--opened-sidebar-width)); */
    /* margin-left: var(--opened-sidebar-width); */
    width: 100%;
}

body.sidebar-collapsed .client-side-navbar.with-sidebar {
    margin-left: var(--collapsed-sidebar-width);
    width: calc(100% - var(--collapsed-sidebar-width));
}

.client-dasboard-data {
    padding-left: 0;
}

.checklist_sidebar-list {
    height: 100%;
    overflow-y: auto;
    padding-top: 10px;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-height: 100%;
    margin: 0;
}

.checklist_sidebar-list .list-group-item {
    background-color: transparent;
    color: #c2c7d0;
    border-bottom-color: white;
    padding: 13px 15px;
    border-top: none;
}

.checklist_sidebar-list .list-group-item a,
.checklist_sidebar-list .list-group-item a:hover,
.checklist_sidebar-list .list-group-item a:focus,
.checklist_sidebar-list .list-group-item a:visited {
    color: #c2c7d0;
}

.sidebar-toggler {
    gap: 3px;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
}

.sidebar-toggler .sidebar-toggler--line {
    width: 10px;
    height: 2px;
    background-color: black;
}

.checklist_sidebar-item--info {
    font-size: 0.85rem;
}

.checklist_sidebar-item--data {
    display: flex;
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}

.checklist_sidebar-item--title {
    font-size: 1rem;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    gap: 5px;
}

.checklist_sidebar-item--icon {
    width: 20px;
    height: 20px;
}

.client-side-navbar--left_part {
    /* position: absolute; */
    left: 20px;
    top: 50%;
    /* transform: translateY(-50%); */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.client-side-navbar--left_part a,
.client-side-navbar--left_part a:focus,
.client-side-navbar--left_part a:visited,
.client-side-navbar--left_part a:hover {
    color: black;
    text-decoration: none;
}

.completion-progress-block {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: white;
    font-weight: 400;
    height: 80px;
    min-height: 80px;
    border-bottom: none;
    line-height: 1;
    gap: 10px;
}

.checklist_sidebar--logo-sm {
    width: 33px;
    height: 33px;
    border-radius: 50%;
}

body.sidebar-collapsed .checklist_sidebar-item--title span,
body.sidebar-collapsed .step-body {
    display: none;
}

body.sidebar-collapsed .step {
    margin-left: 50%;
    transform: translateX(-50%);
}


body.sidebar-collapsed .checklist_sidebar-item--title {
    justify-content: center;
}

body.sidebar-collapsed .completion-progress-block span {
    display: none;
}

.delete-from-formset-btn {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
    vertical-align: middle;
    padding-top: 2px;
}

.modal-title {
    margin-left: 50%;
    transform: translateX(-50%);
}

.form-select,
.form-control {
    padding-top: 0.175rem;
    padding-bottom: 0.175rem;
}

.auth {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.alert-error {
    background-color: #f8d7da;
    color: #842029;
    border-color: #f5c2c7;
    padding: 10px;
}

.alert-error {
    margin-top: 10px;
}

.integration-connected {
    color: cyan;
}

small.text-muted p {
    margin-bottom: 0;
}

.select2-selection__choice__display {
    color: black;
}

.button-toggle {
    position: relative;
    top: 50%;
    width: 65px;
    height: 36px;
}

.button-toggle.r,
.button-toggle.r .layer {
    border-radius: 100px;
}

.button-toggle.b2 {
    border-radius: 2px;
}

.button-toggle-checkbox {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.knobs {
    z-index: 2;
    position: absolute;
    top: 4px;
}

.layer {
    width: 100%;
    transition: 0.3s ease all;
    position: absolute;
    height: 30px;
    top: 3px;
    z-index: 1;
}

#freeModeSwitch--container .layer {
    background-color: #58d14f;
}

#debugModeSwitch--container .layer {
    background-color: #ffc107;
}

.button-toggle .knobs:before {
    content: "ON";
    position: absolute;
    top: 3px;
    left: 5px;
    width: 35px;
    height: 22px;
    color: black;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    background-color: white;
    border-radius: 22px;
    padding-top: 6px;
    font-weight: 800;
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
}

.button-toggle .button-toggle-checkbox:not(:checked)+.knobs:before {
    content: "OFF";
    left: 25px;
    color: grey;
}

.button-toggle .button-toggle-checkbox:not(:checked)~.layer {
    background-color: grey !important;
}

.button-toggle .button-toggle-checkbox:disabled~.layer {
    background-color: grey !important;
}

.button-toggle .button-toggle-checkbox:disabled+.knobs:before {
    content: "OFF";
    left: 25px;
    color: grey;
}

.button-toggle .knobs,
.button-toggle .knobs:before,
.button-toggle .layer {
    transition: 0.3s ease all;
}

.container-fluid.no-gutters {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.form-sidebar {
    display: flex;
    flex-direction: column;
    min-width: 500px;
    max-width: 500px;
    max-height: 100%;
    padding-top: 2rem;
    position: fixed;
    left: 0;
    top: 90px;
    height: 100vh;
    align-self: center;
}

.form-sidebar--loader {
    width: 50px;
    height: 50px;
    max-width: 50px;
}

.bool-hidden {
    display: none;
}

#form-sidebar--content .section-opener {
    cursor: pointer;
}

.auth-cover {
    right: 0px;
}

@media (max-width: 991px) {
    .auth-cover {
        display: none;
    }
}

.btn-check:focus+.btn,
.btn:focus {
    background-color: var(--ar-btn-bg);
    color: var(--ar-btn-color);
}

a:hover {
    color: rgba(var(--ar-link-color-rgb), var(--ar-link-opacity, 1));
}

.pincode-input-container input.mid:focus,
.pincode-input-container input.last:focus {
    border-left-width: 1px;
}

.btn.btn-outline-primary:focus,
.btn.btn-outline-danger:focus,
.btn.btn-outline-success:focus,
.btn.btn-outline-warning:focus {
    color: var(--ar-btn-hover-color);
    background-color: var(--ar-btn-hover-bg);
    border-color: var(--ar-btn-border-color);
}

.btn-success {
    --ar-btn-hover-color: #fff;
    --ar-btn-active-color: #fff;
    --ar-btn-hover-bg: #31b07b;
    --ar-btn-active-bg: #31b07b;
    --ar-btn-hover-border-color: #31b07b;
    --ar-btn-active-border-color: #31b07b;
    --ar-btn-disabled-color: #fff;
    --ar-btn-border-color: #3fca90;
    --ar-btn-bg: #3fca90;
}

.btn-primary {
    --ar-btn-color: #fff;
    --ar-btn-bg: #448c74;
    --ar-btn-border-color: #448c74;
    --ar-btn-hover-color: #fff;
    --ar-btn-hover-bg: #3a7763;
    --ar-btn-hover-border-color: #36705d;
    --ar-btn-focus-shadow-rgb: 96, 157, 137;
    --ar-btn-active-color: #fff;
    --ar-btn-active-bg: #36705d;
    --ar-btn-active-border-color: #336957;
    --ar-btn-active-shadow: unset;
    --ar-btn-disabled-color: #fff;
    --ar-btn-disabled-bg: #448c74;
    --ar-btn-disabled-border-color: #448c74;
}

.btn-primary.btn-primary-reverse {
    --ar-btn-color: #fff;
    --ar-btn-bg: #448c74;
    --ar-btn-border-color: #448c74;
    --ar-btn-hover-color: #3a7763;
    --ar-btn-hover-bg: #fff;
    --ar-btn-hover-border-color: #36705d;
    --ar-btn-focus-shadow-rgb: 96, 157, 137;
    --ar-btn-active-color: #fff;
    --ar-btn-active-bg: #36705d;
    /* --ar-btn-active-color: #36705d; */
    /* --ar-btn-active-bg: #fff; */
    --ar-btn-active-border-color: #336957;
    --ar-btn-active-shadow: unset;
    --ar-btn-disabled-color: #fff;
    --ar-btn-disabled-bg: #448c74;
    --ar-btn-disabled-border-color: #448c74;
}

.btn-danger {
    --ar-btn-hover-color: #fff;
    --ar-btn-active-color: #fff;
    --ar-btn-hover-bg: #e92b2b;
    --ar-btn-active-bg: #e92b2b;
    --ar-btn-hover-border-color: #e92b2b;
    --ar-btn-active-border-color: #e92b2b;
    --ar-btn-disabled-color: #fff;
    --ar-btn-border-color: #ed5050;
    --ar-btn-bg: #ed5050;
}

.btn-warning {
    --ar-btn-hover-color: #fff;
    --ar-btn-active-color: #fff;
    --ar-btn-hover-bg: #e9c02b;
    --ar-btn-active-bg: #e9c02b;
    --ar-btn-hover-border-color: #e9c02b;
    --ar-btn-active-border-color: #e9c02b;
    --ar-btn-disabled-color: #fff;
    --ar-btn-border-color: #edcb50;
    --ar-btn-bg: #edcb50;
}

.btn-info {
    --ar-btn-hover-color: #fff;
    --ar-btn-active-color: #fff;
    --ar-btn-hover-bg: #316bb0;
    --ar-btn-active-bg: #316bb0;
    --ar-btn-hover-border-color: #316bb0;
    --ar-btn-active-border-color: #316bb0;
    --ar-btn-disabled-color: #fff;
    --ar-btn-border-color: #3f7fca;
    --ar-btn-bg: #3f7fca;
}

.select2.select2-container.select2-container--default.select2-container--below {
    width: 100% !important;
}

input:-internal-autofill-selected,
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-background-clip: text;
    background-color: white;
    color: var(--ar-gray-700);
}

.confirmation-tooltip {
    position: absolute;
    top: -84px;
    left: -50%;
    transform: translateX(15%);
    background-color: #343a40;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
    display: none;
    transition: all 0.5s;
    text-align: center;
}

.confirmation-tooltip.shown {
    display: block;
}

#submit-btn-wrapper {
    position: relative;
}

#submit-btn-overlay {
    width: 172px;
    height: 48px;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    cursor: pointer;
}

.form-control:not(.flatpickr-input)[readonly] {
    background: #eee !important;
    pointer-events: none !important;
    touch-action: none !important;
    background-color: #eee !important;
}

.form-control:not(.flatpickr-input)[readonly]:focus {
    outline: none !important;
    border: none !important;
}

.form-select {
    font-size: 16px;
}

.control-label {
    font-size: 16px;
}

.helptext-message p:last-child {
    margin-bottom: 0;
}

#form-fields>.p-2.section-item-container>div>.input-group-sm.flex-column.mb-3 {
    margin-bottom: 0 !important;
}

.step-number-inner {
    background-color: var(--ar-steps-active-number-bg);
}

.step-title {
    font-size: 16px;
    font-weight: 600;
}

.step-description {
    font-size: 14px;
    font-weight: 400;
}

.step-number {
    --ar-steps-number-size: 40px;
}

.step-number-inner {
    --ar-steps-number-inner-size: 30px;
}

.section-opener {
    padding: 10px 10px;
}

.section-opener.selected-form-sidebar-item {
    width: calc(100%);
    /* border: 1px solid lightgrey; */
    padding: 10px 10px;
    /* margin-left: -9px; */
    background-color: #d7e5f7;
    border-radius: 12px;
}

li .section-opener.selected-form-sidebar-item {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

li {
    position: relative;
}

li:has(div.section-opener.selected-form-sidebar-item):before {
    content: "";
    position: absolute;
    left: -32px;
    width: 34px;
    background-color: #d7e5f7;
    height: 100%;
    /* border: 1px solid lightgrey; */
    border-radius: 12px;
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    z-index: -1;
}

div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover {
    background-image: none !important;
}

div:where(.swal2-container) .swal2-html-container {
    color: rgb(87, 96, 113) !important;
    font-size: 16px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    color: black;
}

#ata-form input[type='checkbox'] {
    margin-right: 5px;
    margin-top: 5px;
    float: left;
}

.step .step-number-inner {
    background-color: #c3ddff;
}

.step.active .step-number-inner {
    background-color: var(--ar-steps-active-number-inner-bg);
}

.step .step-title {
    color: #2E66A8;
}

.step.active .step-title {
    color: var(--ar-steps-active-number-inner-bg);
}

.back-button-container {
    /* position: absolute; */
    /* bottom: 0; */
    /* left: 0; */
}

#backBtn {
    width: 150px;
    height: 40px;
    /* position: absolute; */
    background-color: white;
    z-index: 9999999999999999;
    top: 0;
    left: 0;
    /* border-bottom-left-radius: 12px; */
    /* border-bottom-right-radius: 12px; */
    border-radius: 12px;
    border: 1px solid lightgrey;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.border-green {
    border: 1px solid #448c74 !important;
}

@media (max-width: 1600px) {
    .client-side-navbar .nav-link {
        font-size: 14px;
        padding: 8px !important;
    }
}

@media (max-width: 1369px) {
    div#form-sidebar {
        padding: 1rem 1rem !important;
        max-width: 400px;
        min-width: 400px;
    }

    #data-capture-form--container {
        margin-left: 420px !important;
        width: calc(100% - 420px) !important;
    }

    #backBtn {
        width: 82px;
    }

    .client-side-navbar .nav-link {
        font-size: 14px;
        padding: 5px !important;
    }
}

.show-on-mobile {
    display: none;
}

#header-menu {
    position: absolute;
    width: calc(100% + 10px);
    top: calc(100%);
    background-color: white;
    left: -10px;
    padding: 20px;
    height: calc(100vh - 75px);
    gap: 15px;
}

#data-capture-form {
    height: fit-content;
    max-width: 80%;
    min-width: 770px;
}

.upcoming-page {
    display: flex;
}

@media (max-width: 800px) {
    .hide-on-mobile {
        display: none !important;
    }

    .show-on-mobile {
        display: flex !important;
    }

    .client-dashboard-container {
        width: 100%;
        margin-left: 0;
        padding-left: 20px;
        padding-right: 20px;
    }

    #data-capture-form {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
        min-width: unset;
        max-width: 100%;
    }

    #data-capture-form h1 {
        font-size: 25px;
    }

    #data-capture-form h2 {
        font-size: 18px;
    }

    #data-capture-form h5 {
        font-size: 16px;
    }

    #data-capture-form h6 {
        font-size: 14px;
    }

    #data-capture-form .helptext-message {
        font-size: 13px;
        max-width: 100%;
        width: 100%;
        word-break: break-word;
    }

    #data-capture-form--container {
        margin-left: 0 !important;
        width: 100% !important;

    }

    #data-capture-form .fs-lg.mb-1 {
        font-size: 15px !important;
    }

    #data-capture-form #checkboxes .form-check-label {
        font-size: 14px !important;
    }

    .list-page.container-fluid.pt-4 {
        padding: 0 !important;
    }

    .list-page .container-sm {
        padding: 0 !important;
    }

    .list-page .card {
        padding: 20px !important;
    }

    .faq-container {
        width: 100% !important;
    }

    .upcoming-page {
        display: unset !important;
    }
}