@import "~fixed-data-table-2/dist/fixed-data-table.css";
@import "styles/common.scss";
@import "styles/datepicker.scss";
@import "components/**/*.scss";

.PhysicalReporting-container {
    /* stylelint-disable */





    .LoadingIndicator.LoadingIndicator-fullscreen {
        background-color: rgba(255, 255, 255, 0.6);
        opacity: 1;
        position: absolute;

        .LoadingIndicator-loader-dot {
            background: #9b9b9b;
            opacity: 1;
        }
    }

}

.PhysicalReporting {
    /*
	 * Legacy Workstation "indeterminate" checkbox styling
	 */
    .checkbox {
        > [type="checkbox"]:not(:checked),
        > [type="checkbox"]:checked {
            position: absolute;
            left: -9999px;

            + label {
                position: relative;
                padding-left: 25px;

                &:before,
                &:after {
                    position: absolute;
                    top: 10px;
                    margin-top: -9px;
                    left: 1px;
                    width: 16px;
                    height: 16px;
                    border-radius: 2px;
                    transition: all 0.1s linear;
                }

                &:before {
                    content: "";
                    border: 1px solid var(--gray-500);
                    background: var(--white);
                }

                &:after {
                    content: "\2713";
                    color: var(--bluejay);
                    font-weight: bold;
                    font-size: 12px;
                    padding: 1px 3px;
                    line-height: 14px;
                }

                &:hover:before {
                    border: 1px solid var(--gray-700);
                }
            }
        }

        > [type="checkbox"]:not(:checked) {
            + label:after {
                opacity: 0;
                transform: scale(0);
            }
        }

        > [type="checkbox"]:checked {
            + label:before,
            + label:hover:before {
                border: 1px solid var(--bluejay);
            }

            + label:after {
                opacity: 1;
                transform: scale(1);
            }
        }

        > [type="checkbox"]:not(:checked),
        > [type="checkbox"]:checked {
            &:disabled + label {
                cursor: not-allowed;

                &:before {
                    background-color: var(--gray-200);
                    border: 1px solid var(--gray-400);
                    color: var(--gray-400);
                    cursor: not-allowed;
                    opacity: 1;
                }

                &:after {
                    color: var(--gray-400);
                }
            }
        }

        > [type="checkbox"][data-indeterminate] {
            + label:after {
                content: "\2212";
                left: 2px;
                opacity: 1;
                transform: scale(1);
            }
        }
    }

    > .checkbox-input:not(:checked) + label.partial::after,
    .checkbox > .checkbox-input:checked + label.partial::after {
        border-bottom: 2px solid #026ead;
        border-radius: 0;
        content: " ";
        margin-left: 3px;
        margin-top: -16px;
        width: 10px;
    }
    /* stylelint-enable */
}
