.adf-unsaved-changes-dialog {
    .adf-unsaved-changes-dialog {
        &-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 16px;
            height: 24px;

            &-close-button {
                margin-right: -16px;
                margin-bottom: 2px;
            }

            &::before {
                display: none;
            }
        }

        &-content {
            padding: 0 8px 0 0;
            overflow: unset;
            color: var(--adf-secondary-modal-text-color);

            &-checkbox {
                margin-top: 20px;

                label {
                    color: var(--adf-secondary-modal-text-color);
                }
            }
        }

        &-actions {
            margin-top: 11px;
            margin-bottom: 1px;
            margin-left: 40px;
            padding: 0;
            align-items: flex-end;

            &-cancel-button {
                background-color: var(--adf-secondary-button-background);
                margin-right: 4px;
            }

            &-discard-changes-button {
                color: white;
                background-color: var(--adf-error-color);
            }

            &-cancel-button,
            &-discard-changes-button {
                height: 32px;
                display: flex;
                align-items: center;
            }
        }
    }
}
